JP2010039840A - Data distribution system - Google Patents
Data distribution system Download PDFInfo
- Publication number
- JP2010039840A JP2010039840A JP2008203199A JP2008203199A JP2010039840A JP 2010039840 A JP2010039840 A JP 2010039840A JP 2008203199 A JP2008203199 A JP 2008203199A JP 2008203199 A JP2008203199 A JP 2008203199A JP 2010039840 A JP2010039840 A JP 2010039840A
- Authority
- JP
- Japan
- Prior art keywords
- data
- editing
- serial number
- server
- processing
- 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 description 22
- 230000006870 function Effects 0.000 description 18
- 238000013500 data storage Methods 0.000 description 17
- 230000005540 biological transmission Effects 0.000 description 14
- 230000010076 replication Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 230000003362 replicative effect Effects 0.000 description 2
- 230000001174 ascending effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
Images
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
本発明は、証券・金融等のデータを配信する情報配信システムに係り、特に、受信データを編集する編集サーバの負荷を分散させるデータ配信システムに関する。 The present invention relates to an information distribution system for distributing data such as securities and finance, and more particularly to a data distribution system that distributes the load of an editing server that edits received data.
証券取引所等に設置されたホストコンピュータから送信された証券・金融等の売買・約定データを編集サーバで受信し、該データを編集サーバで編集処理した後、該編集処理した編集済みデータを、複数のクライアント端末に対して配信するデータ配信システムがある。
従来のデータ配信システムについて、図6を参照しながら説明する。図6は、従来のデータ配信システムの全体構成図である。
従来のデータ配信システムは、図6に示すように、証券・金融等のデータを電文で送信するホストコンピュータの情報提供元装置1′と、情報提供元装置1′から電文を受信した後、編集してクライアント端末3′に配信する編集サーバ2′と、編集サーバ2′から配信された表示データを受信して表示する複数のクライアント端末3′とから構成されている。
The editing server receives trading / contract data such as securities / finance transmitted from a host computer installed on a stock exchange, etc., and the editing server edits the data. There is a data distribution system that distributes to a plurality of client terminals.
A conventional data distribution system will be described with reference to FIG. FIG. 6 is an overall configuration diagram of a conventional data distribution system.
The conventional data distribution system, as shown in FIG. 6, edits after receiving a message from the information providing
尚、関連する先行技術として、特願2007−168982号(特許文献1)がある。 As a related prior art, there is Japanese Patent Application No. 2007-168982 (Patent Document 1).
特許文献1には、上位サーバ(ホストコンピュータ)から配信された情報を複数の編集サーバで受信し、編集した後、配信サーバを経て、クライアント端末に表示データを配信することが示されている。
このように、配信する情報データの量が多い場合、従来ではサーバの負荷を分散するため、特許文献1のように、編集サーバを複数設置し、取引場所(売買・約定データ等の情報が発生する証券取引所等の区分)や業種や銘柄コードにより各編集サーバの処理担当範囲を分けて編集処理を行っていた。
As described above, when the amount of information data to be distributed is large, conventionally, in order to distribute the load on the server, a plurality of editing servers are installed as in
しかしながら、上記した各編集サーバで受信する受信電文の総量や頻度(単位時間当たりの受信電文量)は、年月日といった時期や、一日のうちの時刻により変動するものであるが、必ずしも全銘柄を通して平均的に変動するわけではなく、特定の取引場所や銘柄、業種に集中して変動することが少なくなく、その場合は、特定の編集サーバに負荷が集中することになり、十分な負荷分散を実現することが困難であった。 However, the total amount and frequency of received messages received by each editing server described above (the amount of received messages per unit time) fluctuates depending on the time of year, month and day, and the time of day. It does not fluctuate on average across brands, but often fluctuates with a particular trading location, brand, or industry. In such a case, the load is concentrated on a specific editing server, which is sufficient. It was difficult to achieve dispersion.
本発明は上記実情に鑑みて為されたもので、例え同一銘柄に関する受信電文を連続して受信したときでも、特定の編集サーバに負荷を集中させることなく、複数の編集サーバで平均した処理ができるようにすることにより、負荷分散の効率を向上させた証券・金融データ配信システムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and even when received messages related to the same brand are continuously received, processing averaged by a plurality of editing servers is performed without concentrating the load on a specific editing server. An object of the present invention is to provide a securities / financial data distribution system in which load distribution efficiency is improved.
上記課題を解決するための第1の発明は、証券・金融の売買・約定データの配信システムであって、受信したデータに対し、受信した順番に処理通番を付与する通番付与手段と、前記通番付与手段から送られた処理通番付データを編集処理する複数の編集手段と、前記複数の編集手段から送られた複数の編集済みデータを前記処理通番順に配信する配信手段とを備え、前記複数の編集手段が、それぞれ同一の編集処理機能を有し、前記通番付与手段から送られた複数の処理通番付データを並列処理するようにしたデータ配信システムであることを特徴とする。 A first invention for solving the above-mentioned problem is a distribution system for securities / financial trading / contract data, in which serial number giving means for giving processing serial numbers to received data in the order received, and the serial numbers A plurality of editing means for editing the processing sequence numbered data sent from the assigning means, and a delivery means for delivering the plurality of edited data sent from the plurality of editing means in the order of the processing sequence numbers, The editing means is a data distribution system that has the same editing processing function and that processes a plurality of processing serial number data sent from the serial number assigning means in parallel.
上記課題を解決するための第2の発明は、前記第1の発明のデータの配信システムにおいて、前記複数の編集手段のそれぞれが、他の編集手段で編集処理された編集済みデータ、及び該編集済みデータの処理通番を複製するための編集済みデータ・通番複製手段を有することを特徴とする。 According to a second invention for solving the above-mentioned problem, in the data distribution system according to the first invention, each of the plurality of editing means is edited data processed by another editing means, and the editing It is characterized by having edited data / serial number duplicating means for duplicating the processed serial number of the completed data.
上記課題を解決するための第3の発明は、前記第1の発明あるいは第2の発明のデータの配信システムにおいて、前記複数の編集手段のそれぞれが、前記通番付与手段、前記配信手段とは別のサーバから構成されることを特徴とする。すなわち、受信した電文に対し受信した順番に処理通番を付与する通番付与手段と、前記通番付与手段から送られた処理通番付電文を編集処理する複数の編集サーバと、前記複数の編集サーバから送られた複数の編集済み電文を前記処理通番順に配信する配信手段とを備え、前記複数の編集サーバが、それぞれ同一の編集処理機能を有し、前記通番付与手段から送られた複数の処理通番付電文を並列処理するようにしている
この場合、通番付与手段と配信手段は、それぞれ別のサーバに収容してもよいし、同一のサーバに収容してもよい。
According to a third invention for solving the above-mentioned problem, in the data distribution system according to the first or second invention, each of the plurality of editing means is different from the serial number assigning means and the distribution means. It is comprised from the server of this. That is, a serial number assigning unit that assigns processing sequence numbers to received messages in the order received, a plurality of editing servers that edit the processing sequence numbered messages sent from the serial number assigning units, and a plurality of editing servers Distribution means for delivering the plurality of edited electronic messages in the order of the processing sequence numbers, wherein the plurality of editing servers each have the same editing processing function, and the plurality of processing sequence numbers sent from the sequence number giving means In this case where the electronic messages are processed in parallel, the serial number assigning means and the delivery means may be accommodated in different servers or in the same server.
上記課題を解決するための第4の発明は、証券・金融の売買・約定データの配信システムであって、受信したデータに対し、受信した順番に処理通番を付与する通番付与手段と、前記通番付与手段から送られた処理通番付データを編集処理する複数の編集手段とを備え、前記複数の編集手段が、それぞれ同一の編集処理機能を有し、前記通番付与手段から送られた複数の処理通番付データを並列処理するようにしたデータ配信システムであることを特徴とする。 A fourth invention for solving the above-mentioned problem is a distribution system for securities / financial trading / contract data, wherein serial number giving means for giving processing serial numbers to received data in the order received, and the serial numbers A plurality of editing means for editing the process serial number data sent from the assigning means, the plurality of editing means each having the same editing processing function, and a plurality of processes sent from the serial number giving means The data distribution system is characterized in that serial numbered data is processed in parallel.
第1の発明によれば、受信したデータに対し受信した順番に処理通番を付与する通番付与手段と、前記通番付与手段から送られた処理通番付データを編集処理する複数の編集手段と、前記複数の編集手段から送られた複数の編集済みデータを前記処理通番順に配信する配信手段とを備え、前記複数の編集手段が、それぞれ同一の編集処理機能を有し、前記通番付与手段から送られた複数の処理通番付データを並列処理するようにしているので、例え同一銘柄の受信データが短時間の間に集中したとしても、編集手段の負荷を分散させるとともに、受信したデータの順番を逆転させることなく、受信した順番で配信できる効果がある。 According to the first invention, serial number assigning means for assigning process serial numbers to the received data in the order received, a plurality of editing means for editing the process serial number data sent from the serial number assigning means, Distribution means for distributing a plurality of edited data sent from a plurality of editing means in the order of the processing sequence numbers, each of the plurality of editing means having the same editing processing function, and sent from the sequence number giving means In addition, since multiple processing sequence numbered data are processed in parallel, even if received data of the same brand is concentrated in a short time, the load of the editing means is distributed and the order of the received data is reversed. There is an effect that it is possible to distribute in the order received.
第2の発明によれば、前記第1の発明において、前記複数の編集手段のそれぞれが、他の編集手段で編集処理された編集済みデータ、及び該編集済みデータの処理通番を複製するための編集済みデータ・通番複製手段を有するようにしているので、複数の編集手段から配信手段に送出されるデータの順番を、ほぼ、ホストコンピュータから送出されるデータの順番とすることができ、複数の編集済みデータを前記処理通番順に配信する配信手段の負荷を軽減することができる効果がある。
なお、通番付与手段から編集手段に送出されるデータが一定以上の時間間隔を有しており、編集手段から送出されるデータ送出順序の逆転が生じない場合や、編集手段から配信手段に送出されるデータの順番に厳密さが要求されない場合、つまり、短時間の間でのデータ送出順序の逆転を許容できるような場合は、配信手段を省略することも可能である。このような場合は、第4の発明の構成とすることができる。
According to a second invention, in the first invention, each of the plurality of editing means replicates the edited data edited by the other editing means and the processing sequence number of the edited data. Since the edited data / serial number duplicating means is provided, the order of the data sent from the plurality of editing means to the delivery means can be almost the order of the data sent from the host computer. There is an effect that it is possible to reduce the load on the distribution means for distributing the edited data in the order of the processing sequence numbers.
It should be noted that the data sent from the serial number assigning means to the editing means has a certain time interval and the data sending order sent from the editing means is not reversed or sent from the editing means to the distribution means. When strictness is not required for the order of data to be transmitted, that is, when the reverse of the data transmission order within a short period of time can be allowed, the distribution means can be omitted. In such a case, it can be set as the structure of 4th invention.
第3の発明によれば、前記第1の発明あるいは第2の発明において、前記複数の編集手段のそれぞれが、前記通番付与手段、前記配信手段とは別のサーバから構成されるようにしているので、例えば特定銘柄の受信電文が増加して編集サーバの負荷が増加した場合に、編集サーバを増設することにより、容易に対応することができる効果がある。 According to a third invention, in the first invention or the second invention, each of the plurality of editing means is constituted by a server different from the serial number assigning means and the delivery means. Therefore, for example, when the number of received messages of a specific brand increases and the load on the editing server increases, there is an effect that it is possible to easily cope with the problem by adding the editing server.
[実施の形態の概要]
本発明の実施の形態に係るデータ配信システムは、証券・金融の売買・約定データの配信システムであって、受信した電文に対し、受信した順番に処理通番を付与する通番付与サーバと、前記通番付与サーバから送られた処理通番付電文を編集処理する複数の編集サーバと、前記複数の編集サーバから送られた複数の編集済み電文が処理通番順に配信予定となっているかチェックし、処理通番順に制御して配信する配信サーバとを備え、前記複数の編集サーバが、それぞれ同一の編集処理機能を有し、前記通番付与サーバから送られた複数の処理通番付電文を並列処理するようにし、更に、前記複数の編集サーバのそれぞれが、他の編集サーバで編集処理された編集済みデータ、及び該編集済みデータの処理通番を複製するための編集済みデータ・通番複製部を有するものである。
[Outline of the embodiment]
A data distribution system according to an embodiment of the present invention is a distribution system for securities / financial trading / contract data, a serial number assigning server that assigns a processing serial number to a received message in the order received, and the serial number Check whether multiple editing servers that edit the processing sequence numbered messages sent from the grant server and the plurality of edited messages sent from the plurality of editing servers are scheduled to be distributed in the order of processing sequence numbers. A plurality of editing servers each having the same editing processing function, and performing parallel processing on a plurality of processing sequence numbered messages sent from the sequence number assigning server, Each of the plurality of editing servers edits the edited data edited by the other editing servers and the edited data for duplicating the processing sequence number of the edited data. And it has a data-communication number replication unit.
[本システムの全体構成:図1]
本発明の実施の形態に係るデータ配信システムについて図1を参照しながら説明する。図1は、本発明の実施の形態に係るデータ配信システムの全体構成図である。
本発明の実施の形態に係るデータ配信システム(本システム)は、図1に示すように、各証券取引所などのホストコンピュータ1からネットワーク10を介して受信した証券関連や金融関連の売買データ、約定データを含む電文に処理通番を付与する1台の通番付与サーバ2と、前記通番付与サーバ2から受信した電文を端末5向けに編集し、LAN等のネットワーク11を介して配信する複数台の編集サーバ3と、前記複数の編集サーバ3から送出された電文をネットワーク12を介して受信して処理通番順に制御して配信する配信サーバ4と、配信サーバ4から送出された電文をネットワーク14を介して受信して表示する端末5を備えている。
[Overall configuration of this system: Fig. 1]
A data distribution system according to an embodiment of the present invention will be described with reference to FIG. FIG. 1 is an overall configuration diagram of a data distribution system according to an embodiment of the present invention.
As shown in FIG. 1, the data distribution system (this system) according to the embodiment of the present invention includes securities-related and financial-related trading data received from a
本システムの各サーバについて具体的に説明する。
[通番付与サーバ]
通番付与サーバ2は、機能として受信部21、送信部24、通番付与部22、記憶部23を有し、ハードウェアとして少なくともCPU、メモリを備える。通番付与サーバ2は、各取引場所から受信した証券関連や金融関連の売買データ、約定データを含む電文を受信部21により受信して記憶部23に格納し、通番付与部22により処理通番を付与し、該処理通番を付与した電文を下位サーバである編集サーバ3に、送信部24によりLAN等のネットワーク11を介して配信する。通番付与サーバ2の機能としては、受信電文の量が増大することによる負荷増加に対応する能力を大きくするため、送受信機能の他は電文編集機能等を有さず、処理通番を付与する機能のみを有するものとすることが望ましい。
Each server of this system will be specifically described.
[Serial number assignment server]
The serial
図2は、証券取引所から受信する証券データを含む電文の一例である。電文サイズは、その電文が例えば何バイトであるかといった電文長を示す。情報種別は、株式、為替、ニュース等の情報種別を示す。本実施の形態においては、情報種別は株式を示している。銘柄IDは、一意の銘柄を特定するコードである。取引場所は、その電文が示す情報の取引が行われた、東京証券取引所、大阪証券取引所などの証券取引所を示すコードである。業種は、前記銘柄IDにより特定される銘柄の業種を示すコードである。始値、高値、安値、現在値は、前記銘柄IDにより特定される銘柄の株式の始値、高値、安値、現在値を示すデータであり、端末において表示する表示対象データである。 FIG. 2 is an example of a message including securities data received from a stock exchange. The message size indicates a message length such as how many bytes the message is. The information type indicates the information type such as stock, exchange rate, news, and the like. In the present embodiment, the information type indicates stock. The brand ID is a code that identifies a unique brand. The trading place is a code indicating a stock exchange such as the Tokyo Stock Exchange or the Osaka Stock Exchange where the information indicated by the message was traded. The industry type is a code indicating the industry type of the brand specified by the brand ID. The opening price, the high price, the low price, and the current price are data indicating the opening price, the high price, the low price, and the current price of the stock specified by the brand ID, and are display target data that is displayed on the terminal.
図3は、通番付与サーバ2において通番(通し番号)を付与され、編集サーバ3に送信される電文の構成例である。図2の電文に対し処理通番のデータが付与され、これに伴い、電文サイズが更新されている。
FIG. 3 is a configuration example of a message that is given a serial number (serial number) in the serial
[編集サーバ]
編集サーバ3は、機能として受信部31、送信部37、編集部32、編集済みデータ・通番複製部36、記憶部33を有し、ハードウェアとして少なくともCPU、メモリを備える。編集サーバ3の記憶部33は、各銘柄の最新データを格納している受信データ格納テーブル34、処理済み通番記憶部35、配信編集用エリア38を含む。
編集サーバは、以下で説明する処理ステップで示される機能を有しており、これらを図4a、図4bのフローチャートを用いて説明する。
[Edit Server]
The
The editing server has the functions shown in the processing steps described below, and these will be described with reference to the flowcharts of FIGS. 4a and 4b.
[受信電文チェックステップ(S1)]
編集サーバ受信部31で、通番付与サーバ2から送られた電文を受信して記憶部33に格納するとともに、情報種別を参照して該受信電文が編集サーバ3の処理対象であるか否か、受信電文中のデータ項目欠落の有無、通番が不適正(例えば昇順となっていない等)でないかなど、受信電文チェックを行う。受信電文チェックの結果、問題がなければ、受信データ編集ステップ(S2)に進む。問題がある場合は、該受信電文は破棄される。
[Receive message check step (S1)]
The editing server receiving unit 31 receives a message sent from the serial
[受信データ編集ステップ(S2)]
前記受信電文チェックの結果、問題がない場合は、編集部32は、各銘柄の最新データを格納している受信データ格納テーブル34を更新するために、前記記憶部33に格納した受信電文の各データ項目から必要なデータを取り出し、所定のフォーマットに変換するなどの編集処理を行う。
[Received data editing step (S2)]
If there is no problem as a result of the received message check, the editing unit 32 updates each received message stored in the storage unit 33 in order to update the received data storage table 34 storing the latest data of each brand. Edit processing such as extracting necessary data from the data item and converting it into a predetermined format is performed.
[処理通番の確認ステップ(S3)]
証券取引所のホストコンピュータ1から送信されてくる電文データは、例えば図2のような構成であるが、データが変化した項目(例えば現在値)は送信されても、データが変化していない項目(例えば始値)は省略され、送信されない場合がある。
また、編集サーバ3から配信サーバ4を経てクライアント端末5に送信する電文データは、例えば図3のような構成であるが、データが変化していない項目も省略することなく送信する必要がある。
したがって、同一銘柄に関する複数の電文データを複数の編集サーバ3で処理するためには、各編集サーバ3は、他の編集サーバ3がその銘柄について編集処理したデータを入手し、その銘柄について同一の編集済みデータを保持する必要がある。
[Process serial number confirmation step (S3)]
The message data transmitted from the
Moreover, although the message | telegram data transmitted to the
Therefore, in order to process a plurality of message data related to the same brand by the plurality of
そのため、ある編集サーバ3が編集処理し更新したデータを他の編集サーバ3に送信し、受信した編集サーバ3は、自サーバ内の受信データ格納テーブル34及び処理済通番記憶部35を更新するようにする。これにより、各編集サーバ3は、同一の受編集済みデータを保持することができる。このとき、他の編集サーバ3に送信するデータは、処理時間を短くするために、受信データ格納テーブル34に格納されているフォーマットと同等のフォーマットで、該当銘柄の全項目又は差分(相違している項目)を送信する。送信する経路は、編集サーバ3と通番付与サーバ2を接続しているネットワーク11を介してもよいし、あるいは通番付与サーバ2とは接続されていないネットワークであって、編集サーバ3同士を接続するネットワーク13を別に設け、これを介してもよい。また、各編集サーバ3が備える受信データ格納テーブル34及び処理済通番記憶部35が、メモリ格納型データベースであり、複製機能(レプリケーション機能)が用意されている場合は、該複製機能を利用してもよい。
Therefore, the
また、ホストコンピュータ1から同一銘柄について連続して送信された電文データを、複数の編集サーバ3でほぼ同時に処理した場合、各編集サーバ3で前記受信データ格納テーブル34及び処理済通番記憶部35の更新が同時期に発生するため、競合や更新順序の逆転が発生する可能性がある。
Further, when the message data continuously transmitted from the
これを回避するために、通番付与サーバ2で付与された処理通番を用いる。各編集サーバ3では、受信データ格納テーブル34を更新する前に、処理済み通番記憶部35を参照して、現在処理している電文の直前の電文の通番が処理済み通番記憶部35に格納されているか確認する。すなわち、現在処理している電文の通番―1の通番が格納されているか確認する。
現在処理している電文の直前の電文の通番(現在処理している電文の通番―1の通番)が格納されていない場合は、他の編集サーバ3において編集処理中の可能性があるため、処理済み通番記憶部35が現在処理している電文の通番―1の通番になるまで、受信データ格納テーブル34の更新処理を待つ。
In order to avoid this, the processing sequence number assigned by the sequence
If the serial number of the message immediately before the message currently being processed (the serial number of the message currently being processed-the serial number of 1) is not stored, it is possible that another
[受信データ格納テーブル34の更新ステップ(S4)]
処理済み通番記憶部35に、現在処理している電文の直前の電文の通番(現在処理している電文の通番―1の通番)が格納されている場合は、当該編集サーバ3あるいは他の編集サーバ3において、直前の電文の処理が終了しているので、現在処理している電文のデータにより、受信データ格納テーブル34の更新処理を行う。
[Step of Updating Received Data Storage Table 34 (S4)]
When the processed serial number storage unit 35 stores the serial number of the message immediately before the currently processed message (the serial number of the currently processed message-the serial number of 1), the
[処理済み通番記憶部35の更新ステップ(S5)]
S4ステップにおいて受信データ格納テーブル34の更新を行った場合は、現在処理している電文の通番により、処理済み通番記憶部35の更新処理を行う。
[Update Step of Processed Serial Number Storage Unit 35 (S5)]
When the received data storage table 34 is updated in step S4, the processed serial number storage unit 35 is updated based on the serial number of the message currently being processed.
[更新データの複製ステップ(S6)]
編集済みデータ・通番複製部36は、S4ステップ、S5ステップで更新した受信データ格納テーブル34及び処理済み通番記憶部35のデータを、他のすべての編集サーバ3へ送信する。該送信されたデータを受信した他の編集サーバ3の編集済みデータ・通番複製部36は、図4bの処理フローに従って、自己の受信データ格納テーブル34及び処理済み通番記憶部35を更新する。このようにして、ある編集サーバ3で受信データの更新が行われると、他の編集サーバ3で前記更新データの複製が行われる。
[Replication data replication step (S6)]
The edited data / serial number replicating unit 36 transmits the data in the received data storage table 34 and the processed serial number storage unit 35 updated in steps S4 and S5 to all the
[配信データの編集ステップ(S7)]
編集サーバ3から配信サーバ4へ送信する配信データに、受信した処理通番データを入れて編集する。この配信データの編集においては、S2ステップで編集処理した受信データだけでは配信データの項目が不足する場合があるので、S4ステップにおける受信データ格納テーブル34の更新時に、該当銘柄の更新データを、記憶部33の一部を構成する配信編集用エリア38に一時的に格納しておく。
[Distribution Data Editing Step (S7)]
The received processing sequence number data is added to the distribution data transmitted from the
[配信データの配信ステップ(S8)]
S7ステップで編集した配信データを、配信サーバ4へ送信する。
[Distribution data distribution step (S8)]
The distribution data edited in step S7 is transmitted to the
[配信サーバ]
配信サーバ4は、機能として受信部41、送信部44、電文送信順序制御部43、記憶部42を有し、ハードウェアとして少なくともCPU、メモリを備える。
編集サーバ3の更新処理にて電文の順序制御を行っているので、複数の編集サーバ3で同時期に同一銘柄の複数の受信電文の処理が行われても、各編集サーバ3からの電文送信タイミングには、処理通番に従った若干の差があるはずである。しかしながら、編集サーバ3における電文の順序制御処理は、あくまでOS(オペレーティングシステム)の送信バッファに配信データがセットされるまでのことであり、実際に送信バッファにセットした順で配信データが各編集サーバ3から送出されるかどうかは保証の限りではない。各編集サーバ3のOSの送信バッファに配信データがセットされるタイミングの差は小さいため、ネットワーク12や各編集サーバ3のOSの状態によっては、実際に編集サーバから送出される電文の順番が逆転することもありうる。
[Distribution server]
The
Since the sequence control of the messages is performed in the update processing of the
このような、送出される電文の順番逆転を回避するため、配信サーバ4では、各編集サーバ3からの配信電文データを一旦受信して記憶部42に格納するとともに、電文送信順序制御部43が、該受信した配信電文中の処理通番データにより適正な順番を判断し、処理通番の順番に基づき端末5に配信する。
上記の処理を行うため、例えば配信サーバ3において、各編集サーバ3に対して1つづつ用意された受信用キュー(FIFO)45を記憶部42の一部として設け、電文の受信順に前記キュー45に格納するようにしてもよい。
電文送信順序制御部43は、配信済みの電文の処理通番を配信済み通番記憶部46に記憶しておき、その次の処理通番の電文を各キュー45のうちの1つから取り出して配信するよう制御する。
In order to avoid such an order reversal of transmitted messages, the
In order to perform the above processing, for example, in the
The message transmission
配信する際には、処理通番は、編集サーバ3における分散処理用の付加データなので、省略して配信してもよい。また、配信サーバ4では、データのフォーマット変換などの編集処理を行わず、処理通番に関する処理のみを処理対象として処理時間を短くし、複数の編集サーバ3からの電文を処理可能とすることが望ましい。
At the time of distribution, the processing sequence number is additional data for distributed processing in the
[実施の形態の効果]
本発明の実施の形態に係るデータ配信システムは、証券・金融の売買・約定データの配信システムであって、受信した電文に対し、受信した順番に処理通番を付与する通番付与サーバ2と、前記通番付与サーバ2から送られた処理通番付電文を編集処理する複数の編集サーバ3と、前記複数の編集サーバから送られた複数の編集済み電文が処理通番順に配信予定となっているかチェックし、処理通番順に制御して配信する配信サーバ4とを備え、前記複数の編集サーバ3が、それぞれ同一の編集処理機能を有し、前記通番付与サーバ2から送られた複数の処理通番付電文を並列処理するようにし、更に、前記複数の編集サーバ3のそれぞれが、他の編集サーバ3で編集処理された編集済みデータ、及び該受け取った編集済みデータの処理通番を受け取るための編集済みデータ・通番複製部36を有するデータ配信システムであるので、例え同一銘柄の受信データが短時間の間に集中したとしても、編集サーバ3の負荷を分散させるとともに、受信したデータの順番を逆転させることなく、受信した順番で配信できる効果があり、複数の編集サーバ3から配信サーバ4に送出されるデータの順番を、ほぼ、ホストコンピュータ1から送出されるデータの順番とすることができ、配信サーバ4の負荷を軽減することができる効果があり、更に、例えば特定銘柄の受信電文が増加して編集サーバ3の負荷が増加した場合に、編集サーバ3を増設することにより、容易に対応することができる効果がある。
[Effect of the embodiment]
The data distribution system according to the embodiment of the present invention is a distribution system for securities / financial trading / contract data. The serial
なお、上記の実施の形態では、通番付与手段、編集手段、配信手段をそれぞれ通番付与サーバ、編集サーバ、配信サーバといった別のサーバで構成したが、図5に示すように、通番付与手段、編集手段、配信手段の機能を1つのサーバ100に収容することもできる。この場合、該1つのサーバ全体の制御にCPUを用い、複数の通番付与プロセス、編集プロセス、配信プロセスをそれぞれ別のCPUで制御するのが処理速度のうえから望ましい。
また、受信データ格納テーブルや処理済み通番記憶部として、複数の編集プロセスの間での共有メモリなどの共有リソースを使用することにより、上記実施の形態において必要であった、受信データ格納テーブル34や処理済み通番記憶部35の更新における同期処理(現在処理している電文の通番―1の通番が格納されているか確認する処理)が不要となる。
In the above embodiment, the serial number assigning means, the editing means, and the distribution means are configured as separate servers such as a serial number assigning server, an editing server, and a distribution server. However, as shown in FIG. The functions of the means and the distribution means can be accommodated in one
In addition, by using a shared resource such as a shared memory among a plurality of editing processes as a received data storage table or a processed serial number storage unit, the received data storage table 34 or The synchronization processing (processing for checking whether the serial number of the currently processed message-1 serial number is stored) in the update of the processed serial number storage unit 35 becomes unnecessary.
本発明は、受信データを編集する編集サーバ3の負荷を分散させるデータ配信システムに好適である。
The present invention is suitable for a data distribution system that distributes the load of the
1…ホストコンピュータ(情報提供元装置)、 2…通番付与サーバ、 3…編集サーバ、 4…配信サーバ、 5…クライアント端末、 22…通番付与部、 32…編集部、 34…受信データ格納テーブル、 35…処理済み通番記憶部、 36…編集済みデータ・通番複製部、 43…電文送信順序制御部
DESCRIPTION OF
Claims (4)
受信したデータに対し、受信した順番に処理通番を付与する通番付与手段と、
前記通番付与手段から送られた処理通番付データを編集処理する複数の編集手段と、
前記複数の編集手段から送られた複数の編集済みデータを前記処理通番順に配信する配信手段とを備え、
前記複数の編集手段が、それぞれ同一の編集処理機能を有し、前記通番付与手段から送られた複数の処理通番付データを並列処理するようにしたデータ配信システム。 It is a distribution system for securities / financial trading / contract data,
Serial number assigning means for assigning process serial numbers to the received data in the order received;
A plurality of editing means for editing the processing serial number data sent from the serial number assigning means;
A delivery means for delivering a plurality of edited data sent from the plurality of editing means in the order of the processing sequence numbers;
A data distribution system in which each of the plurality of editing units has the same editing processing function and processes a plurality of processing sequence numbered data sent from the sequence number assigning unit in parallel.
受信したデータに対し、受信した順番に処理通番を付与する通番付与手段と、
前記通番付与手段から送られた処理通番付データを編集処理する複数の編集手段とを備え、
前記複数の編集手段が、それぞれ同一の編集処理機能を有し、前記通番付与手段から送られた複数の処理通番付データを並列処理するようにしたデータ配信システム。
It is a distribution system for securities / financial trading / contract data,
Serial number assigning means for assigning process serial numbers to the received data in the order received;
A plurality of editing means for editing the process serial number data sent from the serial number assigning means,
A data distribution system in which each of the plurality of editing units has the same editing processing function and processes a plurality of processing sequence numbered data sent from the sequence number assigning unit in parallel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008203199A JP2010039840A (en) | 2008-08-06 | 2008-08-06 | Data distribution system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008203199A JP2010039840A (en) | 2008-08-06 | 2008-08-06 | Data distribution system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010039840A true JP2010039840A (en) | 2010-02-18 |
Family
ID=42012305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008203199A Pending JP2010039840A (en) | 2008-08-06 | 2008-08-06 | Data distribution system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010039840A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012088755A (en) * | 2010-10-15 | 2012-05-10 | Mizuho Corporate Bank Ltd | Custody support system, custody support method, and custody support program |
JP2020190817A (en) * | 2019-05-20 | 2020-11-26 | 株式会社常陽銀行 | Business system, and server and terminal device for use in the same |
-
2008
- 2008-08-06 JP JP2008203199A patent/JP2010039840A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012088755A (en) * | 2010-10-15 | 2012-05-10 | Mizuho Corporate Bank Ltd | Custody support system, custody support method, and custody support program |
JP2020190817A (en) * | 2019-05-20 | 2020-11-26 | 株式会社常陽銀行 | Business system, and server and terminal device for use in the same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11757981B2 (en) | Efficient and reliable host distribution of totally ordered global state | |
US8606859B2 (en) | Method and system to communicate messages in a computer network | |
US20130159449A1 (en) | Method and Apparatus for Low Latency Data Distribution | |
US8892759B2 (en) | Method and system for pacing, acking, timing, and handicapping (path) for simultaneous receipt of documents having trader markups | |
JP2008033952A (en) | Most eligible server in common work queue environment | |
JP6193492B2 (en) | Financial product transaction system and financial product transaction control method | |
US11729107B2 (en) | Highly deterministic latency in a distributed system | |
JP2023539430A (en) | Electronic trading system and method based on point-to-point mesh architecture | |
US11315183B2 (en) | Electronic trading system and method based on point-to-point mesh architecture | |
US9853933B2 (en) | Message queue replication with message ownership migration | |
WO2022031878A1 (en) | Highly deterministic latency in a distributed system | |
WO2022031971A1 (en) | Sequencer bypass with transactional preprocessing in distributed system | |
JP2010039840A (en) | Data distribution system | |
JP5216299B2 (en) | Order system | |
JP2009009613A (en) | Transaction system | |
JPH11296579A (en) | System for disclosing company information to public and storing medium | |
JP2005284781A (en) | Mq data synchronizing system and mq data synchronizing program | |
JP2008147819A (en) | Security/financial data distribution system | |
US20230316399A1 (en) | Electronic Trading System and Method based on Point-to-Point Mesh Architecture | |
CN116962513B (en) | Financial quotation contract data receiving method and device | |
JP4481622B2 (en) | Securities trading system | |
US20230051532A1 (en) | Pipelined credit checking | |
WO2024015039A1 (en) | Automated electronic system for providing services in project management | |
KR20030035681A (en) | method for processing a message of the communication system | |
CN118096303A (en) | In-field market newspaper board shunt gateway |