JP2010039840A - Data distribution system - Google Patents

Data distribution system Download PDF

Info

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
Application number
JP2008203199A
Other languages
Japanese (ja)
Inventor
Takayuki Tsutsui
貴行 筒井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Kokusai Electric Inc
Original Assignee
Hitachi Kokusai Electric Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hitachi Kokusai Electric Inc filed Critical Hitachi Kokusai Electric Inc
Priority to JP2008203199A priority Critical patent/JP2010039840A/en
Publication of JP2010039840A publication Critical patent/JP2010039840A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data distribution system which achieves sufficient load balancing by not concentrating load on a specific editing server 3 even if a total amount and frequency of reception telegrams received by editing servers 3 are intensively varied in a specific point of transaction, brand, or category of business. <P>SOLUTION: The data distribution system includes: a serial number giving server 2 which gives processing serial numbers to received pieces of data in the reception order; a plurality of editing servers 3 which perform editing processing of data with serial numbers sent from the serial number giving server 2; and a distribution server 4 which distributes a plurality of pieces of edited data, which are sent from a plurality of the editing servers 3, in accordance with processing serial numbers. A plurality of the editing servers 3 have the same editing processing function, and a plurality of the pieces of data with processing serial numbers, which are sent from the serial number giving server 2, are processed in parallel. <P>COPYRIGHT: (C)2010,JPO&INPIT

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 source device 1 ′ of the host computer that transmits data such as securities / financial data and the information providing source device 1 ′. The editing server 2 ′ is distributed to the client terminal 3 ′, and a plurality of client terminals 3 ′ that receive and display the display data distributed from the editing server 2 ′.

尚、関連する先行技術として、特願2007−168982号(特許文献1)がある。   As a related prior art, there is Japanese Patent Application No. 2007-168982 (Patent Document 1).

特許文献1には、上位サーバ(ホストコンピュータ)から配信された情報を複数の編集サーバで受信し、編集した後、配信サーバを経て、クライアント端末に表示データを配信することが示されている。
このように、配信する情報データの量が多い場合、従来ではサーバの負荷を分散するため、特許文献1のように、編集サーバを複数設置し、取引場所(売買・約定データ等の情報が発生する証券取引所等の区分)や業種や銘柄コードにより各編集サーバの処理担当範囲を分けて編集処理を行っていた。
Patent Document 1 discloses that information distributed from a host server (host computer) is received by a plurality of editing servers, edited, and then displayed data is distributed to client terminals via the distribution server.
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 Patent Document 1, and information such as transaction place (buying and selling / contract data is generated) The processing area of each editing server is divided according to the type of stock exchange, etc.

特願2007−168982号Japanese Patent Application No. 2007-168982

しかしながら、上記した各編集サーバで受信する受信電文の総量や頻度(単位時間当たりの受信電文量)は、年月日といった時期や、一日のうちの時刻により変動するものであるが、必ずしも全銘柄を通して平均的に変動するわけではなく、特定の取引場所や銘柄、業種に集中して変動することが少なくなく、その場合は、特定の編集サーバに負荷が集中することになり、十分な負荷分散を実現することが困難であった。   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 host computer 1 such as each stock exchange via a network 10, One serial number assigning server 2 that assigns a processing serial number to a message including contract data, and a plurality of units that edit the message received from the serial number assigning server 2 for the terminal 5 and distribute it via a network 11 such as a LAN. The editing server 3, the distribution server 4 that receives messages sent from the plurality of editing servers 3 via the network 12, controls and distributes the messages in the order of processing sequence numbers, and the messages sent from the distribution server 4 through the network 14. Via a terminal 5 for receiving and displaying via the terminal.

本システムの各サーバについて具体的に説明する。
[通番付与サーバ]
通番付与サーバ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 number assigning server 2 includes a receiving unit 21, a transmitting unit 24, a serial number assigning unit 22, and a storage unit 23 as functions, and includes at least a CPU and a memory as hardware. The serial number assigning server 2 receives a message including securities-related and financial-related trading data and contract data received from each transaction place by the receiving unit 21 and stores it in the storage unit 23, and assigns a processing serial number by the serial number giving unit 22. Then, the message to which the processing sequence number is assigned is distributed to the editing server 3 that is a lower server via the network 11 such as a LAN by the transmission unit 24. As the function of the serial number assigning server 2, in order to increase the ability to cope with the load increase due to the increase in the amount of received telegrams, there is no telegram editing function or the like other than the transmission / reception function, and only the function of assigning the processing serial number It is desirable to have.

図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 number assigning server 2 and is transmitted to the editing server 3. Processing sequence number data is assigned to the message of FIG. 2, and the message size is updated accordingly.

