JP2011100370A - Device, system and method for providing information - Google Patents
Device, system and method for providing information Download PDFInfo
- Publication number
- JP2011100370A JP2011100370A JP2009255684A JP2009255684A JP2011100370A JP 2011100370 A JP2011100370 A JP 2011100370A JP 2009255684 A JP2009255684 A JP 2009255684A JP 2009255684 A JP2009255684 A JP 2009255684A JP 2011100370 A JP2011100370 A JP 2011100370A
- Authority
- JP
- Japan
- Prior art keywords
- information
- display terminal
- updated
- distribution request
- information display
- 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 title claims description 23
- 238000012545 processing Methods 0.000 claims abstract description 51
- 238000004891 communication Methods 0.000 claims abstract description 34
- 230000005540 biological transmission Effects 0.000 claims abstract description 12
- 238000007726 management method Methods 0.000 claims description 47
- 238000004364 calculation method Methods 0.000 description 16
- 230000004044 response Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000010365 information processing Effects 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 3
- 229910003460 diamond Inorganic materials 0.000 description 2
- 239000010432 diamond Substances 0.000 description 2
- 229920001690 polydopamine Polymers 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000001934 delay Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007958 sleep Effects 0.000 description 1
- 230000033772 system development Effects 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Train Traffic Observation, Control, And Security (AREA)
Abstract
Description
本発明は、情報提供装置、情報提供システムおよび情報提供方法に関し、特に、ネットワークに接続された装置に対し情報を配信する技術に関する。 The present invention relates to an information providing apparatus, an information providing system, and an information providing method, and more particularly, to a technique for distributing information to an apparatus connected to a network.
近年、PCやネット家電などの据え置き型の情報処理端末に加えて、携帯電話やPDAなどのモバイル型の情報処理端末が普及し、これらの端末向けの各種情報サービスが一般化しつつある。その一つとして、列車やバスなどの公共交通機関の運行ダイヤが乱れた時に、遅延や振替等の状況を通知する運行情報案内サービスがある。例えば、特定の路線で一定時間以上の遅延が発生したか、または遅延の発生が見込まれる時に、ホームページ上で該情報を提供するサービスがある。 In recent years, in addition to stationary information processing terminals such as PCs and Internet home appliances, mobile information processing terminals such as mobile phones and PDAs have become widespread, and various information services for these terminals are becoming common. As one of them, there is an operation information guidance service for notifying the status of delays and transfers when the operation schedule of public transportation such as trains and buses is disturbed. For example, there is a service that provides information on a homepage when a delay of a certain time or more occurs on a specific route or when a delay is expected to occur.
また、運行管理システムと連携して、鉄道および列車に関する詳細な情報をリアルタイムで携帯情報端末に提供する方法がある(例えば特許文献1を参照)。特許文献1では、列車情報配信サーバが、運行管理システム、ダイヤ管理システム、保守作業管理システムから受信した列車運行状況表示装置の情報、ダイヤデータ、保守作業計画データに基づいて列車情報提供サイトを開設し、携帯情報端末からのアクセスおよび入力操作に応じて、各種列車情報を表示した画面を送信する。
In addition, there is a method of providing detailed information on railways and trains in real time to a portable information terminal in cooperation with an operation management system (see, for example, Patent Document 1). In
一方、インターネット上の通信プロトコルとして普及するHTTP(Hyper Text Transfer Protocol)は、クライアントであるWebブラウザからの要求メッセージに応じて、Webサーバが応答メッセージを送るプル型の通信プロトコルであるが、サーバからプッシュ型でクライアントにメッセージを送信する技術がある(例えば非特許文献1を参照)。非特許文献1では、サーバがクライアントからの要求メッセージに対してすぐには応答せずに保留状態にしておくことで、サーバからクライアントへメッセージを送信したいタイミングでの送信を可能とする。
On the other hand, HTTP (Hyper Text Transfer Protocol), which is widely used as a communication protocol on the Internet, is a pull-type communication protocol in which a Web server sends a response message in response to a request message from a Web browser as a client. There is a technique of transmitting a message to a client in a push type (see, for example, Non-Patent Document 1). In
特許文献1は、利用者端末から情報提供サイトのページへアクセスするプル型の情報提供であり、最新の運行情報を取得したい場合には、その都度利用者自身がサーバへのアクセス操作を何度も繰り返さなければならず、利用者にとって手間が掛かるという課題がある。また、利用者はいつ情報が更新されるかがわからないため、場合によっては情報が全く更新されていないにも関わらずサーバへのアクセス操作を繰り返し、その結果サーバの処理負荷が増大したり、サーバとクライアント間のネットワーク伝送負荷が大きくなるという課題がある。
また非特許文献1は、クライアントからの要求メッセージをサーバ側で保留状態にしておくため、多数のクライアントからの要求メッセージを受けると、サーバの処理負荷が増大するという課題がある。
Further, since Non-Patent
本発明は上記課題を解決するためになされたもので、その目的は、情報提供装置の処理負荷を軽減しながら、情報表示端末へ情報配信することを可能にすることである。 The present invention has been made to solve the above problems, and an object thereof is to enable information distribution to an information display terminal while reducing the processing load of the information providing apparatus.
本発明は、上記の課題の少なくとも1つを解決するために、ネットワークを介して情報表示端末に情報の提供を行う情報提供装置であって、制御部と、情報を格納する記憶部と、情報表示端末と通信を行う通信処理部とを備え、通信処理部が、情報表示端末より情報の配信要求を受け付けると、制御部が、情報の更新予定時間を算出し、通信処理部が、情報を、算出した更新予定時間とともに情報表示端末へ送信し、情報の送信より更新予定時間が経過した後に、通信処理部が、情報表示端末が更新予定時間に基づいて再び送信した情報の配信要求を受け付けたとき、情報が前回送信時から更新されていない場合には、通信処理部が、情報が更新されるのを待って、更新された情報を情報表示端末に送信することを特徴とする情報提供装置を提供する。 In order to solve at least one of the above problems, the present invention is an information providing apparatus that provides information to an information display terminal via a network, and includes a control unit, a storage unit that stores information, and an information A communication processing unit that communicates with the display terminal. When the communication processing unit receives an information distribution request from the information display terminal, the control unit calculates the scheduled update time of the information, and the communication processing unit The information processing terminal sends it to the information display terminal together with the calculated update scheduled time, and after the scheduled update time has elapsed from the transmission of information, the communication processing unit accepts the information distribution request sent again by the information display terminal based on the scheduled update time. When the information has not been updated since the previous transmission, the communication processing unit waits for the information to be updated and transmits the updated information to the information display terminal. Equipment Subjected to.
本発明によれば、情報提供装置の処理負荷を軽減しながら、情報表示端末へ情報配信することが可能になる。 ADVANTAGE OF THE INVENTION According to this invention, it becomes possible to distribute information to an information display terminal, reducing the processing load of an information provision apparatus.
以下、本発明における実施例について、図面を参照しながら詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本実施例のシステム概要例を示すブロック図である。複数の情報表示端末1030の少なくとも1つが、情報受信・表示手段1090により情報配信サーバ1020に対し情報の配信要求を送信する。情報配信サーバ1020の配信要求受信手段1100が、情報の配信要求を受信すると、制御情報取得手段1060が、受信した要求の内容に応じて、複数の運行管理システム1010の少なくとも1つから、ネットワーク1040を経由して、各種の情報を取得する。取得する情報は、例えば列車在線情報(路線名、列車番号、進行方向、列車位置、軌道回路番号、キロ程、列車速度など)やダイヤ情報、保守作業情報などである。更新間隔算出手段1070は、取得した情報の値が次に更新される更新予定時間を算出する。情報配信手段1080は、ネットワーク1050を介して複数の情報表示端末1030と接続し、取得した情報を、更新間隔算出手段1070が算出した該情報の更新予定時間とともに送信する。情報表示端末の情報受信・表示手段1090は、受信した情報を表示し、該情報の値が次に更新される時間が経過した後に、再び情報の要求メッセージを情報配信サーバへ送信する。
FIG. 1 is a block diagram illustrating an example of a system outline of the present embodiment. At least one of the plurality of
本構成例は、例えば運行管理システム1010と情報配信サーバ1020をパーソナルコンピュータやワークステーション等の計算機で、情報表示端末1030を携帯電話、PDA、ノートPC等のモバイル端末で、ネットワーク1040、1050をEthernet(登録商標)や無線LANで、制御情報取得手段1060、更新間隔算出手段1070、情報配信手段1080をWebサーバおよびJava(登録商標)プログラムで、情報受信・表示手段をWebブラウザおよびJavaScript(登録商標)でそれぞれ構成することにより、既知のシステム開発方法を用いて構築可能である。
In this configuration example, for example, the
図2は、情報配信サーバ1020のハードウェア構成例を示す図である。主制御部2010は、ハードウェアの制御とプログラムの実行処理を行う。入力部2020は、システム管理者からのプログラム実行開始指示や中止指示等の入力を行う。出力部2030は、プログラムの実行状態等の出力を行う。通信処理部2040は、他の計算機とのデータ交換を行う。記憶管理部2050は、プログラムやデータの読み出し、記録を行う。通信部2060は、各機能部間のデータ交換を行う。
FIG. 2 is a diagram illustrating a hardware configuration example of the
記憶管理部2050には、配信要求受信手段1100、制御情報取得手段1060、更新間隔算出手段1070、情報配信手段1080の処理を行う情報配信プログラム2070と、配信要求管理テーブル2080と、更新間隔判定テーブル2090と、データ種別・内容条件テーブル2100と、履歴データ条件テーブル2110と、運行管理システム状態条件テーブル2120と、コードテーブル2130と、取得履歴テーブル2140が格納される。
The
上記構成は、例えば、主制御部2010をCPUで、入力部2020をキーボードで、出力部2030を液晶ディスプレイで、通信処理部2040をEthernet(登録商標)で、記憶管理部2050をハードディスクおよびメモリで、通信部2060をBusで実現することにより、従来から良く知られた装置で構成可能である。
In the above configuration, for example, the
なお、記憶管理部2050に格納されるとした各テーブルは、その一部を情報配信サーバ1020の外部に備え、必要に応じて情報配信サーバ1020が情報を取得することとしてもよい。例えば、取得履歴テーブル2140を備える代わりに、運行管理システムの情報を収集する別の装置から、適宜情報を取得することとしても良い。
Note that a part of each table stored in the
本実施例における各機能部は、主制御部2010が、記憶管理部2050のハードディスクから読み出して実行する情報配信プログラムによって実現される。機能を実現するように、主制御部2010が通信処理部2040にデータの送受を行わせる。
Each functional unit in the present embodiment is realized by an information distribution program that the
以降に示す各処理は、当該処理を行う装置の主制御部が、ハードディスクから読み出して実行するプログラムによって実現される。そしてこれらのプログラムは、説明される各種の動作を行うためのコードから構成されている。 Each process described below is realized by a program that is read from the hard disk and executed by the main control unit of the apparatus that performs the process. These programs are composed of codes for performing various operations described.
以下、本実施例における各機能部による処理について説明する。 Hereinafter, processing by each functional unit in the present embodiment will be described.
例えば運行管理システムが自律分散システムとして実装されている場合、内容コードを付加した情報がデータフィールド上にブロードキャスト送信されている。 For example, when the operation management system is implemented as an autonomous distributed system, information with a content code added is broadcasted on the data field.
制御情報取得手段1060は、データフィールド上のブロードキャストデータを受信し、コードテーブル2130を参照して、データに付加された内容コードに含まれる項目名の値を取得し、取得履歴テーブルに登録する。 The control information acquisition unit 1060 receives the broadcast data on the data field, refers to the code table 2130, acquires the value of the item name included in the content code added to the data, and registers it in the acquisition history table.
図13に、コードテーブル2130の構成例を示す。本テーブルは、取得した情報の内容コード13010、該内容コードのデータに含まれる項目名13020からなる行のリストである。また、図14に、取得履歴テーブル2140の構成例を示す。本テーブルは、情報の項目名14010、該項目の複数の履歴データ14020からなる行のリストである。
FIG. 13 shows a configuration example of the code table 2130. This table is a list of lines including the
また、配信要求受信手段1100が、情報表示端末1030より受信した配信要求の情報を配信要求管理テーブル2080に格納する。
Further, the distribution
図3を用いて、配信要求に対する処理の例を説明する。 An example of processing for a distribution request will be described with reference to FIG.
主制御部2010が、配信要求の情報が格納された配信要求管理テーブル2080を読み込み、配信要求されている項目の値が、前回のチェック時から運行管理システム1040内で更新されているか否かを、取得履歴テーブル2140を参照して、対応する項目の履歴データから調べる(ステップ3010)。
The
図4に、配信要求管理テーブル2080の構成例を示す。本テーブルは、情報表示端末からの各配信要求の通信コネクションをプログラムで扱うためのソケットハンドル4010、要求されている各情報の項目名4020、各項目名に対応する最新の項目値4030、更新予定時間4040、該情報が最後に情報表示端末に配信されてから更新されたか否かを表す更新フラグ4050、情報表示端末からのHTTPリクエストメッセージの応答を保留状態にしているスレッド番号4060、各配信要求を受信した時刻を示す要求時刻4070、配信要求を受け付けているか否かを示す要求フラグ4080を含む行のリストであり、各情報表示端末から新たな項目に対する配信要求を受ける毎に行データを追加する。
FIG. 4 shows a configuration example of the distribution request management table 2080. This table includes a
なお、既に情報配信を行った項目に対する配信要求を、同じ情報表示端末1030から再度受け付けた場合には、該当する行データの要求時刻4070を上書きし、要求フラグ4080の値を1にする。
If a distribution request for an item for which information has already been distributed is received again from the same
図3に戻って、要求フラグ4080の値が1である配信要求項目について、取得履歴テーブル2140の最新データを、項目値4030と比較した結果、両者が異なっており、前回の情報表示端末1030への情報送信時から運行管理システムの情報が更新されたと判断した場合、あるいは新たな項目に対する配信要求であって項目値4030にデータが記録されていない場合には、主制御部2010が配信要求管理テーブルの該当する項目名の最新の項目値4030に取得履歴テーブル2140の最新データを記録する(ステップ3020)。次に、更新間隔算出手段1070が、該項目値が次に更新される更新予定時間を算出し、更新予定時間4040に記録する(ステップ3030)。次に、該行の更新フラグ4050の値を1に変更し、情報配信手段1080が、更新フラグ4050の値が1である項目の情報を、配信要求を行った情報表示端末1030に送信する(ステップ3040)。ステップ3010に戻る。入力部2020によりシステム管理者からの終了操作を受け付けるまで、本処理を繰り返し行う。
Returning to FIG. 3, as a result of comparing the latest data in the acquisition history table 2140 with the
続いて、更新間隔算出手段1070の処理例を、図5のフローチャートを用いて説明する。
最初に、項目値が次に更新される時間として、予め決められたデフォルト値(例えば1分など)を設定した後、更新間隔判定テーブル2090を読み込む(ステップ5010)。本デフォルト値は、該当する項目名がどの条件テーブルにも見つからなかった時に、更新予定時間として使用するものである。
Subsequently, a processing example of the update
First, after setting a predetermined default value (for example, 1 minute) as the time when the item value is updated next, the update interval determination table 2090 is read (step 5010). This default value is used as the scheduled update time when the corresponding item name is not found in any condition table.
図6に、更新間隔判定テーブルの構成例を示す。本テーブルは、情報の項目名6010、判定タイプ6020からなる行のリストである。本テーブルには、情報の各項目ごとに、項目値が次に更新される時間をどのようにして決定するかを設定する。本実施例では、後述するように、データ種別・内容から算出するか、履歴データから算出するか、運行管理システムの状態から算出するか、のいずれかを指定できる。システム管理者により予め設定可能であるとしてよい。
FIG. 6 shows a configuration example of the update interval determination table. This table is a list of lines including
図5に戻って、次に、更新間隔判定テーブルに該当項目名があれば(ステップ5020)、主制御部2010が、対応する判定タイプから以降の処理を決定する(ステップ5030)。
判定タイプが「データ種別・内容から算出」であれば、データ種別・内容条件テーブル2100を読み込み、該当するデータ種別・内容があるか否かを調べる(ステップ5040)。
Returning to FIG. 5, next, if there is a corresponding item name in the update interval determination table (step 5020), the
If the determination type is “calculated from data type / content”, the data type / content condition table 2100 is read to check whether there is a corresponding data type / content (step 5040).
図7に、データ種別・内容条件テーブルの構成例を示す。本テーブルは、データ種別・内容7010、更新間隔7020からなる行のリストである。情報の個々のデータ種別やデータ内容ごとに、更新間隔を設定できる。例えば、A線の実施ダイヤ情報であれば30秒間隔、といったようにデータ種別に応じて予め設定し、列車在線情報であれば区間毎に軌道回路の設置間隔が異なるため、区間ごとに適切な更新間隔を設定する。システム管理者により予め設定可能であるとしてもよい。データ種別・内容条件テーブルに該当データ種別やデータ内容があれば、対応する更新間隔を取得し(ステップ5050)、配信要求管理テーブル2080の更新予定時間4040に登録して本処理を終了する。
FIG. 7 shows a configuration example of the data type / content condition table. This table is a list of rows including data types /
図5に戻って、判定タイプが「履歴データから算出」であれば、履歴データ条件テーブル2110を読み込み、該当する項目名があるか否かを調べる(ステップ5060)。 Returning to FIG. 5, if the determination type is “calculated from history data”, the history data condition table 2110 is read to check whether there is a corresponding item name (step 5060).
図8に、履歴データ条件テーブルの構成例を示す。本テーブルは、情報の項目名8010、算出方法8020からなる行のリストである。情報の項目毎の、値や更新間隔の履歴データの変動から、更新間隔を算出する方法を予め設定する。履歴データは、取得履歴テーブル2140を参照することによって取得できる。例えばB線の列車速度であれば、前n回の履歴データおよび軌道回路上の位置から、駅に停車した直後であると判定される場合(例えば軌道回路X上(駅内)かつ前5回の速度値が時速10km/h以下)は、乗客の乗降が完了するまで発車しないので、例えば更新間隔を30秒とし、軌道回路Y上(駅間)であれば、例えば過去3回の更新間隔の平均から次回の更新間隔を算出する。
FIG. 8 shows a configuration example of the history data condition table. This table is a list of lines including
図5に戻って、履歴データ条件テーブルに該当項目名があれば、履歴データから対応する更新間隔を算出し(ステップ5070)、配信要求管理テーブル2080の更新予定時間4040に登録して本処理を終了する。
Returning to FIG. 5, if there is a corresponding item name in the history data condition table, the corresponding update interval is calculated from the history data (step 5070) and registered in the scheduled
また、判定タイプが「運行管理システムの状態から算出」であれば、運行管理システム状態条件テーブル2120を読み込み、該当する項目名があるか否かを調べる(ステップ5080)。 If the determination type is “calculated from the state of the operation management system”, the operation management system state condition table 2120 is read to check whether there is a corresponding item name (step 5080).
図9に、運行管理システム状態条件テーブルの構成例を示す。本テーブルは、情報の項目名9010、運行管理システム状態条件9020からなる行のリストである。情報の項目ごとに、運行管理システムの状態から更新間隔を算出する方法を設定する。例えば、運行管理システムが運転整理中の状態である場合は、列車の遅れ時間が何分以内の列車が何本存在するかに応じて、更新間隔を計算することとする。
FIG. 9 shows a configuration example of the operation management system state condition table. This table is a list of rows including
図5に戻って、運行管理システム状態条件テーブルに該当項目名があれば、運行管理システムの状態から対応する更新間隔を算出し(ステップ5090)、計算した更新間隔を配信要求管理テーブル2080の該当行の更新予定時間4040に登録して、本処理を終了する。
Returning to FIG. 5, if there is a corresponding item name in the operation management system state condition table, the corresponding update interval is calculated from the state of the operation management system (step 5090), and the calculated update interval is determined in the distribution request management table 2080. Registration is made at the scheduled
更新間隔算出手段1070により算出される更新予定時間は、配信要求の処理に要する時間分を考慮して、実際に情報が更新される時間よりもやや短い方がより好適である。
The scheduled update time calculated by the update
続いて、情報を配信する処理の例を、図10のフローチャートを用いて説明する。
図10に示す通り、情報を配信するためにA、B2つのフローが並行して処理される。
Next, an example of processing for distributing information will be described with reference to the flowchart of FIG.
As shown in FIG. 10, two flows A and B are processed in parallel to distribute information.
まずフローAについて、配信要求受信手段1100が、情報表示端末1030からHTTPリクエストメッセージ(情報配信要求)を受信すると(ステップ10010)、配信要求管理テーブル2080に受信した配信要求に該当する行があるかを検索し、受信したのが新たな項目に対する配信要求であって該当する行が存在しない場合は、HTTPリプライを保留するための新規スレッドを生成し、ソケットハンドル4010、要求された情報項目名4020、生成したスレッド番号4060、要求時刻4070を登録し、要求フラグ4080の値を1にする(ステップ10020)。なお、同じ情報表示端末1030から同じ項目に対する配信要求を既に受信し、情報配信を行っていて、該当する行が登録されている場合には、要求時刻4070を上書きで登録し、要求フラグの値を1にする。
First, for flow A, when the distribution request receiving means 1100 receives an HTTP request message (information distribution request) from the information display terminal 1030 (step 10010), is there a row corresponding to the received distribution request in the distribution request management table 2080? When a distribution request for a new item is received and there is no corresponding line, a new thread for holding an HTTP reply is generated, a
主制御部2010は、HTTPリクエストに対するHTTPリプライを保留状態にしておく(ステップ10030)。
The
また、フローBについて、主制御部2010は、配信要求管理テーブル2080の更新フラグが1の行があるか否かを調べ(ステップ10060)、更新フラグが1の行があれば、該行の情報項目名4020、更新された最新の項目値4030、更新予定時間4040を含むHTTPリプライメッセージを行ごとに作成する(ステップ10070)。これらの値はHTTPリプライのヘッダまたはメッセージボディに格納する。更新フラグを調べるタイミングは、予め定められた一定時間ごとに繰り返し行うこととしてよい。
For flow B, the
さらに、該行のスレッド番号4060のスレッドに対して、情報が更新されたことを通知し、作成したHTTPリプライメッセージを渡す(ステップ1080)。ここで、フローAにおいて、HTTPリプライを保留していたスレッドが、メッセージを受けて(ステップ1040)、ソケットハンドル4010を用いて該HTTPリプライメッセージを要求元の情報表示端末1030に送信し、主制御部2010は配信要求管理テーブルの該当行の要求フラグおよび更新フラグを0にする(ステップ10050)。
Further, it notifies the thread of
フローBにおいて、ステップ10060またはステップ10080の処理の後、主制御部2010は、配信要求管理テーブル2080に、要求時刻4070から現在時刻までに一定時間以上経過している行があるか否かを調べ(ステップ10090)、該当する行があれば、該行のスレッド番号4060のスレッドの処理を終了し、該行データを削除する(ステップ10100)。
In flow B, after the processing of step 10060 or step 10080, the
これにより、情報表示端末1030の利用者からの入力操作により処理を終了した場合に、配信要求管理テーブルに不要な行データが永続的に残らないようにすることができる。要求フラグの値が1、すなわち情報受信・表示手段1090が情報配信手段1080からの応答を待っている途中で、情報表示端末1030が処理を終了した場合に対しても有効である。配信要求受信から行データ削除までの時間は、管理者により予め設定可能であることとしてもよい。
Thereby, when the process is terminated by an input operation from the user of the
続いて、情報表示端末1030の処理例を、図11のフローチャートを用いて説明する。なお、情報表示端末1030は、図1に示した情報受信・表示手段1090の他、配信要求を行う配信要求送信手段(図示せず)を備える。また、ハードウェア構成例としては、制御部、情報配信サーバ1020と通信を行う通信処理部、データ及びプログラムを格納する記憶部、利用者の入力操作を受け付ける入力部、および情報を表示する表示部を備える。以下に示す各処理は、制御部たるCPUが、たとえば記憶部たるハードディスクから読み出して実行するプログラムによって実現される。そしてこれらのプログラムは、説明される各種の動作を行うためのコードから構成されている。
Subsequently, a processing example of the
最初に、利用者からの情報配信の要求操作があると、まず、配信要求送信手段が、情報配信サーバ1020に対して情報を要求するメッセージをHTTPリクエストメッセージとして送信し、情報配信手段1070からのHTTPリプライメッセージの応答待ちを行う(ステップ11010)。ここで、利用者の操作画面を構成するWebコンテンツ(JPEG画像など)はHTTPのプル型で要求し、情報が更新された場合に即座に取得したい情報のみをHTTPのプッシュ型で要求する。
First, when there is an information distribution request operation from the user, first, the distribution request transmission unit transmits a message requesting information to the
利用者は、例えばチェックボックスやドロップダウンリストを用いて、各自が参照したい情報を選択できる。応答があれば該メッセージ中の情報を用いて表示画面を更新する(ステップ11020)。 Each user can select information he / she wants to refer to using, for example, a check box or a drop-down list. If there is a response, the display screen is updated using the information in the message (step 11020).
図12に、利用者が配信要求を行う情報を選択する時の画面例12010を示す。また、取得した情報の表示画面例を12020に示す。 FIG. 12 shows a screen example 12010 when the user selects information for which a distribution request is made. An example of a display screen for the acquired information is shown in 12020.
図11に戻って、次に、該メッセージ中に該情報が次に更新される更新予定時間の情報が含まれているか否かを調べ(ステップ11030)、該更新予定時間の情報が含まれていれば、該時間が経過するまで本処理をスリープする(ステップ11040)。該時間の経過後、再び情報配信サーバ1020に対して情報配信を要求するメッセージをHTTPリクエストメッセージとして送信し(ステップ11050)、ステップ11010に戻る。利用者より終了操作を受け付けるまで、本処理により配信要求、情報取得、および情報表示を行う。
Returning to FIG. 11, next, it is checked whether or not the information includes the information of the scheduled update time when the information is updated next (step 11030), and the information of the scheduled update time is included. If so, the present process sleeps until the time elapses (step 11040). After the elapse of the time, a message requesting information distribution is transmitted again to the
以上、本実施例では、更新間隔算出手段1070が、該情報が次に更新されるまでの時間間隔(例えば3分など)を算出して更新予定時間とする場合の処理例について説明した。しかしながらこれに限定されるものではなく、例えば該情報が次に更新される時刻(例えば12時20分30秒など)を算出して情報表示端末1030に送信するようにしても良い。
As described above, in the present embodiment, the processing example in the case where the update
また、本実施例では、履歴データ条件テーブル2110に記録した履歴データを用いて更新時間を算出する場合の処理例について説明した。しかしながらこれに限定されるものではなく、より大量の過去履歴データをデータベースに蓄積し、統計演算(例えば正規分布演算)によって更新予定時間を確率的に算出する(例えば、3分以内に更新される確率80%など)ようにし、各情報表示端末1030で実際に要求メッセージを送信する時刻を該確率から決定するようにしても良い。
In the present embodiment, the processing example in the case where the update time is calculated using the history data recorded in the history data condition table 2110 has been described. However, the present invention is not limited to this, and a larger amount of past history data is accumulated in the database, and the scheduled update time is stochastically calculated by statistical calculation (for example, normal distribution calculation) (for example, updated within 3 minutes). The probability that the request message is actually transmitted by each
また、本実施例では、運行管理システムが保持する情報を更新されたタイミングで送信する場合の処理例について説明した。しかしながらこれに限定されるものではなく、更新時間が算出可能な情報であれば、運行管理システムの情報以外であっても、本方式を用いることによって、サーバの処理負荷を軽減しながら、端末に配信することが可能である。 In the present embodiment, the processing example in the case where the information held by the operation management system is transmitted at the updated timing has been described. However, the present invention is not limited to this, and any information that can be used to calculate the update time can be used for the terminal while reducing the processing load of the server by using this method, even if the information is other than the operation management system information. It is possible to deliver.
また、本実施例では、サーバとクライアント間の通信プロトコルにHTTPを用いる場合の処理例について説明した。しかしながらHTTPに限定されるものではなく、クライアントからサーバに対してリクエストを送信するプル型の通信プロトコルであれば、本方式を用いることによって、サーバの処理負荷を軽減しながら、情報を配信することが可能である。 In the present embodiment, the processing example in the case where HTTP is used as the communication protocol between the server and the client has been described. However, it is not limited to HTTP, and if it is a pull-type communication protocol that transmits a request from a client to a server, this method can be used to distribute information while reducing the processing load on the server. Is possible.
本発明は、情報処理装置を利用して情報配信を行う分野において利用可能である。 The present invention can be used in the field of information distribution using an information processing apparatus.
1010…運行管理システム、1020…情報配信サーバ、1030…情報表示端末、1040、1050…ネットワーク、1060…制御情報取得手段、1070…更新間隔算出手段、1080…情報配信手段、1090…情報受信・表示手段、1100…配信要求受信手段、2010…主制御部、2020…入力部、2030…出力部、2040…通信処理部、2050…記憶管理部、2060…通信部、2070…情報配信プログラム、2080…配信要求管理テーブル、2090…更新間隔判定テーブル、2100…データ種別・内容条件テーブル、2110…履歴データ条件テーブル、2120…運行管理システム状態条件テーブル、2130…コードテーブル、2140…取得履歴テーブル
DESCRIPTION OF
Claims (8)
制御部と、
前記情報を格納する記憶部と、
前記情報表示端末と通信を行う通信処理部とを備え、
前記通信処理部が、前記情報表示端末より前記情報の配信要求を受け付けると、
前記制御部が、前記情報の更新予定時間を算出し、
前記通信処理部が、前記情報を、算出した前記更新予定時間とともに前記情報表示端末へ送信し、
前記情報の送信より前記更新予定時間が経過した後に、前記通信処理部が、前記情報表示端末が前記更新予定時間に基づいて再び送信した前記情報の配信要求を受け付けたとき、前記情報が前回送信時から更新されていない場合には、
前記通信処理部が、前記情報が更新されるのを待って、更新された前記情報を前記情報表示端末に送信することを特徴とする情報提供装置。 An information providing apparatus that provides information to an information display terminal via a network,
A control unit;
A storage unit for storing the information;
A communication processing unit for communicating with the information display terminal,
When the communication processing unit receives a distribution request for the information from the information display terminal,
The control unit calculates a scheduled update time of the information;
The communication processing unit transmits the information to the information display terminal together with the calculated update scheduled time,
After the scheduled update time has elapsed from the transmission of the information, when the communication processing unit receives a distribution request for the information transmitted again by the information display terminal based on the scheduled update time, the information is transmitted last time. If not updated from time,
The communication processing unit waits for the information to be updated, and transmits the updated information to the information display terminal.
前記配信要求を再び受け付けた際、前記情報が前回送信時より更新されている場合は、
前記通信処理部が、前記更新された情報を前記情報表示端末へ送信することを特徴とする情報提供装置。 The information providing device according to claim 1,
When the information is updated since the previous transmission when the delivery request is accepted again,
The information providing apparatus, wherein the communication processing unit transmits the updated information to the information display terminal.
前記制御部は、配信要求を受け付けた前記情報の種別に基づき、前記更新予定時間を算出することを特徴とする情報提供装置。 The information providing device according to claim 1, wherein:
The information providing apparatus, wherein the control unit calculates the scheduled update time based on a type of the information that has received a distribution request.
前記情報は、前記通信処理部が交通機関の運行管理システムから取得し、前記記憶部に格納した情報であることを特徴とする情報提供装置。 The information providing device according to any one of claims 1 to 3,
The information providing apparatus is characterized in that the information is information acquired by the communication processing unit from an operation management system of a transportation facility and stored in the storage unit.
前記記憶部は、前記情報表示端末に前回送信した情報を記憶し、
前記通信処理部が、前記情報表示端末から前記情報の配信要求を再び受信すると、
前記制御部が、取得した最新の情報と、前記前回送信した情報とを比較し、比較の結果、前記最新の情報が前記前回送信した情報と異なる場合に、前記情報が更新されたと判断し、
前記通信処理部が、前記最新の情報を前記情報表示端末に送信することを特徴とする情報提供装置。 The information providing device according to claim 4,
The storage unit stores information previously transmitted to the information display terminal,
When the communication processing unit receives the information distribution request from the information display terminal again,
The control unit compares the acquired latest information with the previously transmitted information, and as a result of comparison, when the latest information is different from the previously transmitted information, the control unit determines that the information has been updated,
The information providing apparatus, wherein the communication processing unit transmits the latest information to the information display terminal.
前記通信処理部は、前記運行管理システムのネットワークにブロードキャストされた前記情報を取得して前記記憶部に格納することを特徴とする情報提供装置。 The information providing device according to claim 4 or 5, wherein
The communication processing unit acquires the information broadcast to the network of the operation management system and stores the information in the storage unit.
前記情報表示端末が、前記情報提供装置に前記情報の配信要求を送信し、
前記情報提供装置は、前記配信要求を受信すると、前記情報の更新予定時間を算出し、前記情報を、算出した前記更新予定時間とともに前記情報表示端末へ送信し、
前記情報表示端末が、前記情報および前記更新予定時間を受信し、前記情報を受信して前記更新予定時間が経過した後に、前記更新予定時間に基づいて再び前記情報の配信要求を送信し、
前記情報提供装置が、前記配信要求を再度受信したとき、前記情報が前回送信時から更新されていない場合には、前記情報が更新されるのを待って、更新された前記情報を前記情報表示端末に送信することを特徴とする情報提供システム。 An information providing apparatus is an information providing system that provides information to an information display terminal via a network,
The information display terminal transmits a distribution request for the information to the information providing device;
When receiving the distribution request, the information providing apparatus calculates an update scheduled time of the information, and transmits the information to the information display terminal together with the calculated update scheduled time.
The information display terminal receives the information and the scheduled update time, and after the scheduled update time has elapsed after receiving the information, transmits the information distribution request again based on the scheduled update time,
When the information providing apparatus receives the distribution request again, if the information has not been updated since the previous transmission, the information providing apparatus waits for the information to be updated, and displays the updated information in the information display. An information providing system characterized by being transmitted to a terminal.
前記情報表示端末が、前記情報提供装置に前記情報の配信要求を送信し、
前記情報提供装置は、前記配信要求を受信すると、前記情報の更新予定時間を算出し、前記情報を、算出した前記更新予定時間とともに前記情報表示端末へ送信し、
前記情報表示端末が、前記情報および前記更新予定時間を受信し、前記情報を受信して前記更新予定時間が経過した後に、前記更新予定時間に基づいて再び前記情報の配信要求を送信し、
前記情報提供装置が、前記配信要求を再度受信したとき、前記情報が前回送信時から更新されていない場合には、前記情報が更新されるのを待って、更新された前記情報を前記情報表示端末に送信することを特徴とする情報提供方法。 An information providing method in which an information providing apparatus provides information to an information display terminal via a network,
The information display terminal transmits a distribution request for the information to the information providing device;
When receiving the distribution request, the information providing apparatus calculates an update scheduled time of the information, and transmits the information to the information display terminal together with the calculated update scheduled time.
The information display terminal receives the information and the scheduled update time, and after the scheduled update time has elapsed after receiving the information, transmits the information distribution request again based on the scheduled update time,
When the information providing apparatus receives the distribution request again, if the information has not been updated since the previous transmission, the information providing apparatus waits for the information to be updated, and displays the updated information in the information display. An information providing method comprising transmitting to a terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009255684A JP2011100370A (en) | 2009-11-09 | 2009-11-09 | Device, system and method for providing information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009255684A JP2011100370A (en) | 2009-11-09 | 2009-11-09 | Device, system and method for providing information |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011100370A true JP2011100370A (en) | 2011-05-19 |
Family
ID=44191482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009255684A Pending JP2011100370A (en) | 2009-11-09 | 2009-11-09 | Device, system and method for providing information |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011100370A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016212898A (en) * | 2012-06-26 | 2016-12-15 | アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited | Querying for business service processing status information |
JP6429953B1 (en) * | 2017-06-23 | 2018-11-28 | 鈴木 晃一 | Integrated system for creating diagrams using a web browser |
-
2009
- 2009-11-09 JP JP2009255684A patent/JP2011100370A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016212898A (en) * | 2012-06-26 | 2016-12-15 | アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited | Querying for business service processing status information |
US9911148B2 (en) | 2012-06-26 | 2018-03-06 | Alibaba Group Holding Limited | Querying for business service processing status information |
JP6429953B1 (en) * | 2017-06-23 | 2018-11-28 | 鈴木 晃一 | Integrated system for creating diagrams using a web browser |
JP2019006360A (en) * | 2017-06-23 | 2019-01-17 | 鈴木 晃一 | Diagram preparation integrated system using web browser |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109474688B (en) | Method, device, equipment and medium for sending instant communication network request message | |
CN101656617B (en) | Method for promoting advertisement, device and system thereof | |
US8799349B2 (en) | Method, system and apparatus for propagating data change notifications | |
US20090119388A1 (en) | Content relaying device and content relaying method | |
CN111314433B (en) | Message transmission method and device and electronic equipment | |
CN108228363A (en) | A kind of message method and device | |
US11283725B2 (en) | Event content delivery | |
US8930532B2 (en) | Session management in a thin client system for effective use of the client environment | |
JP5676750B2 (en) | Information processing system, information processing method, and storage medium | |
CN113094002B (en) | Message processing method, device, electronic equipment and computer medium | |
CN112838980B (en) | Message processing method, system, device, electronic equipment and storage medium | |
JP2011100370A (en) | Device, system and method for providing information | |
US20140207737A1 (en) | Method and apparatus for synchronizing knowledge service | |
US20140032744A1 (en) | Method of comparing outputs in a plurality of information systems | |
CN111737084A (en) | Information monitoring method and device, intelligent equipment, computer equipment and medium | |
CN113542424B (en) | Data processing method, device, equipment and readable storage medium | |
CN110247808B (en) | Information transmission method, device, equipment and readable storage medium | |
CN104767603A (en) | Method for providing network service, server and user terminal | |
JP2008204268A (en) | Server apparatus and request arrangement method | |
CN111897620A (en) | Interaction method and device and electronic equipment | |
CN113114606B (en) | Method and device for collecting distribution data | |
CN115221443B (en) | Information transmission method, device, system, electronic equipment and storage medium | |
CN112612959B (en) | Push information processing method, device, equipment and medium | |
CN116112640A (en) | Information transmission method, device and system | |
JP2007206950A (en) | Information delivery system, information delivery method and information delivery program |