JP2016194735A - Information acquisition device - Google Patents
Information acquisition device Download PDFInfo
- Publication number
- JP2016194735A JP2016194735A JP2013182196A JP2013182196A JP2016194735A JP 2016194735 A JP2016194735 A JP 2016194735A JP 2013182196 A JP2013182196 A JP 2013182196A JP 2013182196 A JP2013182196 A JP 2013182196A JP 2016194735 A JP2016194735 A JP 2016194735A
- Authority
- JP
- Japan
- Prior art keywords
- file
- data source
- information acquisition
- information
- mashup
- 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
Links
- 238000000034 method Methods 0.000 claims abstract description 17
- 238000012545 processing Methods 0.000 claims description 30
- 238000012217 deletion Methods 0.000 claims description 19
- 230000037430 deletion Effects 0.000 claims description 19
- 230000005540 biological transmission Effects 0.000 abstract description 10
- 238000004891 communication Methods 0.000 description 29
- 230000015654 memory Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 3
- 239000000470 constituent Substances 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000004308 accommodation Effects 0.000 description 1
- 239000008186 active pharmaceutical agent Substances 0.000 description 1
- 238000010411 cooking Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000007500 overflow downdraw method Methods 0.000 description 1
- 239000000344 soap Substances 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 230000000153 supplemental effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/12—Hotels or restaurants
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/332—Query formulation
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Health & Medical Sciences (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Mathematical Physics (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- General Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
この発明は、携帯端末やサーバといった情報取得装置を経由して情報を取得し、それらの情報を組み合わせてユーザに提供する情報取得装置に関するものである。 The present invention relates to an information acquisition device that acquires information via an information acquisition device such as a portable terminal or a server, and provides the user with a combination of such information.
近年、インターネット上で公開されている情報やローカルデータを組み合わせて新たな情報を作成する(以降、マッシュアップという)サービスが広く提供されている。インターネット上で公開されている情報はAPI(Application Programming Interface)やライブラリによって公開されている。これらのAPIやライブラリは、サービス毎に提供形式が異なる。例えば、飲食店検索サービスや宿泊施設検索サービスで提供されている情報を、XML(eXtensible Mashup Language)やJSON(Javascript(登録商標) Object Notation)などのデータ形式で提供しているAPIがある。一方、Google Maps(登録商標)のように地図上に地物を表示する操作や地図の種別を変更する操作をAPIやライブラリで提供しているものがある。 In recent years, services that create new information (hereinafter referred to as mashup) by combining information published on the Internet and local data have been widely provided. Information published on the Internet is published by API (Application Programming Interface) and libraries. These APIs and libraries are provided in different formats for each service. For example, there is an API that provides information provided by a restaurant search service or an accommodation facility search service in a data format such as XML (extensible Maskup Language) or JSON (Javascript (registered trademark) Object Notification). On the other hand, there is an API or library that provides an operation for displaying a feature on a map or an operation for changing a map type, such as Google Map (registered trademark).
これらの情報を組み合わせることで、ユーザは容易に独自のWEBサービスやアプリケーションを作成することができる。例えば、Google(登録商標)が提供している地図APIと航空機の飛行状況をマッシュアップしたWebサービスを作成するといったことができる。またマッシュアップアプリは、タクシーの配車サービスにも利用されており、ビジネスでも利用されている。 By combining these pieces of information, the user can easily create a unique WEB service or application. For example, it is possible to create a web service that mashups the map API provided by Google (registered trademark) and the flight status of the aircraft. The mashup app is also used for taxi dispatch services and for business.
例えば、特許文献1では、タクシーの配車サービスなどで情報を配信する際の個別情報配信に関する技術が開示されており、ユーザにデータを配信する基準を記憶する装置と、その基準を処理する装置を用いることで、ユーザが必要とする情報のみを提供することを実現している。これにより、ユーザに対して不必要な情報(例えば、すでに他のユーザを乗せたタクシーの情報など)を配信することのない、配車サービスを提供することができる。
For example,
また、特許文献2ではWebアプリにおける融合方法についての技術が開示されており、ユーザとの通信でのやり取りをもって、Webアプリ上でアクセスされなかった表示要素を判定し、その要素を取り除いたWebアプリとなるように変更することを実現している。これらの技術を組み合わせることにより、ユーザ個々に対応したマッシュアップアプリケーションやマッシュアップWebアプリを提供している。
しかしながら、上記従来の情報取得装置では、サーバなどの情報取得先の情報の追加・削除する際には、各サーバからの情報を解析する部分を大きく変更しなければならず、開発コストが増加するという課題があった。
また、従来の情報取得装置ではユーザは取得情報の選択をすることができず、予め定められた情報を入手することしかできないため、ユーザが必要とする情報を入手することが困難であるという課題があった。
However, in the above-described conventional information acquisition apparatus, when adding / deleting information of an information acquisition destination such as a server, a part for analyzing information from each server has to be largely changed, which increases development cost. There was a problem.
Further, in the conventional information acquisition apparatus, the user cannot select acquisition information and can only acquire predetermined information, and thus it is difficult to acquire information required by the user. was there.
この発明は上記のような課題を解決するためになされたもので、情報取得先の変更にも柔軟に対処できると共に、ユーザが必要とする情報の入手を容易に行うことができる情報取得装置を得ることを目的とする。 The present invention has been made to solve the above-described problems, and provides an information acquisition device that can flexibly cope with a change in information acquisition destination and can easily acquire information required by a user. The purpose is to obtain.
この発明に係る情報取得装置は、ユーザ端末から要求されるサービスに応じて情報取得先から情報を取得し、取得した情報に対してサービスに応じた加工処理を行ってユーザ端末に応答する情報取得装置であって、情報取得先とサービスとの関係を設定するデータソース設定ファイルと、データソース設定ファイルの情報を用いて情報取得先から情報を取得する情報取得部と、情報取得部が取得した情報のサービスに対応した加工仕様を設定するマッシュアップテンプレートファイルと、マッシュアップテンプレートファイルの情報を用いて情報取得先から取得した情報を加工し、ユーザ端末に応答するためのマッシュアップファイルを作成するマッシュアップファイル作成部とを備えたものである。 The information acquisition apparatus according to the present invention acquires information from an information acquisition destination in accordance with a service requested from a user terminal, performs information processing on the acquired information in response to the service, and responds to the user terminal A data source setting file that sets a relationship between an information acquisition destination and a service, an information acquisition unit that acquires information from the information acquisition destination using information in the data source setting file, and an information acquisition unit A mashup template file that sets the processing specifications corresponding to the information service and the information acquired from the information acquisition source using the information of the mashup template file, and creates a mashup file for responding to the user terminal And a mashup file creation unit.
この発明の情報取得装置は、情報取得先とサービスとの関係を設定するデータソース設定ファイルと、情報取得部が取得した情報のサービスに対応した加工仕様を設定するマッシュアップテンプレートファイルとを備え、これらのファイルに基づいてユーザへのマッシュアップファイルを作成するようにしたので、情報取得先の変更にも柔軟に対処できると共に、ユーザが必要とする情報の入手を容易に行うことができる。 The information acquisition device of the present invention includes a data source setting file that sets a relationship between an information acquisition destination and a service, and a mashup template file that sets a processing specification corresponding to the information service acquired by the information acquisition unit, Since the mashup file for the user is created based on these files, it is possible to flexibly cope with the change of the information acquisition destination, and it is possible to easily obtain the information required by the user.
実施の形態1.
図1は、この発明の実施の形態1による情報取得装置を示す構成図である。また、図2は、この発明の情報取得装置を適用した情報取得システムにおける各部のハードウェア構成図である。
FIG. 1 is a block diagram showing an information acquisition apparatus according to
図1において、情報取得装置は、データソース設定ファイル1、マッシュアップテンプレートファイル2、設定ファイル解析部3、情報取得部4、ユーザ送信用マッシュアップファイル作成部5、通信部6、設定ファイル管理部7、管理構造ファイル8、情報取得先9、端末10を備えている。
In FIG. 1, the information acquisition apparatus includes a data
データソース設定ファイル1は、情報取得先9とユーザから要求されるサービスとの関係を設定するファイルであり、図3にその一例を示している。図3に示すデータソース設定ファイル1は、1列目にはサービスの名称が記述されており、2列目には3列目に記述されている情報取得手段に対応するIDが記述されている。3列目以降には後述するユーザ情報に記述されているService変数に対応した情報取得手段が記述されている。
マッシュアップテンプレートファイル2は、情報取得部4が取得した情報のサービスに対応した加工仕様を設定するファイルであり、図4にその一例を示す。図4に示すマッシュアップテンプレートファイル2は、Getタグで括られたタグの情報、店舗名、店舗名の読み方、住所、緯度、経度、電話番号、休日、営業時間、お店キャッチ、点数(総合評価)、料理・味の点数、雰囲気の点数といった情報を取得すると定義されている。Getタグ内で指定された情報はユーザまたは第三者が指定し、マッシュアップテンプレートファイル2を作成することができる。
The data
The
設定ファイル解析部3は、データソース設定ファイル1やマッシュアップテンプレートファイル2を解析し、所望の情報を抽出する処理部である。情報取得部4は、設定ファイル解析部3で解析されたデータソース設定ファイル1からのリクエストメッセージフォーマットに従って情報取得先9に情報取得要求を送信し、情報を取得する処理部である。ユーザ送信用マッシュアップファイル作成部5は、情報取得部4で取得された情報をマッシュアップテンプレートファイル2に記述されている加工仕様に基づいて加工し、新たな情報を作成する処理部である。通信部6は、端末10との通信処理を行う処理部である。設定ファイル管理部7は、管理構造ファイル8における各管理構造に基づいて、データソース設定ファイル1やマッシュアップテンプレートファイル2の管理を行う処理部である。管理構造ファイル8は、データソース設定ファイル1を管理するデータソース管理構造、マッシュアップテンプレートファイル2を管理するマッシュアップテンプレートファイル管理構造、ユーザ情報を管理するユーザ情報管理構造といった各種の管理構造を格納するファイルである。情報取得先9は、端末10が要求するサービスに対応した各種の情報を保持する装置である。端末10は、情報取得装置のユーザや第三者が使用する端末であり、情報取得装置に対して情報取得要求を行うと共に、データソース設定ファイル1やマッシュアップテンプレートファイル2の追加、削除といった処理を行うための端末である。
The setting
次に、図2に示す情報取得システムについて説明する。
図2に示す情報取得システムは、ユーザ端末100、情報取得装置200、サーバ300a,300b、ネットワーク400を備えている。ユーザ端末100は、図1における端末10に相当するものであり、マウス101、キーボード102、表示部103、入出力インタフェース(I/F)104、CPU105、メモリ106、外部記憶装置107、通信インタフェース(I/F)108を備えている。マウス101およびキーボード102は、ユーザ端末100における入力装置であり、表示部103はユーザ端末100の表示装置である。入出力インタフェース104は、マウス101〜表示部103のインタフェースである。CPU105は、ユーザ端末100の制御を司るプロセッサ、メモリ106は、各種のデータを記憶すると共に、CPU105の作業領域を構成するRAM等からなる記憶部である。外部記憶装置107は、ユーザ情報やユーザ端末100における各種の情報を格納するためのハードディスク装置といった記憶装置である。通信インタフェース108は、ユーザ端末100がネットワーク400に接続するための通信制御を行うためのインタフェースである。
Next, the information acquisition system shown in FIG. 2 will be described.
The information acquisition system illustrated in FIG. 2 includes a
情報取得装置200は、図1におけるデータソース設定ファイル1〜管理構造ファイル8を構成する装置であり、CPU201、メモリ202、外部記憶装置203、通信インタフェース(I/F)204、外部機器接続部205を備えている。CPU201は情報取得装置200の制御を司るプロセッサ、メモリ202は、RAM等の半導体メモリである。外部記憶装置203は、ハードディスク装置等の記憶装置であり、図1におけるデータソース設定ファイル1やマッシュアップテンプレートファイル2を格納する。また、外部記憶装置203には、図1における設定ファイル解析部3、情報取得部4、設定ファイル管理部7のそれぞれに対応したプログラムが格納され、これらプログラムがメモリ202に読み込まれ、CPU201によって実行されることでこれらの機能部が実現されている。通信インタフェース204は、情報取得装置200をネットワーク400に接続するための通信制御を行うインタフェースである。外部機器接続部205は、USB接続やBluetooth(登録商標)といった情報取得装置200に対する外部機器を接続するためのインタフェースである。また、これら通信インタフェース204及び外部機器接続部205は、図1における通信部6に相当するものである。
The
サーバ300a,300bは、それぞれ図1における情報取得先9に相当する装置であり、CPU301a,301b、メモリ302a,302b、外部記憶装置303a,303b、通信インタフェース(I/F)304a,304bを備えている。CPU301a,301bは、各サーバ300a,300bの制御を司るプロセッサであり、メモリ302a,302bはRAM等の半導体メモリである。外部記憶装置303a,303bは、各種の情報を記憶するためのハードディスク装置等の記憶装置である。通信インタフェース304a,304bは、それぞれのサーバ300a,300bをネットワーク400に接続するための通信制御を行う通信制御部である。このように構成された情報取得装置200では、各種の情報が外部記憶装置303a,303bに格納され、情報取得装置200からの情報取得要求があった場合は、CPU301a,301bがこれらの外部記憶装置303a,303bから情報を読み出し、通信インタフェース304a,304bを介して情報取得装置200に送信するよう構成されている。
ネットワーク400は、ユーザ端末100と情報取得装置200とサーバ300a,300bとを相互に接続するための通信ネットワークである。
The
The
次に、情報取得装置の動作について説明する。図5は、ユーザ端末100からの要求を受信してからユーザ送信用マッシュアップファイルを作成するまでの動作を示すフローチャートである。
情報取得装置200がネットワーク400を介してユーザ端末100からユーザ情報を受信する(ステップST101)。ユーザ情報は、例えば図6に示すような情報を有している。図6に示すユーザ情報では、1列目に変数名、2列目に変数の説明、3列目に変数の値の例が記述されている。ユーザ情報は、現在のユーザの位置座標の緯度を示すmyLatitude変数や、経度を示すmyLongitude変数、ユーザが利用要求を出しているサービスを示すService変数、ストリートビューなどの画像データを取得する際に利用する回転方法を示すRotation変数、ユーザ名を示すUserName変数といった情報を有している。
Next, the operation of the information acquisition device will be described. FIG. 5 is a flowchart showing an operation from reception of a request from the
The
ユーザ端末100では、例えば外部記憶装置107に記憶されているユーザ情報をCPU105がメモリ106に読み込み、通信インタフェース108を利用し、情報取得装置200にユーザ情報を送信する。
ユーザ端末100と情報取得装置200との通信プロトコルは、例えばSOAP/XML等を利用する。このような通信方式で、ユーザ端末100が持つ情報(例えば住所や検索履歴、現在時刻)を送信することができる。
In the
The communication protocol between the
情報取得装置200では、通信インタフェース204(または外部機器接続部205)を介してユーザ端末100から送信されるユーザ情報を受信する。これにより、図1における設定ファイル管理部7は、ユーザ情報管理構造を管理構造ファイル8から読み込み、ユーザ情報が過去に利用されたものかどうか判別する。すなわち、ユーザ情報を過去の情報と照らし合わせ、ユーザ情報管理構造に登録されているユーザ情報から、ユーザ情報に関するユーザ情報を抽出し、過去に利用されている場合は既に保存されているユーザ情報に追加し、新規である場合はユーザ情報をユーザ情報管理構造に登録する。
The
図7にユーザ情報管理構造例を示す。1列目にはユーザ名が記述され、2列目には追加日時、3列目には最終利用日時、4列目には最終利用サービス、4列目には最後に利用したときの位置座標が記述されている。図7では、guestというユーザが2013/01/01に新規登録され、最後に利用したサービスはGourmetSearch(飲食店検索サービス)であり、最終利用日時は2013/02/02であり、最終利用場所は、緯度35.6785783、経度139.7649684であるといった情報が管理されている。これらの情報は、セキュリティやユーザが利用するサービスに利用される。 FIG. 7 shows an example of a user information management structure. The first column describes the user name, the second column is the date and time of addition, the third column is the last use date and time, the fourth column is the last use service, and the fourth column is the position coordinate when last used. Is described. In FIG. 7, a user named guest is newly registered on 2013/01/01, the last service used is GourmetSearch (restaurant search service), the last use date is 2013/02/02, and the last use place is , Latitude 35.6785783 and longitude 139.7646844 are managed. These pieces of information are used for security and services used by users.
また、設定ファイル管理部7は、管理構造ファイル8よりデータソース管理構造を読み込む。図8にデータソース管理構造の一例を示す。図8の1列目には、データソース設定ファイル名が記述されており、2列目には1列目に記述したデータソース設定ファイルを利用するサービスのIDが記述されている。3列目には追加日時、4列目にはデータソース設定ファイル1のファイルフォーマットが記述されている。
設定ファイル管理部7は、データソース管理構造とユーザ情報から取得するサービス種別を抽出し、データソース設定ファイル1の中から対応するものを読み込む(ステップST102)。選択されるデータソース設定ファイル1は、図6に示すユーザ情報のService変数によって決定される。また、ステップST102において、設定ファイル管理部7は、ユーザ情報に基づいて、マッシュアップテンプレートファイル2を選択する。
The setting
The setting
次に、設定ファイル解析部3では、設定ファイル管理部7で読み込まれたデータソース設定ファイル1の解析を行い、データソース設定ファイル1に記述されているリクエストメッセージフォーマットを抽出する(ステップST103)。
情報取得部4では、設定ファイル解析部3で抽出したリクエストメッセージフォーマットのパラメータ情報を、ユーザ情報と、既に取得済みである図示しない取得情報ファイルを用いて補い、リクエストメッセージを作成する(ステップST104)。パラメータの補足部分は予めデータソース設定ファイル1に定義されている。作成したリクエストメッセージを情報取得先9であるサーバ300a,300bに送信し(ステップST105)、情報取得装置200は各サーバ300a,300bから情報を取得し(ステップST106)、これを解析する(ステップST107)。
また、設定ファイル解析部3は、ステップST102で読み込まれたマッシュアップテンプレートファイル2の解析を行い、ユーザ送信用マッシュアップファイル作成部5での加工仕様を決定する(ステップST108)。なお。このステップST108の処理は、ステップST103におけるデータソース設定ファイル1の解析と同時に行う、といったように、任意のタイミングで行っても良い。
Next, the setting
The
The setting
情報取得部4で取得された情報は、ユーザ送信用マッシュアップファイル作成部5において加工される(ステップST109)。加工仕様はマッシュアップテンプレートファイル2に記述されている。加工仕様は取得情報が所定のタグを含んでいた場合、その情報を抽出する処理と、抽出した情報を組み合わせて新たな情報を作成するための処理が記述されている。情報取得装置200は、加工済みの取得情報ファイルを外部記憶装置203及びメモリ202に保存する。
The information acquired by the
ユーザ送信用マッシュアップファイル作成部5では、加工済みの取得情報ファイルとマッシュアップテンプレートファイル2に従い、ユーザ送信用マッシュアップファイルを作成する(ステップST110)。作成されたユーザ送信用マッシュアップファイルは通信部6によって端末10に送信される。
The user transmission mashup
データソース設定ファイル1とマッシュアップテンプレートファイル2は、ユーザ・管理者に問わず変更可能である。これらのファイルの変更は、情報取得装置200が持つ通信インタフェース204や外部機器接続部205を利用して情報の受け渡しを行い、更新する方法等を利用する。
The data
新しく情報取得先の情報を追加する際の処理例を説明する。最初に情報取得先の管理者またはユーザが、データソース設定ファイル1を作成する。例えば図3のようなデータソース設定ファイル1を作成する。データソース設定ファイル作成者は、データソース設定ファイル1を情報取得装置200に送信する。図3に示す例の場合、1列目にはサービスの名称が記述されており、2列目には3列目に記述されている情報取得手段に対応するIDが記述されている。3列目以降には図6に記述されているService変数に対応した情報取得手段が記述されている。
An example of processing when adding new information acquisition destination information will be described. First, the administrator or user of the information acquisition destination creates the data
情報取得装置200は、データソース設定ファイル1を通信インタフェース204(または外部機器接続部205)で受信し、データソース設定ファイル1を設定ファイル管理部7に入力する。設定ファイル管理部7ではユーザ情報管理構造及びデータソース管理構造を読み込む。データソース管理構造から、データソース設定ファイル1が既に登録してあるデータソース設定ファイル1であるかをデータソース設定ファイル名と作成者名(図8では図示省略している)で判定し、新規であればデータソース設計ファイル1の新規登録をユーザ管理構造及びデータソース管理構造に記憶させ、追加である場合は、差分を取り追加分を書き加える。図9にこのような設定ファイルの削除・追加のフローチャートを示す。
The
先ず、追加するデータソース設定ファイル1またはユーザからの削除命令が記述されたファイルといった設定ファイルを受信する(ステップST201)。次に、設定ファイル管理部7は、データソース管理構造を用いて対応するデータソース設定ファイル1の有無を確認し、既にデータソース設定ファイル1が存在する場合、そのデータソース設定ファイル1を選択する処理を行う(ステップST202)。ユーザから削除要求があった場合で、対応するデータソース設定ファイル1が存在しない場合は、ユーザに対して存在しなかったファイル名を記載したエラー通知ファイルを送信する。
First, a setting file such as a data
データソース設定ファイル1の追加を行う場合、既存のデータソース設定ファイル1との差分を抽出する。削除する場合は、データソース設定ファイル1の名称及び作成者名を抽出する(ステップST203)。
次に、設定ファイル管理部7は、ステップST203の解析結果より、設定ファイルの追加・削除を実行する(ステップST204)。追加の場合で、既存のデータソース設定ファイル1が存在する場合、そのデータソース設定ファイル1に差分を追加する。既存のデータソース設定ファイル1が存在しない場合、そのまま保存する。追加終了後、設定ファイル管理構造に追加設定ファイル情報を追加する。削除の場合は、ステップST203の解析結果のデータソース設定ファイル1名と作者名を用いて、データソース管理構造からファイルを削除し、保存されているデータソース設定ファイル1も削除する。
When the data
Next, the setting
対象となる設定ファイルの変更処理が終了すると、すべてのユーザからの追加・削除要求を処理し終えているかどうかの判定を行い(ステップST205)、処理し終えている場合は設定ファイルの削除・追加処理を終了し、まだ、全てのユーザからの処理が終了していない場合は、ステップST202に戻って次の設定ファイルを選択する。 When the change processing of the target setting file is completed, it is determined whether the addition / deletion request from all users has been processed (step ST205). If the processing has been completed, the setting file is deleted / added. When the process is finished and the processes from all users have not been finished yet, the process returns to step ST202 to select the next setting file.
次に、マッシュアップテンプレートファイル2を追加する例について説明する。ユーザまたは第三者(マッシュアップテンプレートファイル2の管理者)が作成したマッシュアップテンプレートファイル2を情報取得装置200に送信する。情報取得装置200はマッシュアップテンプレートファイル2を通信部6を介して設定ファイル管理部7に入力する。
設定ファイル管理部7は、管理構造ファイル8からユーザ情報管理構造及びマッシュアップテンプレートファイル管理構造を読み込む。図10にマッシュアップテンプレートファイル管理構造を示す。1列目にはマッシュアップテンプレートファイル名が記述されている。2列目には管理者名が記述されている。1列目のファイル名と2列目の管理者名が検索キーとなる。3列目には追加日時が記述されている。4列目には、1列目のマッシュアップテンプレートファイルのファイルフォーマットが記述されている。
Next, an example of adding the
The setting
設定ファイル管理部7は、マッシュアップテンプレートファイル管理構造内に追加しようとしているマッシュアップテンプレートファイル2が存在するかどうかを、マッシュアップテンプレートファイル名と管理者名で判定し、存在しない場合、マッシュアップテンプレートファイル名と管理者名をマッシュアップテンプレートファイル管理構造に追加する。また、受信したマッシュアップテンプレートファイル2を保存する。マッシュアップテンプレートファイル管理構造内に既に追加しようとしているマッシュアップテンプレートファイルが存在する場合は、そのファイルとの差分を取り、既に保存されているマッシュアップテンプレートファイル2に差分を追加する。
The setting
次に、マッシュアップテンプレートファイル2を削除する処理例について説明する。マッシュアップテンプレートファイル2の管理者は、削除するマッシュアップテンプレート名が記述されたファイルを情報取得装置200に送信し、情報取得装置200は、通信部6を介してその情報を受信し、設定ファイル管理部7に入力する。設定ファイル管理部7では、その情報を元に、マッシュアップテンプレートファイル管理構造から指定された、マッシュアップテンプレートファイル2に関する情報を削除し、保存されているマッシュアップテンプレートファイル2も削除する。削除対象とするマッシュアップテンプレートファイル2が存在しない場合は、ユーザにそのマッシュアップテンプレートファイル2が記述されたエラー通知ファイルを送信する。
Next, an example of processing for deleting the
図11にユーザ情報の追加及びマッシュアップテンプレートファイルの削除、データソース設定ファイルの削除を行うための要求ファイルの一例を示す。図示例では、データソース設定ファイルとマッシュアップテンプレートファイルの削除命令が出されている。図示例の各種タグについて説明する。Requestタグはユーザから送信されてきた処理要求を示しており、NumberOfRequestsが処理要求の数、Removeタグは削除要求を示しており、図示例では、マッシュアップテンプレートファイルの削除要求とデータソース設定ファイルの削除要求の2つの処理要求がユーザから送信されてきたことを示している。また、NumberOfFilesは削除するファイル数が記述されており、図示例では、2つのファイルが指定されている。MashupTemplateFileタグで括られている部分がマッシュアップテンプレートファイルに属する設定ファイル、DataSourceFileがデータソース設定ファイル、Fileタグで括られた部分に設定ファイルの詳細が記述されており、FileNameタグが設定ファイル名、UserNameがユーザ名を示している。図示例ではユーザGuestが作成したマッシュアップテンプレートファイルTemplateとデータソース設定ファイルDataSourceFileに対し削除処理を行うということを示している。
FileNameタグとUserNameタグは、各管理構造の中から指定した設定ファイルを検索する際に利用される検索キーとして利用される。
FIG. 11 shows an example of a request file for adding user information, deleting a mashup template file, and deleting a data source setting file. In the illustrated example, an instruction to delete the data source setting file and the mashup template file is issued. Various tags in the illustrated example will be described. The Request tag indicates the processing request sent from the user, NumberOfRequests indicates the number of processing requests, and the Remove tag indicates the deletion request. In the illustrated example, the mashup template file deletion request and the data source setting file It shows that two processing requests of the deletion request have been transmitted from the user. In addition, NumberOfFiles describes the number of files to be deleted. In the illustrated example, two files are designated. The part enclosed by the MashupTemplateFile tag is the setting file belonging to the mashup template file, DataSourceFile is the data source setting file, the part enclosed by the File tag describes the details of the setting file, the FileName tag is the setting file name, UserName indicates the user name. In the illustrated example, it is shown that deletion processing is performed on the mashup template file Template and the data source setting file DataSourceFile created by the user Guest.
The FileName tag and the UserName tag are used as search keys used when searching for a specified setting file from each management structure.
このように、実施の形態1の情報取得装置では、マッシュアップテンプレートファイル2により、ユーザ側では、マッシュアップテンプレートファイル2に記述されている情報がどこのサーバ300a,300bから取得されたか、といったことを意識することなく情報を取得することが可能である。
As described above, in the information acquisition apparatus according to the first embodiment, the
また、ユーザまたはサーバ300a,300bの管理者は、データソース設定ファイル1の追加や削除を行うことにより、プログラムに大規模な変更を行うことなく情報取得先9の情報の追加や削除を行うことができる。
さらに、情報取得システムの開発者は、データソース設定ファイル1によりの各サーバ300a,300bに対応した機能を一つ一つ作成せずに済むことで開発コストを削減することができる。
In addition, the user or the administrator of the
Furthermore, the developer of the information acquisition system can reduce development costs by not having to create functions corresponding to the
以上説明したように、実施の形態1の情報取得装置によれば、ユーザ端末から要求されるサービスに応じて情報取得先から情報を取得し、取得した情報に対してサービスに応じた加工処理を行ってユーザ端末に応答する情報取得装置であって、情報取得先とサービスとの関係を設定するデータソース設定ファイルと、データソース設定ファイルの情報を用いて情報取得先から情報を取得する情報取得部と、情報取得部が取得した情報のサービスに対応した加工仕様を設定するマッシュアップテンプレートファイルと、マッシュアップテンプレートファイルの情報を用いて情報取得先から取得した情報を加工し、ユーザ端末に応答するためのマッシュアップファイルを作成するマッシュアップファイル作成部とを備えたので、データソース設定ファイルの追加・変更・削除を行うだけで、プログラムに大規模な変更を行うことなく、情報取得先の情報の追加・変更・削除が可能となる。また、ユーザはデータの情報取得先の情報の配信停止・新規情報配信といった変化を判別することなく利用することができる。さらに、ユーザは、マッシュアップテンプレートファイルを変更することによって、取得する情報をカスタマイズすることができる。 As described above, according to the information acquisition apparatus of the first embodiment, information is acquired from an information acquisition destination according to a service requested from a user terminal, and a processing process corresponding to the service is performed on the acquired information. An information acquisition device that performs a response to a user terminal and acquires information from an information acquisition destination using a data source setting file that sets a relationship between the information acquisition destination and a service, and information in the data source setting file Mashup template file that sets the processing specifications corresponding to the service of the information acquired by the information acquisition unit and the information acquisition unit, and the information acquired from the information acquisition destination using the information of the mashup template file, and responds to the user terminal Data source setting because it has a mashup file creation section to create a mashup file for Only to add, change, delete Airu, without performing a large-scale changes to the program, it is possible to add, modify or delete information acquisition source of information. Further, the user can use the data without determining changes such as the stop of distribution of information at the information acquisition destination and the distribution of new information. Further, the user can customize the information to be acquired by changing the mashup template file.
また、実施の形態1の情報取得装置によれば、データソース設定ファイルを管理するデータソース管理構造と、データソース管理構造を用いて、データソース設定ファイルを管理する設定ファイル管理部とを備え、設定ファイル管理部は、データソース設定ファイルの追加要求を受けた場合は、データソース管理構造を参照して追加要求を受けたデータソース設定ファイルが存在するかを判定し、存在しない場合は新規のデータソース設定ファイルとしてデータソース管理構造に登録し、データソース設定ファイルの削除要求を受けた場合は削除要求を受けたデータソース設定ファイルをデータソース管理構造から削除するようにしたので、データソース設定ファイルの追加・変更・削除といった処理を確実に管理することができる。 In addition, according to the information acquisition apparatus of the first embodiment, the data source management structure for managing the data source setting file, and the setting file management unit for managing the data source setting file using the data source management structure are provided. When the configuration file management unit receives a request to add a data source configuration file, the configuration file management unit refers to the data source management structure to determine whether the data source configuration file that has received the addition request exists. Data source configuration file is registered in the data source management structure, and when a data source configuration file deletion request is received, the data source configuration file that received the deletion request is deleted from the data source management structure. Processing such as adding, changing, and deleting files can be reliably managed.
また、実施の形態1の情報取得装置によれば、マッシュアップテンプレートファイルを管理するマッシュアップテンプレートファイル管理構造と、マッシュアップテンプレートファイル管理構造を用いて、マッシュアップテンプレートファイルを管理する設定ファイル管理部とを備え、設定ファイル管理部は、マッシュアップテンプレートファイルの追加要求を受けた場合は、マッシュアップテンプレートファイル管理構造を参照して追加要求を受けたマッシュアップテンプレートファイルが存在するかを判定し、存在しない場合は新規のマッシュアップテンプレートファイルとしてマッシュアップテンプレートファイル管理構造に登録し、マッシュアップテンプレートファイルの削除要求を受けた場合は削除要求を受けたマッシュアップテンプレートファイルをマッシュアップテンプレートファイル管理構造から削除するようにしたので、マッシュアップテンプレートファイルの追加・変更・削除といった処理を確実に管理することができる。 Further, according to the information acquisition apparatus of the first embodiment, the mashup template file management structure for managing the mashup template file and the setting file management unit for managing the mashup template file using the mashup template file management structure When the configuration file management unit receives a request to add a mashup template file, the configuration file management unit refers to the mashup template file management structure to determine whether there is a mashup template file that has received the addition request, If it does not exist, register it in the mashup template file management structure as a new mashup template file. If you receive a mashup template file deletion request, the mashup template file that received the deletion request Since the plate files to be deleted from the mash-up template file management structure, it is possible to reliably manage the processing, such as add, change or delete a mash-up template file.
また、実施の形態1の情報取得装置によれば、設定ファイル管理部は、データソース設定ファイルの管理を、データソース設定ファイルに対応して設定された管理者毎に行うようにしたので、第三者が作成したデータソース設定ファイルであってもその第三者を管理者として管理することでデータソース設定ファイルを利用することができる。 Further, according to the information acquisition apparatus of the first embodiment, the setting file management unit manages the data source setting file for each administrator set corresponding to the data source setting file. Even a data source setting file created by the three parties can be used by managing the third party as an administrator.
また、実施の形態1の情報取得装置によれば、設定ファイル管理部は、マッシュアップテンプレートファイルの管理を、マッシュアップテンプレートファイルに対応して設定された管理者毎に行うようにしたので、第三者が作成したマッシュアップテンプレートファイルであってもその第三者を管理者として管理することでマッシュアップテンプレートファイルを利用することができる。 Further, according to the information acquisition apparatus of the first embodiment, the setting file management unit manages the mashup template file for each administrator set corresponding to the mashup template file. Even a mashup template file created by the three parties can be used by managing the third party as an administrator.
また、実施の形態1の情報取得装置によれば、データソース設定ファイルとマッシュアップテンプレートファイルとを、それぞれのファイルの機能を有する単一の設定ファイルとするようにしたので、データソース設定ファイルとマッシュアップテンプレートファイルの管理を簡略化することができる。 Further, according to the information acquisition device of the first embodiment, the data source setting file and the mashup template file are made into a single setting file having the functions of the respective files. Management of mashup template files can be simplified.
なお、本願発明はその発明の範囲内において、実施の形態の任意の構成要素の変形、もしくは実施の形態の任意の構成要素の省略が可能である。 In the present invention, any constituent element of the embodiment can be modified or any constituent element of the embodiment can be omitted within the scope of the invention.
1 データソース設定ファイル、2 マッシュアップテンプレートファイル、3 設定ファイル解析部、4 情報取得部、5 ユーザ送信用マッシュアップファイル作成部、6 通信部、7 設定ファイル管理部、8 管理構造ファイル、9 情報取得先、10 端末、100 ユーザ端末、101 マウス、102 キーボード、103 表示部、104 入出力インタフェース(I/F)、105,201,301a,301b CPU、106,202,302a,302b メモリ、107,203,303a,303b 外部記憶装置、108,204,304a,304b 通信インタフェース(I/F)、200 情報取得装置、300a,300b サーバ、400 ネットワーク。 1 data source setting file, 2 mashup template file, 3 setting file analysis unit, 4 information acquisition unit, 5 user transmission mashup file creation unit, 6 communication unit, 7 setting file management unit, 8 management structure file, 9 information Acquisition source: 10 terminals, 100 user terminals, 101 mouse, 102 keyboard, 103 display unit, 104 input / output interface (I / F), 105, 201, 301a, 301b CPU, 106, 202, 302a, 302b memory, 107, 203, 303a, 303b External storage device, 108, 204, 304a, 304b Communication interface (I / F), 200 Information acquisition device, 300a, 300b Server, 400 network.
Claims (6)
前記情報取得先と前記サービスとの関係を設定するデータソース設定ファイルと、
前記データソース設定ファイルの情報を用いて前記情報取得先から情報を取得する情報取得部と、
前記情報取得部が取得した情報の前記サービスに対応した加工仕様を設定するマッシュアップテンプレートファイルと、
前記マッシュアップテンプレートファイルの情報を用いて前記情報取得先から取得した情報を加工し、前記ユーザ端末に応答するためのマッシュアップファイルを作成するマッシュアップファイル作成部とを備えた情報取得装置。 An information acquisition device that acquires information from an information acquisition destination according to a service requested from a user terminal, performs processing according to the service on the acquired information, and responds to the user terminal,
A data source setting file for setting a relationship between the information acquisition destination and the service;
An information acquisition unit that acquires information from the information acquisition destination using information of the data source setting file;
A mashup template file for setting processing specifications corresponding to the service of the information acquired by the information acquisition unit;
An information acquisition apparatus comprising: a mashup file creation unit that processes information obtained from the information acquisition destination using information of the mashup template file and creates a mashup file for responding to the user terminal.
当該データソース管理構造を用いて、前記データソース設定ファイルを管理する設定ファイル管理部とを備え、
前記設定ファイル管理部は、前記データソース設定ファイルの追加要求を受けた場合は、前記データソース管理構造を参照して当該追加要求を受けたデータソース設定ファイルが存在するかを判定し、存在しない場合は新規のデータソース設定ファイルとして前記データソース管理構造に登録し、前記データソース設定ファイルの削除要求を受けた場合は当該削除要求を受けたデータソース設定ファイルを前記データソース管理構造から削除することを特徴とする請求項1記載の情報取得装置。 A data source management structure for managing the data source configuration file;
A configuration file management unit that manages the data source configuration file using the data source management structure;
When the configuration file management unit receives a request to add the data source configuration file, the configuration file management unit refers to the data source management structure to determine whether the data source configuration file that has received the addition request exists, and does not exist. In this case, the data source setting file is registered in the data source management structure as a new data source setting file, and when the deletion request for the data source setting file is received, the data source setting file that has received the deletion request is deleted from the data source management structure. The information acquisition apparatus according to claim 1.
当該マッシュアップテンプレートファイル管理構造を用いて、前記マッシュアップテンプレートファイルを管理する設定ファイル管理部とを備え、
前記設定ファイル管理部は、前記マッシュアップテンプレートファイルの追加要求を受けた場合は、前記マッシュアップテンプレートファイル管理構造を参照して当該追加要求を受けたマッシュアップテンプレートファイルが存在するかを判定し、存在しない場合は新規のマッシュアップテンプレートファイルとして前記マッシュアップテンプレートファイル管理構造に登録し、前記マッシュアップテンプレートファイルの削除要求を受けた場合は当該削除要求を受けたマッシュアップテンプレートファイルを前記マッシュアップテンプレートファイル管理構造から削除することを特徴とする請求項1または請求項2記載の情報取得装置。 A mashup template file management structure for managing the mashup template file;
A configuration file management unit that manages the mashup template file using the mashup template file management structure;
When the setting file management unit receives a request to add the mashup template file, the setting file management unit determines whether there is a mashup template file that has received the addition request with reference to the mashup template file management structure. If it does not exist, it is registered in the mashup template file management structure as a new mashup template file. If a deletion request for the mashup template file is received, the mashup template file that has received the deletion request is registered in the mashup template file. 3. The information acquisition apparatus according to claim 1, wherein the information acquisition apparatus is deleted from the file management structure.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013182196A JP2016194735A (en) | 2013-09-03 | 2013-09-03 | Information acquisition device |
PCT/JP2014/063095 WO2015033617A1 (en) | 2013-09-03 | 2014-05-16 | Information acquisition device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013182196A JP2016194735A (en) | 2013-09-03 | 2013-09-03 | Information acquisition device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2016194735A true JP2016194735A (en) | 2016-11-17 |
Family
ID=52628108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013182196A Pending JP2016194735A (en) | 2013-09-03 | 2013-09-03 | Information acquisition device |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2016194735A (en) |
WO (1) | WO2015033617A1 (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002032298A (en) * | 2000-07-14 | 2002-01-31 | Penta Ocean Constr Co Ltd | How to update your Internet homepage |
US7203909B1 (en) * | 2002-04-04 | 2007-04-10 | Microsoft Corporation | System and methods for constructing personalized context-sensitive portal pages or views by analyzing patterns of users' information access activities |
US7426508B2 (en) * | 2004-03-11 | 2008-09-16 | International Business Machines Corporation | Systems and methods for user-constructed hierarchical interest profiles and information retrieval using same |
US9268856B2 (en) * | 2007-09-28 | 2016-02-23 | Yahoo! Inc. | System and method for inclusion of interactive elements on a search results page |
JP5171718B2 (en) * | 2009-03-31 | 2013-03-27 | 株式会社東芝 | Content recommendation device, method, and program |
WO2011018852A1 (en) * | 2009-08-13 | 2011-02-17 | 株式会社日立ソリューションズ | Data storage device with duplicate elimination function and control device for creating search index for the data storage device |
JP5466133B2 (en) * | 2010-10-26 | 2014-04-09 | 日本電信電話株式会社 | Document search apparatus with image and document search program with image |
-
2013
- 2013-09-03 JP JP2013182196A patent/JP2016194735A/en active Pending
-
2014
- 2014-05-16 WO PCT/JP2014/063095 patent/WO2015033617A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2015033617A1 (en) | 2015-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200389532A1 (en) | Field service management mobile offline synchronization | |
CN107710157B (en) | Multi-tenant computing system and computer implementation method thereof | |
CN112965700B (en) | Routing-based micro-service processing method and device, computer equipment and medium | |
US10291704B2 (en) | Networked solutions integration using a cloud business object broker | |
CN108513657B (en) | Data conversion method and backup server | |
GB2559835A (en) | Systems and methods for providing access to a data file stored at a data storage system | |
CN103645951A (en) | Cross-platform mobile data management system and method | |
JP2014056319A (en) | Information processor, program, and control method | |
Liu et al. | Composing enterprise mashup components and services using architecture integration patterns | |
US9330198B1 (en) | Mapping stored client data to requested data using metadata | |
US12250183B2 (en) | Method, apparatus, and computer program product for initiating and executing a group based communication browser session and rendering a group based communication interface | |
CN111736775A (en) | Multi-source storage method, device, computer system and storage medium | |
US10055393B2 (en) | Distributed version control of orchestration templates | |
US10819662B2 (en) | Detecting automatic reply conditions | |
US10382313B2 (en) | Test building for testing server operation | |
US9128886B2 (en) | Computer implemented method, computer system, electronic interface, mobile computing device and computer readable medium | |
US20210409346A1 (en) | Metadata driven static determination of controller availability | |
CN114611481A (en) | Template configuration method and device, computer equipment and storage medium | |
CN113778442B (en) | A system menu generation method, device, equipment and storage medium | |
CN107368407B (en) | Information processing method and device | |
RU2634221C2 (en) | Method and device for drawing presentation of electronic document on screen | |
US9311612B2 (en) | System and method for improved service oriented architecture | |
WO2016077093A1 (en) | Using sections for customization of applications across platforms | |
JP2016194735A (en) | Information acquisition device | |
CN112084247A (en) | Method and device for extending application program service |