[編集サーバ]
編集サーバ3は、機能として受信部31、送信部37、編集部32、編集済みデータ・通番複製部36、記憶部33を有し、ハードウェアとして少なくともCPU、メモリを備える。編集サーバ3の記憶部33は、各銘柄の最新データを格納している受信データ格納テーブル34、処理済み通番記憶部35、配信編集用エリア38を含む。
編集サーバは、以下で説明する処理ステップで示される機能を有しており、これらを図4a、図4bのフローチャートを用いて説明する。
[Edit Server]
The editing server 3 includes a reception unit 31, a transmission unit 37, an editing unit 32, an edited data / serial number replication unit 36, and a storage unit 33 as functions, and includes at least a CPU and a memory as hardware. The storage unit 33 of the editing server 3 includes a received data storage table 34 that stores the latest data of each brand, a processed serial number storage unit 35, and a distribution editing area 38.
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 number assignment server 2 and stores it in the storage unit 33, and refers to the information type to determine whether the received message is a processing target of the editing server 3. The received message is checked such as whether there is a missing data item in the received message and whether the serial number is inappropriate (for example, not in ascending order). If there is no problem as a result of the received message check, the process proceeds to the received data editing step (S2). If there is a problem, the received message is discarded.

[受信データ編集ステップ(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 host computer 1 of the stock exchange is configured as shown in FIG. 2, for example, but the item whose data has changed (for example, the current value) has been transmitted but the data has not changed. (For example, the opening price) is omitted and may not be transmitted.
Moreover, although the message | telegram data transmitted to the client terminal 5 from the edit server 3 via the delivery server 4 is a structure like FIG. 3, for example, it is necessary to transmit without omitting the item in which data has not changed.
Therefore, in order to process a plurality of message data related to the same brand by the plurality of editing servers 3, each editing server 3 obtains data edited by the other editing servers 3 for the brand, and the same brand for the same brand. Need to keep edited data.

そのため、ある編集サーバ3が編集処理し更新したデータを他の編集サーバ3に送信し、受信した編集サーバ3は、自サーバ内の受信データ格納テーブル34及び処理済通番記憶部35を更新するようにする。これにより、各編集サーバ3は、同一の受編集済みデータを保持することができる。このとき、他の編集サーバ3に送信するデータは、処理時間を短くするために、受信データ格納テーブル34に格納されているフォーマットと同等のフォーマットで、該当銘柄の全項目又は差分(相違している項目)を送信する。送信する経路は、編集サーバ3と通番付与サーバ2を接続しているネットワーク11を介してもよいし、あるいは通番付与サーバ2とは接続されていないネットワークであって、編集サーバ3同士を接続するネットワーク13を別に設け、これを介してもよい。また、各編集サーバ3が備える受信データ格納テーブル34及び処理済通番記憶部35が、メモリ格納型データベースであり、複製機能(レプリケーション機能)が用意されている場合は、該複製機能を利用してもよい。 Therefore, the editing server 3 transmits the edited and updated data to the other editing server 3, and the received editing server 3 updates the received data storage table 34 and the processed serial number storage unit 35 in its own server. To. Thereby, each editing server 3 can hold the same received and edited data. At this time, in order to shorten the processing time, the data to be transmitted to the other editing server 3 is in the same format as the format stored in the received data storage table 34, and all items or differences (differingly) Item). The transmission path may be through the network 11 that connects the editing server 3 and the serial number assigning server 2, or is a network that is not connected to the serial number assigning server 2 and connects the editing servers 3 to each other. A separate network 13 may be provided and passed through. In addition, when the received data storage table 34 and the processed serial number storage unit 35 included in each editing server 3 are memory storage type databases and a replication function (replication function) is prepared, the replication function is used. Also good.

また、ホストコンピュータ1から同一銘柄について連続して送信された電文データを、複数の編集サーバ3でほぼ同時に処理した場合、各編集サーバ3で前記受信データ格納テーブル34及び処理済通番記憶部35の更新が同時期に発生するため、競合や更新順序の逆転が発生する可能性がある。 Further, when the message data continuously transmitted from the host computer 1 for the same brand is processed almost simultaneously by the plurality of editing servers 3, the received data storage table 34 and the processed serial number storage unit 35 of each editing server 3 are processed. Since updates occur at the same time, conflicts and reversal of the update order may occur.

これを回避するために、通番付与サーバ2で付与された処理通番を用いる。各編集サーバ3では、受信データ格納テーブル34を更新する前に、処理済み通番記憶部35を参照して、現在処理している電文の直前の電文の通番が処理済み通番記憶部35に格納されているか確認する。すなわち、現在処理している電文の通番―1の通番が格納されているか確認する。
現在処理している電文の直前の電文の通番(現在処理している電文の通番―1の通番)が格納されていない場合は、他の編集サーバ3において編集処理中の可能性があるため、処理済み通番記憶部35が現在処理している電文の通番―1の通番になるまで、受信データ格納テーブル34の更新処理を待つ。
In order to avoid this, the processing sequence number assigned by the sequence number assigning server 2 is used. In each editing server 3, before updating the received data storage table 34, the serial number of the message immediately before the currently processed message is stored in the processed serial number storage unit 35 with reference to the processed serial number storage unit 35. Make sure that That is, it is confirmed whether or not the serial number-1 of the currently processed message is stored.
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 editing server 3 is currently editing. The received serial number storage unit 35 waits for an update process of the received data storage table 34 until the serial number-1 of the message currently being processed is reached.

[受信データ格納テーブル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 editing server 3 or other editing In the server 3, since the processing of the previous message has been completed, the received data storage table 34 is updated with the data of the message currently being processed.

[処理済み通番記憶部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 other editing servers 3. The edited data / serial number replicating unit 36 of the other editing server 3 that has received the transmitted data updates its own received data storage table 34 and processed serial number storage unit 35 according to the processing flow of FIG. 4b. When the received data is updated in one editing server 3 in this way, the updated data is copied in another editing server 3.

[配信データの編集ステップ(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 editing server 3 to the distribution server 4 and edited. In editing the distribution data, there may be a case where the items of the distribution data are insufficient only with the reception data edited in the step S2, so that the update data of the corresponding brand is stored when the reception data storage table 34 is updated in the step S4. The data is temporarily stored in the distribution editing area 38 constituting a part of the unit 33.

[配信データの配信ステップ(S8)]
S7ステップで編集した配信データを、配信サーバ4へ送信する。
[Distribution data distribution step (S8)]
The distribution data edited in step S7 is transmitted to the distribution server 4.

[配信サーバ]
配信サーバ4は、機能として受信部41、送信部44、電文送信順序制御部43、記憶部42を有し、ハードウェアとして少なくともCPU、メモリを備える。
編集サーバ3の更新処理にて電文の順序制御を行っているので、複数の編集サーバ3で同時期に同一銘柄の複数の受信電文の処理が行われても、各編集サーバ3からの電文送信タイミングには、処理通番に従った若干の差があるはずである。しかしながら、編集サーバ3における電文の順序制御処理は、あくまでOS(オペレーティングシステム)の送信バッファに配信データがセットされるまでのことであり、実際に送信バッファにセットした順で配信データが各編集サーバ3から送出されるかどうかは保証の限りではない。各編集サーバ3のOSの送信バッファに配信データがセットされるタイミングの差は小さいため、ネットワーク12や各編集サーバ3のOSの状態によっては、実際に編集サーバから送出される電文の順番が逆転することもありうる。
[Distribution server]
The distribution server 4 includes a reception unit 41, a transmission unit 44, a message transmission order control unit 43, and a storage unit 42 as functions, and includes at least a CPU and a memory as hardware.
Since the sequence control of the messages is performed in the update processing of the editing server 3, even if a plurality of received messages of the same brand are processed at the same time in the plurality of editing servers 3, the message transmission from each editing server 3 There should be a slight difference in timing according to the process serial number. However, the message sequence control processing in the editing server 3 is until the distribution data is set in the transmission buffer of the OS (operating system), and the distribution data is actually set in the order set in the transmission buffer. 3 is not guaranteed. Since the difference in timing when the distribution data is set in the transmission buffer of the OS of each editing server 3 is small, depending on the state of the OS of the network 12 and each editing server 3, the order of the messages actually sent from the editing server is reversed. It can also be done.

このような、送出される電文の順番逆転を回避するため、配信サーバ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 distribution server 4 temporarily receives distribution message data from each editing server 3 and stores it in the storage unit 42, and the message transmission order control unit 43 Then, an appropriate order is determined based on the processing sequence number data in the received distribution message, and distribution is made to the terminal 5 based on the order of the processing sequence numbers.
In order to perform the above processing, for example, in the distribution server 3, one reception queue (FIFO) 45 prepared for each editing server 3 is provided as a part of the storage unit 42, and the queues 45 are arranged in the order in which the messages are received. You may make it store in.
The message transmission order control unit 43 stores the processed sequence number of the distributed message in the distributed sequence number storage unit 46, and extracts and distributes the message of the next processing sequence number from one of the queues 45. Control.

配信する際には、処理通番は、編集サーバ3における分散処理用の付加データなので、省略して配信してもよい。また、配信サーバ4では、データのフォーマット変換などの編集処理を行わず、処理通番に関する処理のみを処理対象として処理時間を短くし、複数の編集サーバ3からの電文を処理可能とすることが望ましい。 At the time of distribution, the processing sequence number is additional data for distributed processing in the editing server 3 and may be omitted. In addition, it is desirable that the distribution server 4 does not perform editing processing such as data format conversion, shortens processing time only for processing relating to processing sequence numbers, and enables processing of messages from a plurality of editing servers 3. .

[実施の形態の効果]
本発明の実施の形態に係るデータ配信システムは、証券・金融の売買・約定データの配信システムであって、受信した電文に対し、受信した順番に処理通番を付与する通番付与サーバ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 number assigning server 2 assigns a processing serial number to the received message in the order received, and A plurality of editing servers 3 for editing the processing sequence numbered messages sent from the sequence number assigning server 2 and a plurality of edited messages sent from the plurality of editing servers are checked to be distributed in the order of processing sequence numbers; A distribution server 4 that controls and distributes the processing numbers in order, and each of the plurality of editing servers 3 has the same editing processing function, and processes a plurality of processing numbered messages sent from the numbering server 2 in parallel. In addition, each of the plurality of editing servers 3 can edit the edited data edited by the other editing servers 3 and the processing serial number of the received edited data. Since the data distribution system has the edited data / serial number duplication unit 36 for receiving, even if received data of the same brand is concentrated in a short time, the load of the editing server 3 is distributed and the received data The order of the data sent from the plurality of editing servers 3 to the delivery server 4 is almost the order of the data sent from the host computer 1. And the load on the distribution server 4 can be reduced. Further, for example, when the number of received messages of a specific brand increases and the load on the editing server 3 increases, by adding the editing server 3 There is an effect that can be easily handled.

なお、上記の実施の形態では、通番付与手段、編集手段、配信手段をそれぞれ通番付与サーバ、編集サーバ、配信サーバといった別のサーバで構成したが、図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 server 100. In this case, it is desirable from the viewpoint of processing speed that a CPU is used to control the entire server and that a plurality of serial number assigning processes, editing processes, and distribution processes are controlled by different CPUs.
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 editing server 3 that edits received data.

本発明の実施の形態に係るデータ配信システムの全体構成図である。1 is an overall configuration diagram of a data distribution system according to an embodiment of the present invention. 通番付与サーバが受信する電文の内容を示す説明図である。It is explanatory drawing which shows the content of the message | telegram which a serial number provision server receives. 通番付与サーバから送信される電文の内容を示す説明図である。It is explanatory drawing which shows the content of the message | telegram transmitted from a serial number assignment | providing server. 編集サーバの編集処理を示すフローチャートである。It is a flowchart which shows the edit process of an edit server. 複数CPU搭載サーバによる処理プロセス構成図である。It is a processing process block diagram by the server with multiple CPU. 従来のデータ配信システムの全体構成図である。It is a whole data distribution system block diagram.

符号の説明Explanation of symbols

1…ホストコンピュータ(情報提供元装置)、 2…通番付与サーバ、 3…編集サーバ、 4…配信サーバ、 5…クライアント端末、 22…通番付与部、 32…編集部、 34…受信データ格納テーブル、 35…処理済み通番記憶部、 36…編集済みデータ・通番複製部、 43…電文送信順序制御部   DESCRIPTION OF SYMBOLS 1 ... Host computer (information provision source device), 2 ... Serial number assigning server, 3 ... Editing server, 4 ... Distribution server, 5 ... Client terminal, 22 ... Serial number assigning unit, 32 ... Editing unit, 34 ... Received data storage table, 35 ... Processed serial number storage unit, 36 ... Edited data / serial number replication unit, 43 ... Message transmission order control unit

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.
前記複数の編集手段のそれぞれが、他の編集手段で編集処理された編集済みデータ、及び該編集済みデータの処理通番を複製するための編集済みデータ・通番複製手段を有する請求項1に記載のデータ配信システム。 2. Each of the plurality of editing means has edited data / serial number duplicating means for duplicating edited data edited by other editing means and a processing sequence number of the edited data. Data distribution system. 前記通番付与手段、編集手段、配信手段が、それぞれ別々のサーバから構成される請求項1又は請求項2に記載のデータ配信システム。   The data distribution system according to claim 1, wherein the serial number assigning unit, the editing unit, and the distribution unit are configured from separate servers. 証券・金融の売買・約定データの配信システムであって、
受信したデータに対し、受信した順番に処理通番を付与する通番付与手段と、
前記通番付与手段から送られた処理通番付データを編集処理する複数の編集手段とを備え、
前記複数の編集手段が、それぞれ同一の編集処理機能を有し、前記通番付与手段から送られた複数の処理通番付データを並列処理するようにしたデータ配信システム。


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.


JP2008203199A 2008-08-06 2008-08-06 Data distribution system Pending JP2010039840A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (2)

* Cited by examiner, † Cited by third party
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