JP5448678B2 - Stock price information display system - Google Patents
Stock price information display system Download PDFInfo
- Publication number
- JP5448678B2 JP5448678B2 JP2009220928A JP2009220928A JP5448678B2 JP 5448678 B2 JP5448678 B2 JP 5448678B2 JP 2009220928 A JP2009220928 A JP 2009220928A JP 2009220928 A JP2009220928 A JP 2009220928A JP 5448678 B2 JP5448678 B2 JP 5448678B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- thinning
- stock price
- price information
- reception
- 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
- 238000000034 method Methods 0.000 claims description 90
- 230000005540 biological transmission Effects 0.000 claims description 86
- 238000009825 accumulation Methods 0.000 claims description 41
- 238000013500 data storage Methods 0.000 claims description 24
- 230000000875 corresponding effect Effects 0.000 description 23
- 230000000694 effects Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012384 transportation and delivery Methods 0.000 description 2
- 238000013523 data management Methods 0.000 description 1
Images
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Description
本発明は、情報ベンダーから配信される株価情報を受信してデータ加工を行う株価情報受信サーバを有する株価情報表示システムに係り、特に、情報の内容に応じてデータを間引き、伝送されるデータ量を減少させると共に株価情報の表示効率を向上させる株価情報表示システムに関する。 The present invention relates to a stock price information display system having a stock price information receiving server that receives stock price information distributed from an information vendor and processes the data, and in particular, the amount of data that is thinned and transmitted according to the content of the information The present invention relates to a stock price information display system that reduces the stock price and improves the display efficiency of stock price information.
[従来の技術]
証券取引所等の情報ベンダーから配信された株価情報等は、受信サーバ、配信サーバを経由して、ネットワークを介してクライアントの端末に表示されるようになっている。
このようなシステムが、株価情報表示システムである。
[Conventional technology]
Stock price information distributed from an information vendor such as a stock exchange is displayed on a client terminal via a network via a receiving server and a distribution server.
Such a system is a stock price information display system.
[従来の株価情報表示システム:図4]
従来の株価情報表示システムについて図4を参照しながら説明する。図4は、株価情報表示システムの概略図である。
株価情報表示システムは、図4に示すように、証券取引所等の情報ベンダーの株価情報配信装置1と、株価情報配信装置1から配信された株価情報を受信してデータ加工を行う株価情報受信サーバ2と、株価情報受信サーバ2から送信された株価情報を受信し、クライアント用に変換して配信する株価情報配信サーバ3と、株価情報配信サーバ3から配信された株価情報を伝送するための伝送路(ネットワーク)となるインターネット4と、インターネット4を介して配信された株価情報を表示するクライアントの株価情報表示端末5とを備えている。
尚、株価情報表示端末5の複数が、インターネット4を介して株価情報配信サーバ3に接続している。
[Conventional stock price information display system: Fig. 4]
A conventional stock price information display system will be described with reference to FIG. FIG. 4 is a schematic diagram of a stock price information display system.
As shown in FIG. 4, the stock price information display system includes a stock price
A plurality of stock price
[従来の株価情報受信サーバでの処理:図5]
次に、従来の株価情報受信サーバ2における処理について図5を参照しながら説明する。図5は、従来の株価情報受信サーバの処理動作を示す図である。
従来の株価情報受信サーバ2は、コンピュータによって実現され、処理プログラム及びテーブル、キューを記憶する記憶部から処理プログラムを制御部が読み込んで受信プロセス21、データ蓄積プロセス22、送信プロセス23を実行可能としている。
[Processing in Conventional Stock Price Information Receiving Server: FIG. 5]
Next, processing in the conventional stock price
The conventional stock price
[受信プロセス21]
図5における受信プロセス21は、株価情報配信装置1から送信された株価情報のデータを受信し(1)、受信データキュー24に格納する(2)。
そして、受信プロセス21は、データ蓄積プロセス22に受信イベントを通知する(3)。
[Reception process 21]
The
Then, the
[データ蓄積プロセス22]
データ蓄積プロセス22は、受信プロセス21から受信イベントが通知されると、受信データキュー24からデータを取得し(4)、取得した受信データを受信データ蓄積テーブル25に銘柄単位で項目単位に蓄積する(5)。
蓄積されるデータの種類としては、「約定データ」と「複数気配データ」等がある。
また、送信データに演算が必要な情報を付加する場合には、受信データ蓄積テーブル25の項目を使用して算出し、上書きにより更新データとして蓄積する。
[Data accumulation process 22]
When the reception event is notified from the
The types of data to be accumulated include “contract data” and “multiple quotation data”.
Also, when adding information that needs to be calculated to the transmission data, it is calculated using the items in the reception data storage table 25 and stored as update data by overwriting.
そして、データ蓄積プロセス22は、受信データと算出データで送信する電文(送信データ)を作成し、送信データキュー26に設定し(6)、更新した銘柄の情報を更新通知キュー27に設定し(7)、送信プロセス23に更新銘柄通知イベントを通知する(8)。
Then, the
[送信プロセス23]
送信プロセス23は、データ蓄積プロセス22から更新銘柄通知イベントの通知を受けると、更新通知キュー27から更新された銘柄の情報を取得し(9)、送信データキュー26から取得した銘柄に対応する送信データを取得ポインタに基づいて取得し(10)(11)、送信データを送信する(12)。
このようにして、従来の株価情報受信サーバ2での処理が実行されるようになっていた。
[Transmission process 23]
When the
In this way, the processing in the conventional stock price
[関連技術]
尚、関連する先行技術として、特開2004−326395号公報「情報配信システム」(出願人:株式会社日立国際電気:特許文献1)がある。
特許文献1には、配信サーバからクライアント端末に表示データを配信する際に、クライアント端末が各々現在表示している表示データが更新されたか否かを表示データの管理コードに付与された通番により判断し、通番が更新された最新である場合に、配信サーバから各クライアント端末に対して更新された表示データを配信することが示されている。
[Related technologies]
In addition, as related prior art, there is JP-A-2004-326395 “Information Distribution System” (Applicant: Hitachi Kokusai Electric Co., Ltd .: Patent Document 1).
In
しかしながら、従来の株価情報表示システムでは、取引所からの注文・約定処理の高速化に伴い、情報量が多くなる傾向があり、ハードウェアの高速化、通信インフラの広帯域化によって表示端末まで全情報を配信することも可能であるが、株価情報配信サーバと株価情報表示端末との間に専用線等の設備が必要となり、高額なシステムになってしまうという問題点があった。 However, with conventional stock price information display systems, the amount of information tends to increase with the speed of ordering / contracting processing from exchanges. However, there is a problem that a dedicated line or the like is required between the stock price information distribution server and the stock price information display terminal, resulting in an expensive system.
具体的には、証券取引所の株価情報配信装置から配信される取引情報は、大きく分けて注文情報(複数気配情報)、約定情報、統計情報等がある。複数気配情報は、株式の売買を行う上で、株価と注文数量の傾向を見るには必要であるが、着目されている銘柄では10回/秒以上の更新が発生する場合があるので、情報量が多量となっていた。 Specifically, the transaction information distributed from the stock price information distribution apparatus of the stock exchange is roughly classified into order information (multiple quotation information), execution information, statistical information, and the like. Multi-quote information is necessary to see trends in stock prices and order quantities when buying and selling stocks, but there are cases where updates of 10 times / second or more may occur for the stocks that are of interest. The amount was large.
また、用途として、株価情報表示システムの株価情報表示端末で、株価を見る人にとって、短い時間で多量に発生する全ての更新情報(例えば、複数気配情報は10回/秒以上の更新が発生する)を目で確認することができないことから、更新情報として不要な部分が含まれることになり、それに加えネットワークの負荷を増大させ、株価情報表示端末でも頻繁な更新表示で見づらく、表示効率が低下するという問題点があった。 In addition, as a usage, all the update information that occurs in a large amount in a short time for a stock price information display terminal of the stock price information display system (for example, multiple quotation information is updated 10 times / second or more). ) Cannot be confirmed with the eye, unnecessary information is included in the update information. In addition, the load on the network increases, making it difficult to see frequent updates on stock price information display terminals, resulting in reduced display efficiency. There was a problem of doing.
本発明は上記実情に鑑みて為されたもので、株価情報のデータの種類に応じて株価情報を間引いてシステムの負荷を軽減し、表示効率を向上させ、システムがコスト高とならないようにした株価情報表示システムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and the stock price information is thinned out according to the type of stock price information data to reduce the load on the system, improve the display efficiency, and prevent the system from becoming expensive. An object is to provide a stock price information display system.
上記従来例の問題点を解決するための本発明は、情報ベンダーから配信された株価情報を受信してデータ加工して株価情報表示端末に配信する株価情報受信サーバを備える株価情報表示システムであって、株価情報受信サーバは、処理プログラムを制御部が読み込んで実現するプロセスとして、受信プロセスと、データ蓄積プロセスと、間引き制御プロセスと、送信プロセスとを備え、記憶部には受信した株価情報のデータを格納する受信データキューと、受信データの種類毎に間引き対象とするか否かを設定する間引き設定パラメータテーブルと、受信したデータを銘柄毎にデータの種類を示す項目別に記憶する受信データ蓄積テーブルと、送信データを記憶する送信データキューと、銘柄毎にデータの種類を示す項目別に受信データの更新があったか否かを示す情報を設定する更新フラグテーブルと、銘柄毎にタイマ値を設定する間引きタイマテーブルとを有し、受信プロセスは、情報ベンダーから配信された株価情報を受信し、受信データキューに格納し、データ蓄積プロセスに受信イベントを通知し、データ蓄積プロセスは、受信イベントの通知を受けると、受信データキューから受信データを取得し、受信データ蓄積テーブルに銘柄毎にデータの種類を示す項目別に受信データを更新データとして蓄積すると共に、間引き設定パラメータテーブルを参照して受信データの種類が間引き対象か否かを判定し、間引き対象でなければ、受信データ蓄積テーブルから該当する受信データを読み取って送信データキューに設定し、間引き対象であれば、更新フラグテーブルの該当する銘柄の項目に更新があったことを示す情報を設定し、間引きタイマテーブルの対応する銘柄のタイマ値が「0」であれば「1」に設定し、間引き制御プロセスは、定期的に間引きタイマテーブルのタイマ値をインクリメントし、タイマ値が特定値を超えた場合に、更新フラグテーブルを参照し、対応する銘柄の更新があった項目の受信データを送信データキューに設定すると共に、間引きタイマテーブルの該当する銘柄のタイマ値を「0」にリセットし、送信プロセスは、送信データキューに記憶された送信データを順に送信することを特徴とする。 The present invention for solving the problems of the above conventional example is a stock price information display system including a stock price information receiving server that receives stock price information distributed from an information vendor, processes the data, and distributes the data to a stock price information display terminal. The stock price information receiving server includes a reception process, a data storage process, a thinning control process, and a transmission process as processes for the processing unit to read and implement the processing program, and the storage unit stores the received stock price information. Receive data queue for storing data, decimation setting parameter table for setting whether to decimate each received data type, and received data storage for storing received data by item indicating data type for each brand Table, transmission data queue for storing transmission data, update of received data by item indicating data type for each brand An update flag table for setting information indicating whether or not there is a decimation timer table for setting a timer value for each brand, and the reception process receives the stock price information distributed from the information vendor, and receives the data queue The data accumulation process notifies the reception event to the data accumulation process. When the data accumulation process receives the notification of the reception event, the data accumulation process acquires the reception data from the reception data queue and indicates the data type for each brand in the reception data accumulation table. Received data is stored as update data for each item, and it is determined whether or not the type of received data is a thinning target by referring to the thinning setting parameter table. If it is read and set in the transmission data queue, and it is a thinning target, the corresponding in the update flag table Set information indicating that the item has been updated, and set it to “1” if the timer value of the corresponding symbol in the decimation timer table is “0”, and the decimation control process will periodically decimate When the timer value in the timer table is incremented and the timer value exceeds a specific value, the update flag table is referenced and the received data of the item for which the corresponding brand has been updated is set in the transmission data queue and the decimation timer The timer value of the corresponding brand in the table is reset to “0”, and the transmission process sequentially transmits the transmission data stored in the transmission data queue.
本発明によれば、受信プロセスが、情報ベンダーから配信された株価情報を受信し、受信データキューに格納し、データ蓄積プロセスに受信イベントを通知し、データ蓄積プロセスが、受信イベントの通知を受けると、受信データキューから受信データを取得し、受信データ蓄積テーブルに銘柄毎にデータの種類を示す項目別に受信データを更新データとして蓄積すると共に、間引き設定パラメータテーブルを参照して受信データの種類が間引き対象か否かを判定し、間引き対象でなければ、受信データ蓄積テーブルから該当する受信データを読み取って送信データキューに設定し、間引き対象であれば、更新フラグテーブルの該当する銘柄の項目に更新があったことを示す情報を設定し、間引きタイマテーブルの対応する銘柄のタイマ値が「0」であれば「1」に設定し、間引き制御プロセスが、定期的に間引きタイマテーブルのタイマ値をインクリメントし、タイマ値が特定値を超えた場合に、更新フラグテーブルを参照し、対応する銘柄の更新があった項目の受信データを送信データキューに設定すると共に、間引きタイマテーブルの該当する銘柄のタイマ値を「0」にリセットし、送信プロセスは、送信データキューに記憶された送信データを順に送信する株価情報受信サーバを備える株価情報表示システムとしているので、データの種類に応じて株価情報を特定値の間隔で間引くことができ、システムの負荷を軽減し、表示効率を向上させ、システムがコスト高とならないようにできる効果がある。 According to the present invention, a reception process receives stock price information distributed from an information vendor, stores it in a reception data queue, notifies a reception event to the data storage process, and the data storage process receives a notification of the reception event. The received data is acquired from the received data queue, the received data is stored as update data for each item indicating the data type in the received data accumulation table, and the type of received data is determined by referring to the thinning setting parameter table. If it is not a thinning target, the corresponding received data is read from the received data accumulation table and set in the transmission data queue, and if it is a thinning target, it is added to the item of the corresponding brand in the update flag table. Set the information indicating that there was an update, and the timer value of the corresponding brand in the thinning timer table If it is “0”, it is set to “1”, and the thinning-out control process periodically increments the timer value of the thinning-out timer table, and when the timer value exceeds a specific value, the update flag table is referred to and the corresponding action is taken. In addition to setting the received data of the item whose brand has been updated in the transmission data queue, the timer value of the corresponding brand in the decimation timer table is reset to “0”, and the transmission process stores the transmission data stored in the transmission data queue. Since the stock price information display system includes a stock price information receiving server that sequentially transmits the stock price information according to the type of data, the stock price information can be thinned out at specific value intervals, reducing the load on the system and improving the display efficiency. This has the effect of preventing the system from becoming expensive.
本発明の実施の形態について図面を参照しながら説明する。
[実施の形態の概要]
本発明の実施の形態に係る株価情報表示システムは、株価情報受信サーバにおいて、受信プロセスが、情報ベンダーから配信された株価情報を受信し、受信データキューに格納し、データ蓄積プロセスに受信イベントを通知し、データ蓄積プロセスが、受信イベントの通知を受けると、受信データキューから受信データを取得し、受信データ蓄積テーブルに銘柄毎にデータの種類を示す項目別に受信データを更新データとして蓄積すると共に、間引き設定パラメータテーブルを参照して受信データの種類が間引き対象か否かを判定し、間引き対象でなければ、受信データ蓄積テーブルから該当する受信データを読み取って送信データキューに設定し、間引き対象であれば、更新フラグテーブルの該当する銘柄の項目に更新があったことを示す情報を設定し、間引きタイマテーブルの対応する銘柄のタイマ値が「0」であれば「1」に設定し、間引き制御プロセスが、定期的に間引きタイマテーブルのタイマ値をインクリメントし、タイマ値が特定値を超えた場合に、更新フラグテーブルを参照し、対応する銘柄の更新があった項目の受信データを送信データキューに設定すると共に、間引きタイマテーブルの該当する銘柄のタイマ値を「0」にリセットし、送信プロセスは、送信データキューに記憶された送信データを順に送信するものとしているので、データの種類に応じて株価情報を特定値の間隔で間引くことができ、システムの負荷を軽減し、表示効率を向上させ、システムがコスト高とならないようにできるものである。
Embodiments of the present invention will be described with reference to the drawings.
[Outline of the embodiment]
In the stock price information display system according to the embodiment of the present invention, in the stock price information receiving server, the receiving process receives the stock price information distributed from the information vendor, stores it in the receiving data queue, and sends a receiving event to the data accumulation process. When the data storage process receives the notification of the reception event, the reception data is acquired from the reception data queue, and the reception data is stored as update data for each item indicating the type of data in the reception data storage table. Referring to the thinning setting parameter table, it is determined whether the type of received data is a thinning target. If it is not a thinning target, the corresponding received data is read from the reception data accumulation table and set in the transmission data queue. If this is the case, it indicates that the corresponding stock item in the update flag table has been updated. If the timer value of the corresponding brand in the decimation timer table is “0”, it is set to “1”, and the decimation control process periodically increments the timer value in the decimation timer table. When the specified value is exceeded, the update flag table is referred to, the received data of the item for which the corresponding brand has been updated is set in the transmission data queue, and the timer value of the corresponding brand in the decimation timer table is set to “0”. Since the transmission process sequentially transmits the transmission data stored in the transmission data queue, stock price information can be thinned out at specific value intervals according to the type of data, reducing the load on the system In addition, the display efficiency can be improved and the system can be prevented from becoming expensive.
また、本発明の実施の形態に係る株価情報表示システムは、株価情報受信サーバにおいて、送信データキューにおける送信待ちデータ数を送信待ちデータ数記憶部に記憶しておき、当該データ数が予め設定された上限値を上回った場合に、間引き設定パラメータテーブルの設定内容に拘らず、全て間引き対象とし、また、当該データ数が予め設定された下限値を下回った場合に、間引き設定パラメータテーブルの設定内容に拘らず、全て間引き対象としないようにしているので、送信待ちデータの数によって、間引きなし、選択的間引き処理、強制的間引き処理が実行され、本受信サーバでの効率的処理を実現できる効果がある。 In the stock price information display system according to the embodiment of the present invention, in the stock price information receiving server, the number of transmission waiting data in the transmission data queue is stored in the transmission waiting data number storage unit, and the number of data is preset. When the value exceeds the upper limit value, all items are subject to thinning regardless of the setting contents of the thinning setting parameter table, and when the number of data falls below the preset lower limit value, the setting contents of the thinning setting parameter table Regardless of the number of data to be thinned out, no thinning-out, selective thinning-out processing, and forced thinning-out processing are executed depending on the number of data waiting to be transmitted. There is.
本発明の実施の形態に係る株価情報表示システムの概略は、図4で示したシステムと基本的に同様であるが、株価情報受信サーバ2における処理プロセス及び当該処理に伴うテーブル等の内容が従来のものと異なっている。
The outline of the stock price information display system according to the embodiment of the present invention is basically the same as the system shown in FIG. 4, but the processing process in the stock price
尚、株価情報受信サーバ2は、コンピュータによって実現されるものであるから、処理を行う制御部、必要なデータ及び処理プログラム等を記憶する記憶部、ネットワークに接続するためのインタフェース部等を有するものである。
そして、記憶部に記憶された処理プログラムを制御部で動作させて後述する処理プロセスを実現するものである。
Since the stock price
Then, the processing program stored in the storage unit is operated by the control unit to realize a processing process described later.
[株価情報受信サーバ:図1]
本発明の実施の形態に係る株価情報表示システムにおける株価情報受信サーバについて図1を参照しながら説明する。図1は、本発明の実施の形態に係る株価情報受信サーバの詳細な処理動作を示す図である。図1において直線矢印がデータの流れを示し、破線矢印がイベントの流れを示し、(数字)は処理の手順を示している。
[Stock price information receiving server: Fig. 1]
A stock price information receiving server in a stock price information display system according to an embodiment of the present invention will be described with reference to FIG. FIG. 1 is a diagram showing a detailed processing operation of the stock price information receiving server according to the embodiment of the present invention. In FIG. 1, straight arrows indicate the flow of data, broken arrows indicate the flow of events, and (numerals) indicate processing procedures.
本発明の実施の形態に係る株価情報受信サーバ(本受信サーバ)は、図1に示すように、処理プロセスとして、受信プロセス21と、データ蓄積プロセス22と、送信プロセス23と、間引きプロセス31とを備え、それらプロセスを実行するに必要なデータ記憶領域として、受信データキュー24と、受信データ蓄積テーブル25と、送信データキュー26と、送信待ちデータ数記憶部32と、間引き設定パラメータテーブル33と、更新フラグテーブル34と、間引きタイマテーブル35とを有している。
As shown in FIG. 1, the stock price information receiving server (present receiving server) according to the embodiment of the present invention includes, as processing processes, a
本受信サーバ2における詳細な処理動作を説明する前に、受信データキュー24と、受信データ蓄積テーブル25、送信データキュー26と、送信待ちデータ数記憶部32と、間引き設定パラメータテーブル33と、更新フラグテーブル34と、間引きタイマテーブル35の内容について説明する。
Before explaining the detailed processing operation in the
[受信データキュー24]
受信データキュー24は、受信プロセス21から受信データが格納され、データ蓄積プロセス22が受信通知イベントにより読み出すものである。
[Reception data queue 24]
The
[受信データ蓄積テーブル25]
受信データ蓄積テーブル25は、データ蓄積プロセス22によって銘柄(銘柄ID、銘柄コード、銘柄名等)毎に、約定した4本値データ(4P)、約定に一番目に近い気配データ(Q1)、約定に二番目に近い気配データ(Q2)、…等が項目(データの種類)毎に記憶されるものである。
尚、受信データ蓄積テーブル25は、受信データによって更新されると、データ内容を上書きして書き換えを行うものとなっている。
[Reception data accumulation table 25]
The received data accumulation table 25 includes four-value data (4P) contracted for each brand (brand ID, brand code, brand name, etc.) by the
The received data storage table 25 is rewritten by overwriting data contents when updated with received data.
[送信データキュー26]
送信データキュー26は、間引き処理が為されない場合には、データ蓄積プロセス22が受信データ蓄積テーブル25を基に送信データを設定するものであり、間引き処理が為される場合には、間引き制御プロセス31が受信データ蓄積テーブル25を基に送信データを設定するものであり、送信プログラム23がキューの先頭から送信データを株価情報配信サーバ3に送信するものである。
[Transmission data queue 26]
In the
[送信待ちデータ数記憶部32]
送信待ちデータ数記憶部32は、送信待ちのデータ数を記憶するもので、データ蓄積プロセス22が送信データを送信データキュー26に設定すると「+1」(加算)され、送信プロセス23が送信処理を行うと「−1」(減算)される。
[Transmission Waiting Data Number Storage Unit 32]
The transmission waiting data
[間引き設定パラメータテーブル33]
間引き設定パラメータテーブル33は、受信データに付されるタグ(データの種類:項目)毎に、間引きを「する」又は「しない」が予め設定されているものである。「する」と設定されているタグの受信データは間引きの対象となり、「しない」と設定されているタグの受信データは間引きの対象とならない。
[Thinning setting parameter table 33]
In the thinning setting parameter table 33, “Yes” or “No” is set in advance for each tag (data type: item) attached to received data. The received data of the tag set to “Yes” is subject to thinning, and the received data of the tag set to “No” is not subject to thinning.
但し、送信待ちデータ数の数値によっては間引き設定パラメータテーブル33を参照しないで、全ての受信データを間引きなしで送信したり、全ての受信データを間引きして送信するようになっている。詳細は後述する。 However, depending on the numerical value of the number of data waiting to be transmitted, all the received data is transmitted without decimation or all the received data is deciphered without referring to the decimation setting parameter table 33. Details will be described later.
[更新フラグテーブル34]
更新フラグテーブル34は、銘柄(銘柄ID等)毎に、4P,Q1,…のデータについて更新があった場合に、データ蓄積プロセス22が当該銘柄について項目(データの種類)毎に「あり」を設定し、更新がない場合は「なし」を設定し、間引き制御プロセス31が送信データキュー26に更新データを設定した場合に、「あり」を「なし」に変更(クリア)する。
[Update flag table 34]
In the update flag table 34, when the data of 4P, Q1,... Is updated for each brand (brand ID, etc.), the
[間引きタイマテーブル35]
間引きタイマテーブル35は、銘柄(銘柄ID等)毎に、タイマ値が設定されるもので、データ蓄積プロセス22が「0」にリセットし、また、「1」にセットし、間引き制御プロセス31が「+1」にセット(加算)し、また、「0」にリセットする。詳細は後述する。
[Thinning timer table 35]
In the thinning timer table 35, a timer value is set for each brand (brand ID, etc.). The
次に、図1における受信プロセス21、データ蓄積プロセス22、送信プロセス23、間引き制御プロセス31について具体的に説明する。
[受信プロセス21]
受信プロセス21は、株価情報配信装置1からのデータを受信し(1)、受信データキュー24に格納する(2)。そして、受信プロセス21は、データ蓄積プロセス22にデータ受信があったことを知らせる受信イベントを通知する(3)。
Next, the
[Reception process 21]
The
[データ蓄積プロセス22:図2]
次に、データ蓄積プロセス22の具体的処理について図1,2を参照しながら説明する。図2は、データ蓄積プロセス22における処理フローチャートである。図2において、(S数字)は処理ステップの順番を示している。
データ蓄積プロセス22は、図1及び図2に示すように、受信プロセス21から受信イベントの通知があるか否かを判定し(S1)、通知があると(Yesの場合)、受信データキュー24から受信データを取得する(4)(S2)。通知がなければ(Noの場合)、判定処理S1を繰り返す。
[Data accumulation process 22: FIG. 2]
Next, specific processing of the
As shown in FIGS. 1 and 2, the
データ蓄積プロセス22は、受信データキュー24から取得したデータを受信データ蓄積テーブル25に銘柄単位で項目単位に蓄積する(5)(S2)。例えば、受信データが銘柄Bについて約定に1〜16番目に近い気配データ(Q1〜Q16データ)の場合、受信データ蓄積テーブル25において銘柄BのQ1〜Q16の欄に当該受信データが設定(更新)される。
The
更に、データ蓄積プロセス22は、送信待ちデータ数記憶部32の送信待ちデータ数を参照し、第1の基準値(基準値A)より小さい場合に「間引きなし」を選択し、第2の基準値(基準値B)より大きい場合に「強制的間引き処理」を選択し、送信待ちデータ数が基準値A以上基準値B以下の場合(基準値A≦送信待ちデータ数≦基準値B)、選択的間引き処理を選択する(6−1)(S3)。
Further, the
また、データ蓄積プロセス22は、「選択的間引き処理」の場合、間引き設定パラメータテーブル33を参照し(6−2)、受信データに付されたタグが間引き対象か否かを判定する(S4)。受信データが間引き対象でなければ(Noの場合)、処理S5に移行し、受信データが間引き対象であれば(Yesの場合)、処理S8に移行する。
In the case of “selective thinning process”, the
そして、データ蓄積プロセス22は、「間引きなし」の場合、及び間引き対象でない場合(Noの場合)は、受信データを送信データに編集し、送信データキュー26に格納し(7)(S5)、送信待ちデータ数を「+1」し、対応する銘柄の項目について更新フラグテーブル34に更新「なし」を設定する(8−1)(S6)。
次に、データ蓄積プロセス22は、間引きタイマテーブル35の対応する銘柄についてタイマ値を「0」にリセットして(8−2)(S7)、処理を終了する。
The
Next, the
また、データ蓄積プロセス22は、「強制的間引き処理」の場合、及び間引き対象である場合(Yesの場合)は、更新フラグテーブル34の対応する銘柄の項目について更新「有り」を設定し(8−1)(S8)、間引きタイマテーブル35の対応する銘柄のタイマ値が「0」であるか否か(タイマ値=0?)を判定し(S9)、「0」でなければ(Noの場合)、処理を終了し、「0」であれば(Yesの場合)、対応する銘柄のタイマ値を「1」にセットして(8−2)(S10)、処理を終了する。
Further, in the case of “forced thinning process” and when the
[間引き制御プロセス31:図3]
次に、間引き制御プロセス31の具体的処理について図1,3を参照しながら説明する。図3は、間引き制御プロセス31における処理フローチャートである。図3において、(S数字)は処理ステップの順番を示している。
間引き制御プロセス31は、図1及び図3に示すように、定期的に起動し、間引きタイマテーブル35を参照し(S11)、タイマ値が「0」以外のタイマ値を「+1」(加算)する処理を行う(S12)。
[Thinning control process 31: FIG. 3]
Next, specific processing of the thinning
As shown in FIGS. 1 and 3, the thinning
そして、間引き制御プロセス31は、間引きタイマテーブル35のタイマ値が特定の値を超えたか否かを判定する(9−1)(S13)。ここで、特定の値とは、間引き処理の間隔を規定するもので、値が大きい場合は間引き間隔が長く、値が小さい場合は間引き間隔が短いものとなる。
Then, the thinning
判定処理S13で、特定の値を超えていなければ(Noの場合)、処理を終了する。
また、判定処理S13で、特定の値を超えていれば(Yesの場合)、間引き制御プロセス31は、タイマ値が特定の値を超えた銘柄について、更新フラグテーブル34を参照し、更新ありの項目全ての更新データについて送信データを編集し、送信データキュー26に格納する(9−2)(S14)。
If the specific value is not exceeded in the determination process S13 (in the case of No), the process is terminated.
If the specific value is exceeded in the determination process S13 (in the case of Yes), the thinning-
そして、間引き制御プロセス31は、更新フラグテーブル34において送信データの編集を行った銘柄の項目について、更新「なし」を設定する(S15)。
更に、間引き制御プロセス31は、間引きタイマテーブル35において対応する銘柄のタイマ値を「0」にリセットする処理を行い(9−1)(S16)、処理を終了する。
Then, the thinning-
Further, the thinning
[送信プロセス23]
送信プロセス23は、送信データキュー26のキューの先頭から送信データを株価情報配信サーバ3に送信する(10)。
そして、送信プロセス23は、送信データを送信すると、送信待ちデータ数記憶部32の送信待ちデータ数を「−1」(減算)する処理を行う。
[Transmission process 23]
The
Then, when transmitting the transmission data, the
[実施の形態の効果]
本受信サーバによれば、受信した株式情報のデータ項目毎に付されたタグに応じて間引き処理の対象とするか否かを間引き設定パラメータテーブル33に設定しておき、間引き対象となっているタグに関する銘柄のデータを受信すると、データ蓄積プロセス22が、更新フラグテーブル34に当該銘柄の対応項目に更新「あり」を設定して、間引きタイマテーブル35に「1」を設定し、間引き制御プロセス31が、定期的に間引きタイマテーブル35の値をインクリメントして特定値を超えた場合に、受信データ蓄積テーブル25に格納された受信データを送信データキュー26にセットして送信プロセス23が送信処理を行うようにしているので、間引き設定パラメータテーブル33で間引き対象となっている項目が特定値の間隔で間引くことができ、システムの負荷を軽減でき、株価情報表示端末での表示効率を向上させることができる。
[Effect of the embodiment]
According to this receiving server, whether or not to be subject to thinning processing is set in the thinning setting parameter table 33 in accordance with the tag attached to each received stock information data item, and is subject to thinning. When receiving the data of the brand related to the tag, the
また、本受信サーバによれば、送信データキュー26における送信待ちデータ数を送信待ちデータ数記憶部32に記憶しておき、そのデータ数が予め設定された上限値を上回った場合に、間引き設定パラメータテーブル33の設定内容に拘らず、全て間引き対象とし、また、そのデータ数が予め設定された下限値を下回った場合に、間引き設定パラメータテーブル33の設定内容に拘らず、全て間引き対象としないようにしているので、送信待ちデータの数によって、間引きなし、選択的間引き処理、強制的間引き処理が実行され、本受信サーバでの効率的処理を実現できる効果がある。
Further, according to the present reception server, the number of data waiting for transmission in the
[別の実施の形態]
次に、別の実施の形態に係る株価情報受信サーバ(別の受信サーバ)について説明する。
別の受信サーバは、間引き設定パラメータテーブル33を時間帯毎に保持し、データ蓄積プロセス22が、データの受信時間から該当する時間帯の間引き設定パラメータテーブル33を選択し、選択された間引き設定パラメータテーブル33の内容に従って、間引き処理を実行するものである。
[Another embodiment]
Next, a stock price information receiving server (another receiving server) according to another embodiment will be described.
Another receiving server holds the thinning setting parameter table 33 for each time period, and the
また、別の受信サーバは、間引き設定パラメータテーブル33で、時間帯毎に、間引きの「あり」「なし」を設定し、データ蓄積プロセス22が、データの受信時間に応じて間引きの「あり」「なし」を読み取って、間引き対象については間引き処理を実行するものである。
In addition, another receiving server sets “Yes” or “No” for thinning for each time period in the thinning setting parameter table 33, and the
別の受信サーバによれば、時間帯で間引き方法を変更することが可能となり、例えば、取引の寄り付き時(9:00〜9:15)は、気配情報のみを間引きし、約定情報は間引きしない設定とするが、場が落ち着いた頃(9:15以降)は、全ての情報に関して間引きしない設定とすることができ、取引の実情に応じた間引き処理を実現できる効果がある。 According to another receiving server, it is possible to change the thinning method in the time zone. For example, when dealings are close (9: 00: 9-9: 15), only the quotation information is thinned out, and the contract information is not thinned out. Although it is set, when the place is settled (after 9:15), it is possible to set so that all information is not thinned, and there is an effect that thinning processing according to the actual situation of the transaction can be realized.
本発明は、株価情報のデータの種類に応じて株価情報を間引いてシステムの負荷を軽減し、表示効率を向上させ、システムがコスト高とならない株価情報表示システムに好適である。 The present invention is suitable for a stock price information display system in which stock price information is thinned out according to the type of data of stock price information to reduce the load on the system, improve display efficiency, and the system does not increase in cost.
1…株価情報配信装置、 2…株価情報受信サーバ、 3…株価情報配信サーバ、 4…インターネット、 5…株価情報表示端末、 21…受信プロセス、 22…データ蓄積プロセス、 23…送信プロセス、 24…受信データキュー、 25…受信データ蓄積テーブル、 26…送信データキュー、 27…更新通知キュー、 31…間引き制御プロセス、 32…送信待ちデータ数記憶部、 33…間引き設定パラメータテーブル、 34…更新フラグテーブル、 35…間引きタイマテーブル
DESCRIPTION OF
Claims (1)
前記株価情報受信サーバは、処理プログラムを制御部が読み込んで実現するプロセスとして、受信プロセスと、データ蓄積プロセスと、間引き制御プロセスと、送信プロセスとを備え、
前記記憶部には受信した株価情報のデータを格納する受信データキューと、受信データの種類毎に間引き対象とするか否かを設定する間引き設定パラメータテーブルと、受信したデータを銘柄毎にデータの種類を示す項目別に記憶する受信データ蓄積テーブルと、送信データを記憶する送信データキューと、銘柄毎にデータの種類を示す項目別に受信データの更新があったか否かを示す情報を設定する更新フラグテーブルと、銘柄毎にタイマ値を設定する間引きタイマテーブルとを有し、
前記受信プロセスは、前記情報ベンダーから配信された株価情報を受信し、前記受信データキューに格納し、前記データ蓄積プロセスに受信イベントを通知し、
前記データ蓄積プロセスは、前記受信イベントの通知を受けると、前記受信データキューから受信データを取得し、前記受信データ蓄積テーブルに銘柄毎にデータの種類を示す項目別に受信データを更新データとして蓄積すると共に、前記間引き設定パラメータテーブルを参照して受信データの種類が間引き対象か否かを判定し、間引き対象でなければ、前記受信データ蓄積テーブルから該当する受信データを読み取って前記送信データキューに設定し、間引き対象であれば、前記更新フラグテーブルの該当する銘柄の項目に更新があったことを示す情報を設定し、前記間引きタイマテーブルの対応する銘柄のタイマ値が「0」であれば「1」に設定し、
前記間引き制御プロセスは、定期的に前記間引きタイマテーブルのタイマ値をインクリメントし、タイマ値が特定値を超えた場合に、前記更新フラグテーブルを参照し、対応する銘柄の更新があった項目の受信データを前記送信データキューに設定すると共に、前記間引きタイマテーブルの該当する銘柄のタイマ値を「0」にリセットし、
前記送信プロセスは、前記送信データキューに記憶された送信データを順に送信することを特徴とする株価情報表示システム。 A stock price information display system including a stock price information receiving server that receives stock price information distributed from an information vendor, processes the data, and distributes the data to a stock price information display terminal,
The stock price information reception server includes a reception process, a data storage process, a thinning control process, and a transmission process as processes for realizing a processing program read by a control unit,
In the storage unit, a received data queue for storing received stock price information data, a thinning setting parameter table for setting whether or not to be a thinning target for each type of received data, and received data for each brand Received data accumulation table for storing items for each type, transmission data queue for storing transmitted data, and update flag table for setting information indicating whether or not received data has been updated for each item indicating the type of data And a thinning timer table for setting a timer value for each brand,
The reception process receives stock price information distributed from the information vendor, stores the stock price information in the reception data queue, notifies the data accumulation process of a reception event,
Upon receiving the notification of the reception event, the data storage process acquires the reception data from the reception data queue, and stores the reception data as update data for each item indicating the type of data in the reception data storage table. In addition, referring to the thinning setting parameter table, it is determined whether or not the type of reception data is a thinning target, and if it is not a thinning target, the corresponding reception data is read from the reception data accumulation table and set in the transmission data queue If it is a thinning target, information indicating that the corresponding brand item in the update flag table has been updated is set. If the timer value of the corresponding brand in the thinning timer table is “0”, “ 1 ”,
The thinning-out control process periodically increments the timer value of the thinning-out timer table, and when the timer value exceeds a specific value, the update flag table is referred to and an item having a corresponding brand update is received. While setting the data in the transmission data queue, the timer value of the corresponding brand in the thinning timer table is reset to “0”,
The stock price information display system, wherein the transmission process sequentially transmits the transmission data stored in the transmission data queue.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009220928A JP5448678B2 (en) | 2009-09-25 | 2009-09-25 | Stock price information display system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009220928A JP5448678B2 (en) | 2009-09-25 | 2009-09-25 | Stock price information display system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011070404A JP2011070404A (en) | 2011-04-07 |
JP5448678B2 true JP5448678B2 (en) | 2014-03-19 |
Family
ID=44015636
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009220928A Expired - Fee Related JP5448678B2 (en) | 2009-09-25 | 2009-09-25 | Stock price information display system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5448678B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116433383B (en) * | 2023-06-12 | 2023-10-31 | 宁波森浦融讯科技有限公司 | Data processing method, device, electronic equipment and computer readable storage medium |
-
2009
- 2009-09-25 JP JP2009220928A patent/JP5448678B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011070404A (en) | 2011-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108616444B (en) | A kind of PUSH message processing method, computer readable storage medium and terminal device | |
US8719825B2 (en) | Prompting for execution or delay of scheduled job | |
CN107093141B (en) | Product object processing method and device | |
CN111277847B (en) | Method, device, server and system for displaying chat messages in live broadcast | |
EP3742376A1 (en) | Method, apparatus, device and system for processing commodity transaction, and storage medium | |
CA2953667A1 (en) | Information processing device and program | |
CN110474917B (en) | Message middleware online and offline method, device, equipment and readable storage medium | |
US20120169477A1 (en) | Communications system and method of communicating display information, and electronic shelf label system using the same | |
JP2014225249A (en) | Vegetation contract matching system, server, method, and program | |
JP6884984B2 (en) | Vending machine calibration system, management server, vending machine, vending machine calibration method and program | |
CN110457634A (en) | Information publishing method and device, electronic equipment and computer readable storage medium | |
JP5448678B2 (en) | Stock price information display system | |
CN112150182B (en) | Multimedia file pushing method and device, storage medium and electronic device | |
JP5266818B2 (en) | Inventory management device, inventory management method, and program | |
JP6068382B2 (en) | Calculation device, calculation method, and calculation program | |
JP2006171807A (en) | Alert information display method and alert information display program | |
WO2005022320A2 (en) | Selecting among advertisements competing for a slot associated with electronic content delivered over a network | |
JP2010204817A (en) | Information goods vending machine system, method thereof and program thereof | |
JP2011070413A (en) | Stock price information display system | |
JP6186062B2 (en) | Calculation device, calculation method, and calculation program | |
JP6514834B2 (en) | Delivery device, delivery method, program, and non-transitory computer readable information recording medium | |
JP2009176018A (en) | Auction system, server and auction method | |
JP5214773B2 (en) | Lottery purchase system, lottery purchase system control method, program, and recording medium | |
US20140188653A1 (en) | Selection device, selection method, program, and recording medium | |
KR101616175B1 (en) | Message brokering method, message processing method and device for performing the method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120904 |
|
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: 20131210 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20131224 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5448678 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |