TWI761236B - Transaction risk control device - Google Patents

Transaction risk control device Download PDF

Info

Publication number
TWI761236B
TWI761236B TW110122064A TW110122064A TWI761236B TW I761236 B TWI761236 B TW I761236B TW 110122064 A TW110122064 A TW 110122064A TW 110122064 A TW110122064 A TW 110122064A TW I761236 B TWI761236 B TW I761236B
Authority
TW
Taiwan
Prior art keywords
transaction
risk control
packet
reply
field
Prior art date
Application number
TW110122064A
Other languages
Chinese (zh)
Other versions
TW202301242A (en
Inventor
楊皓鈞
高翊傑
Original Assignee
皓德盛科技有限公司
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 皓德盛科技有限公司 filed Critical 皓德盛科技有限公司
Priority to TW110122064A priority Critical patent/TWI761236B/en
Application granted granted Critical
Publication of TWI761236B publication Critical patent/TWI761236B/en
Publication of TW202301242A publication Critical patent/TW202301242A/en

Links

Images

Landscapes

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

Abstract

一種交易風控裝置,包含一收發單元及一連接該收發單元的風控判斷單元,該收發單元接受至少一來自一用戶設備且目標位址為一交易所設備的交易封包,或接受至少一來自該交易所設備且目標位址為該用戶設備的回覆封包,該交易封包與該回覆封包使用的訊框架構相同,該回覆封包的一委託書欄位與其中一該交易封包的一委託書欄位記載相同,該風控判斷單元具有複數風控條件,該風控判斷單元基於該交易封包觸發該些風控條件與否決定是否修改該交易封包,並且基於該回覆封包與其中一該交易封包所載交易資訊是否相符,決定是否修改該回覆封包後向該用戶設備發送。A transaction risk control device, comprising a transceiver unit and a risk control judgment unit connected to the transceiver unit, the transceiver unit accepts at least one transaction packet from a user equipment and the target address is an exchange equipment, or accepts at least one from a transaction packet. A reply packet of the exchange equipment and the target address of the user equipment, the transaction packet and the reply packet use the same frame structure, a power of attorney field of the reply packet and a power of attorney field of one of the transaction packets Bit records are the same, the risk control determination unit has a plurality of risk control conditions, the risk control determination unit determines whether to modify the transaction packet based on whether the transaction packet triggers the risk control conditions or not, and based on the reply packet and one of the transaction packets Whether the transaction information contained in it matches, decide whether to modify the reply packet and send it to the user equipment.

Description

交易風控裝置Transaction risk control device

本發明涉及一種交易風控裝置,尤指一種可減少交易延遲狀況且可提供風險控管的交易風控裝置。The present invention relates to a transaction risk control device, in particular to a transaction risk control device that can reduce transaction delay and provide risk control.

在金融交易領域上,金融商品的交易金額瞬息萬變,當交易資訊或金融商品資訊傳輸延遲時,易造成用戶偌大的損失,因此如何在分秒必爭的金融交易領域上快速傳遞客戶的交易資訊成了重要的課題。In the field of financial transactions, the transaction amount of financial products changes rapidly. When the transmission of transaction information or financial product information is delayed, it is easy to cause huge losses to users. Therefore, how to quickly transmit customers' transaction information in the financial transaction field where every second counts has become important. subject.

然而,當前在期貨交易領域上,用戶透過期貨經紀商向期貨交易所提出交易請求時,由於用戶與期貨經紀商之間使用的通訊協定不同於期貨經紀商與期貨交易所之間使用的通訊協定,導致用戶提出的交易請求必須先以期貨經紀商作為目標位置,透過期貨經紀商轉址並修改交易請求的編寫方式,令期貨交易所得以接收並讀取交易請求。唯,習用方式相當依賴期貨經紀商的設備,一旦期貨經紀商的設備運算能力不足時,易造成交易請求延遲。However, in the field of futures trading, when a user makes a trading request to a futures exchange through a futures broker, the communication protocol used between the user and the futures broker is different from the communication protocol used between the futures broker and the futures exchange. , so that the trading request made by the user must first take the futures broker as the target location. Through the futures broker's relocation and modifying the writing method of the trading request, the futures exchange can receive and read the trading request. However, the conventional method is quite dependent on the equipment of the futures broker. Once the equipment of the futures broker is insufficient in computing power, the transaction request may be delayed.

再者,習用期貨經紀商在轉址轉譯的過程中,同時對該交易請求進行風險控管,但此舉無異是增加運算設備的負擔。若期貨經紀商為提升訊息傳遞速度,令用戶直接向期貨交易所傳遞該交易請求,即用戶的該交易請求直接以期貨交易所的位址作為目標位址,而不經過期貨經紀商轉址轉譯,則導致期貨經紀商無法接收該交易請求,而不能對該交易請求進行風險管控。In addition, conventional futures brokers also carry out risk control of the transaction request during the process of relocation and translation, but this is tantamount to increasing the burden on computing equipment. If the futures broker makes the user directly transmit the transaction request to the futures exchange in order to improve the speed of message transmission, that is, the user's transaction request directly uses the address of the futures exchange as the target address without going through the forwarding and translation of the futures broker. , the futures broker cannot receive the transaction request, and cannot carry out risk management and control of the transaction request.

本發明的主要目的,在於解決習用資料傳遞方式容易導致交易延遲的問題。The main purpose of the present invention is to solve the problem that the conventional data transmission method easily leads to transaction delay.

本發明的另一目的,在於解決習用直接將傳遞交易請求予期貨交易所無法進行風險控管的問題。Another object of the present invention is to solve the problem that the conventional method of directly transmitting the transaction request to the futures exchange cannot carry out risk control.

為達上述目的,本發明提供一種交易風控裝置,包含一收發單元以及一連接該收發單元的風控判斷單元,該收發單元接受至少一來自一用戶設備且目標位址為一交易所設備的交易封包,或接受至少一來自該交易所設備且目標位址為該用戶設備的回覆封包,該交易封包與該回覆封包使用的訊框架構相同,每一該交易封包與每一該回覆封包分別具有一委託書欄位,該回覆封包的該委託書欄位與其中一該交易封包的該委託書欄位記載相同,該風控判斷單元設定有複數可對該交易封包進行比對的風控條件,該風控判斷單元以二發送狀態處置每一該交易封包,該二發送狀態的其一為該交易封包未觸發任一該風控條件而直接向該交易所設備發送,該二發送狀態的另一為該交易封包觸發任一該風控條件時修改該交易封包向該交易所設備發送,該風控判斷單元接收每一該回覆封包時與該委託書欄位記載相同的其中一該交易封包進行比對並以二回覆狀態處置每一該回覆封包,該二回覆狀態的其一為該回覆封包與其中一該交易封包所載交易資訊相符時直接向該用戶設備發送,該二回覆狀態的另一為該回覆封包與其中一該交易封包所載交易資訊不符時基於比對的該交易封包修改該回覆封包後向該用戶設備發送。In order to achieve the above object, the present invention provides a transaction risk control device, comprising a transceiver unit and a risk control judgment unit connected to the transceiver unit, the transceiver unit accepts at least one transaction from a user equipment and the target address is an exchange equipment. a transaction packet, or accept at least one reply packet from the exchange equipment and the destination address is the user equipment, the transaction packet and the reply packet use the same frame structure, each of the transaction packets and each of the reply packets respectively There is a power of attorney field, the power of attorney field of the reply packet is the same as the power of attorney field of one of the transaction packets, and the risk control judgment unit is set with a plurality of risk controls that can compare the transaction packets condition, the risk control judging unit handles each transaction packet in two sending states, one of which is that the transaction packet does not trigger any of the risk control conditions and is directly sent to the exchange equipment, and the two sending states are The other is that when the transaction packet triggers any of the risk control conditions, the transaction packet is modified and sent to the exchange equipment, and the risk control judgment unit receives each of the reply packets and one of the same as that recorded in the power of attorney field. The transaction packets are compared and each of the reply packets is processed in two reply states. One of the two reply states is that when the reply packet matches the transaction information contained in one of the transaction packets, it is directly sent to the user equipment, and the two replies are sent directly to the user equipment. Another state is that when the reply packet does not match the transaction information contained in one of the transaction packets, the reply packet is modified based on the compared transaction packet and sent to the user equipment.

一實施例中,該交易風控裝置為一現場可程式化邏輯閘陣列。In one embodiment, the transaction risk control device is a field programmable logic gate array.

一實施例中,該交易風控裝置與ㄧ記憶媒介連接,以記憶自該收發單元取得的每一該交易封包。In one embodiment, the transaction risk control device is connected to a memory medium to memorize each transaction packet obtained from the transceiver unit.

一實施例中,該交易風控裝置包含一用以記憶自該收發單元取得的每一該交易封包的記憶單元。In one embodiment, the transaction risk control device includes a memory unit for storing each transaction packet obtained from the transceiver unit.

一實施例中,每一該交易封包與每一該回覆封包更分別包含一交易價格欄位、一交易口數欄位、一買賣別欄位,該些風控條件是基於該交易價格欄位、該交易口數欄位、該買賣別欄位進行判斷。In one embodiment, each of the transaction packets and each of the reply packets further includes a transaction price field, a transaction volume field, and a transaction type field, respectively, and the risk control conditions are based on the transaction price field , the transaction port number field, and the transaction type field to judge.

一實施例中,該用戶設備與該交易所設備是以TMP(Taifex Message Protocol)傳輸協定傳遞資訊。In one embodiment, the user equipment and the exchange equipment transmit information through a TMP (Taifex Message Protocol) transmission protocol.

一實施例中,該收發單元包含一連接該用戶設備並接收由該用戶設備而來的該交易封包的用戶收發端口,以及一連接該用戶收發端口與該交易所設備並接收由該用戶設備而來的該回覆封包的交易所收發端口。In one embodiment, the transceiver unit includes a user transceiver port connected to the user equipment and receiving the transaction packet from the user equipment, and a user transceiver port connected to the exchange equipment and received from the user equipment. The exchange sending and receiving port of the reply packet.

透過本發明前述實施,相較於習用具有以下特點:本發明透過該交易封包以該用戶設備作為目標位址,該回覆封包以該用戶設備作為目標位址,使該風控判斷單元無須對該交易封包或該回覆封包進行轉址,以降低該交易封包與該回覆封包的延遲狀況。同時,該風控判斷單元在該交易封包傳送的過程中更可對該交易封包進行風險控管,使得該交易封包在可在不減低訊息傳遞速率的情況下受到管理。Through the aforementioned implementation of the present invention, compared with the conventional method, the present invention has the following characteristics: the present invention uses the user equipment as the target address through the transaction packet, and the reply packet uses the user equipment as the target address, so that the risk control judgment unit does not need to The transaction packet or the reply packet is redirected to reduce the delay between the transaction packet and the reply packet. At the same time, the risk control judging unit can further control the risk of the transaction packet during the transmission process of the transaction packet, so that the transaction packet can be managed without reducing the message transmission rate.

本發明詳細說明及技術內容,茲配合圖式說明如下:The detailed description and technical content of the present invention are described as follows in conjunction with the drawings:

請參閱圖1,本發明提供一種交易風控裝置100,該交易風控裝置100為一現場可程式化邏輯閘陣列(Field Programmable Gate Array,縮寫為FPGA),該現場可程式化邏輯閘陣列可進行快速運算以實現低延遲特性。Please refer to FIG. 1 , the present invention provides a transaction risk control device 100 . The transaction risk control device 100 is a field programmable gate array (Field Programmable Gate Array, abbreviated as FPGA). Perform fast operations for low latency characteristics.

請參閱圖2至圖5,該交易風控裝置100包含一收發單元10以及一風控判斷單元20,該收發單元10資訊連接一用戶設備300及一交易所設備400,該收發單元10包含一連接該用戶設備300的用戶收發端口11,以及一連接該交易所設備400的交易所收發端口12,該用戶收發端口11接收至少一來自該用戶設備300的交易封包310,而該交易所收發端口12接收至少一來自該交易所設備400的回覆封包410。進一步地,該交易封包310的目標位址為該交易所設備400,該回覆封包410的目標位址為該用戶設備300,且該用戶設備300與該交易所設備400之間是以TMP(Taifex Message Protocol)傳輸協定傳遞資訊,也就是說,該交易封包310與該回覆封包410使用的訊框架構相同,使該收發單元10接收該交易封包310或該回覆封包410時,該交易風控裝置100無須額外對該交易封包310或該回覆封包410進行轉譯或是轉址。又,每一該交易封包310與每一該回覆封包410分別具有一委託書欄位311、411,該回覆封包410是該交易所設備400基於所接收的該交易封包310所產生,使得該回覆封包410的該委託書欄位411會與該交易封包310的該委託書欄位記載311相同,舉例來說,假設其中一該交易封包310的該委託書欄位311記載為Xy013時,該交易所設備400接收前述該交易封包310後,基於該交易封包310產生該回覆封包410時,該回覆封包410的該委託書欄位411同樣記載為Xy013。再另一方面,該風控判斷單元20連接該收發單元10,該風控判斷單元20記憶自該收發單元10取得的每一該交易封包310,並設定有複數可對該交易封包310進行比對的風控條件21。該風控判斷單元20基於該交易封包310與該些風控條件21比對後的結果,以二發送狀態處置每一該交易封包310,並且該風控判斷單元20在接收每一該回覆封包410時以該委託書欄位311、411記載相同的其中一該交易封包310進行比對,並以二回覆狀態處置每一該回覆封包410。又,一實施例中,本發明該風控判斷單元20採平行運算實施,該風控判斷單元20於接收該交易封包310後可同時比對該些風控條件21,藉此令該交易風控裝置100實現快速運算。Please refer to FIG. 2 to FIG. 5 , the transaction risk control device 100 includes a transceiver unit 10 and a risk control determination unit 20 , the transceiver unit 10 is connected to a user equipment 300 and an exchange equipment 400 , and the transceiver unit 10 includes a A user transceiver port 11 connected to the user equipment 300, and an exchange transceiver port 12 connected to the exchange equipment 400, the user transceiver port 11 receives at least one transaction packet 310 from the user equipment 300, and the exchange transceiver port 12 12 Receive at least one reply packet 410 from the exchange device 400 . Further, the target address of the transaction packet 310 is the exchange equipment 400, the target address of the reply packet 410 is the user equipment 300, and the user equipment 300 and the exchange equipment 400 are connected by TMP (Taifex Message Protocol) transmission protocol to transmit information, that is to say, the frame structure used by the transaction packet 310 and the reply packet 410 is the same, so that when the transceiver unit 10 receives the transaction packet 310 or the reply packet 410, the transaction risk control device 100 does not need to additionally translate or redirect the transaction packet 310 or the reply packet 410 . In addition, each of the transaction packets 310 and each of the reply packets 410 respectively has a power of attorney field 311, 411, and the reply packet 410 is generated by the exchange equipment 400 based on the received transaction packet 310, so that the reply The power of attorney field 411 of the package 410 will be the same as the power of attorney field 311 of the transaction package 310. For example, if the power of attorney field 311 of one of the transaction packages 310 is recorded as Xy013, the transaction After the device 400 receives the aforementioned transaction packet 310, when the reply packet 410 is generated based on the transaction packet 310, the power of attorney field 411 of the reply packet 410 is also recorded as Xy013. On the other hand, the risk control judging unit 20 is connected to the transceiver unit 10 , the risk control judging unit 20 memorizes each transaction packet 310 obtained from the transceiver unit 10 , and sets a plurality of numbers to compare the transaction packets 310 Correct risk control conditions 21. The risk control judging unit 20 processes each transaction packet 310 in two sending states based on the result of comparing the transaction packet 310 with the risk control conditions 21 , and the risk control judging unit 20 receives each reply packet At 410, compare one of the transaction packets 310 with the same records in the power of attorney fields 311, 411, and process each of the reply packets 410 in a two-reply state. In addition, in one embodiment, the risk control judgment unit 20 of the present invention is implemented by parallel operation. After receiving the transaction packet 310, the risk control judgment unit 20 can compare the risk control conditions 21 at the same time, thereby making the transaction risk The control device 100 realizes fast computation.

承上,續對該風控判斷單元20的實施進行說明,首先假設該交易封包310與該些風控條件21相符,該風控判斷單元20在接收前述該交易封包310時,該交易封包310未觸發任一該風控條件21,該風控判斷單元20不會修改該交易封包310,而直接發送該交易封包310予該交易所設備400。當該交易封包310與該些風控條件21不符,該風控判斷單元20接收前述該交易封包310時,該交易封包310觸發該些風控條件21的至少其一,該風控判斷單元20修改該交易封包310後向該交易所設備400發送(就如標號320),令該交易所設備400視該交易封包310為無效交易,進一步來說,該風控判斷單元20在判斷該交易封包310觸發該些風控條件21後,該風控判斷單元20可修改該交易封包310中的任一欄位,例如用戶資料欄位、期貨商編號欄位、商品代號欄位等。又,該風控判斷單元20在接收該回覆封包410時,該風控判斷單元20透過該回覆封包410的該委託書欄位411提取與前述該委託書欄位411具有相同記載的該交易封包310,並比對該回覆封包410與前述該交易封包310,假設該回覆封包410與其中一該交易封包310所載交易資訊相符時,該風控判斷單元20不會修改該回覆封包410,而直接發送該回覆封包410予該用戶設備300。當該回覆封包410與其中一該交易封包310所載交易資訊不符時,該風控判斷單元20基於比對的該交易封包310修改該回覆封包410後向該用戶設備300發送(就如標號420),令該用戶設備300可基於修改後的該回覆封包410了解該交易封包310交易失敗的原因。Continuing to describe the implementation of the risk control determination unit 20, first assume that the transaction packet 310 is consistent with the risk control conditions 21. When the risk control determination unit 20 receives the transaction packet 310, the transaction packet 310 If any of the risk control conditions 21 is not triggered, the risk control determination unit 20 will not modify the transaction packet 310 , but directly sends the transaction packet 310 to the exchange equipment 400 . When the transaction packet 310 does not match the risk control conditions 21, and the risk control determination unit 20 receives the transaction packet 310, the transaction packet 310 triggers at least one of the risk control conditions 21, and the risk control determination unit 20 After modifying the transaction packet 310, it is sent to the exchange equipment 400 (as marked as 320), so that the exchange equipment 400 regards the transaction packet 310 as an invalid transaction. Further, the risk control determination unit 20 is determining the transaction packet. After the risk control conditions 21 are triggered at 310, the risk control determination unit 20 can modify any field in the transaction packet 310, such as the user information field, the futures dealer number field, the commodity code field, and the like. In addition, when the risk control determination unit 20 receives the reply packet 410 , the risk control determination unit 20 extracts the transaction packet with the same record as the power of attorney field 411 through the power of attorney field 411 of the reply packet 410 310, and compare the reply packet 410 with the aforementioned transaction packet 310, if the reply packet 410 is consistent with the transaction information contained in one of the transaction packets 310, the risk control determination unit 20 will not modify the reply packet 410, and The reply packet 410 is directly sent to the user equipment 300 . When the reply packet 410 does not match the transaction information contained in one of the transaction packets 310 , the risk control determination unit 20 modifies the reply packet 410 based on the compared transaction packet 310 and sends the reply packet 410 to the user equipment 300 (as in the reference numeral 420 ). ), so that the user equipment 300 can know the reason for the transaction failure of the transaction packet 310 based on the modified reply packet 410 .

由上述可知,本發明透過該交易封包310以該用戶設備300作為目標位址,該回覆封包410以該交易所設備400作為目標位址,使得該交易風控裝置100在接收該交易封包310或該回覆封包410後無須對該交易封包310或該回覆封包410進行轉譯或轉址,而可以降低該交易封包310或該回覆封包410傳遞延遲的狀況。另外,透過本發明交易風控裝置100,該風控判斷單元20得以在不降低訊息傳遞的情況下同時對該交易封包310進行風險控管,而可解決習用交易方式因風險控管導致交易延遲的情況。As can be seen from the above, the present invention uses the user equipment 300 as the target address through the transaction packet 310, and the reply packet 410 uses the exchange equipment 400 as the target address, so that the transaction risk control device 100 receives the transaction packet 310 or The reply packet 410 does not need to be translated or redirected to the transaction packet 310 or the reply packet 410 afterward, so that the transmission delay of the transaction packet 310 or the reply packet 410 can be reduced. In addition, through the transaction risk control device 100 of the present invention, the risk control judgment unit 20 can simultaneously control the risk of the transaction packet 310 without reducing the transmission of information, and can solve the transaction delay caused by the risk control in the conventional transaction method. Case.

一實施例中,請參閱圖1與圖6,每一該交易封包310與每一該回覆封包410更包含一交易價格欄位312、412、一交易口數欄位313、413以及一買賣別欄位314、414,該風控條件21是基於該交易價格欄位312、412、該交易口數欄位313、413、該買賣別欄位314、414進行判斷,舉例來說,該風控判斷單元20比對該用戶設備300的一帳戶餘額資料與該交易封包310的該交易價格欄位312、該交易口數欄位313以及該買賣別欄位314,若該帳戶餘額資料中所對應的餘額大於該交易價格欄位312、該交易口數欄位313、該買賣別欄位314所對應的交易金額,則判斷該交易封包310符合該些風控條件21,反之,若餘額不足時則判斷該交易封包310不符該些風控條件21。於另一例子中,該風控判斷單元20亦可分別針對該交易價格欄位312或該交易口數欄位313所記載的內容是否超過該交易所設備400所定義的上限值進行判斷。另一實施例中,每一該交易封包310與每一該回覆封包410更包含有一投資人帳號欄位,該風控判斷單元20可將該投資人帳號欄位納入做為該些風控條件21之一,若該交易封包310的該投資人帳號欄位所對應的投資人帳號未在該期貨經紀商進行開戶,則判斷該交易封包310不符該些風控條件21。In one embodiment, please refer to FIG. 1 and FIG. 6 , each of the transaction packets 310 and each of the reply packets 410 further includes a transaction price field 312 , 412 , a transaction port number field 313 , 413 and a transaction category Fields 314, 414, the risk control condition 21 is judged based on the transaction price fields 312, 412, the transaction port number fields 313, 413, the trade type fields 314, 414, for example, the risk control The judging unit 20 compares an account balance data of the user equipment 300 with the transaction price field 312 , the transaction port number field 313 and the transaction type field 314 of the transaction packet 310 , if the account balance data corresponds to The balance of the transaction package 310 is greater than the transaction amount corresponding to the transaction price field 312, the transaction port number field 313, and the transaction type field 314, then it is determined that the transaction packet 310 meets the risk control conditions 21. On the contrary, if the balance is insufficient Then, it is determined that the transaction packet 310 does not meet the risk control conditions 21 . In another example, the risk control determination unit 20 may also determine whether the content recorded in the transaction price field 312 or the transaction volume field 313 exceeds the upper limit defined by the exchange equipment 400 . In another embodiment, each of the transaction packets 310 and each of the reply packets 410 further includes an investor account number field, and the risk control determination unit 20 may include the investor account number field as the risk control conditions. 21. If the investor account corresponding to the investor account field of the transaction package 310 has not opened an account with the futures broker, it is determined that the transaction package 310 does not meet the risk control conditions 21 .

於另一實施例中,請參閱圖7,每一該回覆封包410更包含一回傳狀態欄位,該風控判斷單元20在接收該回覆封包410時,可基於該回傳狀態欄位所載內容判斷與該回覆封包410的該委託書欄位411具有相同記載的該交易封包310的交易情況,以決定是否對該回覆封包410進行修改。舉例來說,該回傳狀態欄位中記載為0時表示該交易封包310成功交易,此時該風控判斷單元20不修改該回覆封包410。若該回傳狀態欄位中記載為22時表示該交易封包310的該交易口數欄位313的記載錯誤,該風控判斷單元20則修改該回覆封包410。若該回傳狀態欄位中記載為24時表示該交易封包310的該買賣別欄位314的記載有誤,該風控判斷單元20亦修改該回覆封包410。In another embodiment, please refer to FIG. 7 , each of the reply packets 410 further includes a return status field. When receiving the reply packet 410 , the risk control determination unit 20 can The content of the transaction packet 310 is judged to have the same record as the power of attorney field 411 of the reply packet 410 , so as to determine whether to modify the reply packet 410 . For example, when the return status field is recorded as 0, it means that the transaction packet 310 is successfully traded, and the risk control determination unit 20 does not modify the reply packet 410 at this time. If 22 is recorded in the return status field, it means that the record in the transaction port number field 313 of the transaction packet 310 is incorrect, and the risk control determination unit 20 modifies the reply packet 410 . If the return status field is recorded as 24, it means that the record in the transaction type field 314 of the transaction packet 310 is incorrect, and the risk control determination unit 20 also modifies the reply packet 410 .

再另一方面,復請參閱圖8至圖9,該交易風控裝置100包含一記憶單元30,該記憶單元30可以是一記憶體,該記憶體連接該收發單元10與該風控判斷單元20並用以記憶自該收發單元10取得的每一該交易封包310。又,根據前述可知,該記憶單元30屬一記憶媒介,該記憶媒介供該交易風控裝置100儲存記錄,基於相同的技術構想,本發明所使用的該記憶媒介亦可根據實施需求設置,舉例來說,該記憶媒介可為一可提供該交易風控裝置100外部存取的記憶體裝置。On the other hand, please refer to FIG. 8 to FIG. 9 , the transaction risk control device 100 includes a memory unit 30 , and the memory unit 30 may be a memory, and the memory is connected to the transceiver unit 10 and the risk control judgment unit 20 is also used to memorize each transaction packet 310 obtained from the transceiver unit 10 . In addition, according to the above, the memory unit 30 is a memory medium, and the memory medium is used for the transaction risk control device 100 to store records. Based on the same technical concept, the memory medium used in the present invention can also be set according to implementation requirements. For example For example, the memory medium may be a memory device that can provide external access to the transaction risk control device 100 .

上述僅為本發明的一較佳實施例而已,當不能以此限定本發明實施範圍,即凡依本發明申請專利範圍所作的均等變化與修飾,皆應仍屬本發明專利涵蓋範圍。The above is only a preferred embodiment of the present invention, and should not limit the scope of implementation of the present invention, that is, all equivalent changes and modifications made according to the scope of the patent application of the present invention should still fall within the scope of the patent of the present invention.

100:交易風控裝置 10:收發單元 11:用戶收發端口 12:交易所收發端口 20:風控判斷單元 21:風控條件 30:記憶單元 300:用戶設備 310:交易封包 311:委託書欄位 312:交易價格欄位 313:交易口數欄位 314:買賣別欄位 320:修改後的交易封包 400:交易所設備 410:回覆封包 411:委託書欄位 412:交易價格欄位 413:交易口數欄位 414:買賣別欄位 420:修改後的回覆封包100: Transaction risk control device 10: Transceiver unit 11: User transceiver port 12: Exchange transceiver port 20: Risk control judgment unit 21: Risk control conditions 30: Memory unit 300: User Equipment 310: Transaction Packet 311: Power of Attorney field 312: Transaction price field 313: Transaction port number field 314: Trade field 320: Modified transaction packet 400: Exchange Equipment 410: Reply Packet 411: Power of Attorney field 412: Transaction price field 413: Transaction port number field 414: Buy and sell field 420: Modified reply packet

圖1,本發明一實施例交易風控裝置的單元示意圖。 圖2,本發明一實施例風控判斷單元發送狀態示意圖。 圖3,本發明一實施例風控判斷單元發送狀態示意圖。 圖4,本發明一實施例風控判斷單元回覆狀態示意圖。 圖5,本發明一實施例風控判斷單元回覆狀態示意圖。 圖6,本發明一實施例風控條件實施示意圖。 圖7,本發明一實施例回覆封包比對示意圖。 圖8,本發明另一實施例交易風控裝置的單元示意圖。 圖9,本發明另一實施例交易風控裝置的單元示意圖。 FIG. 1 is a schematic diagram of a unit of a transaction risk control device according to an embodiment of the present invention. FIG. 2 is a schematic diagram of a sending state of a risk control judging unit according to an embodiment of the present invention. FIG. 3 is a schematic diagram of a sending state of a risk control judging unit according to an embodiment of the present invention. FIG. 4 is a schematic diagram of a response state of a risk control determination unit according to an embodiment of the present invention. FIG. 5 is a schematic diagram of a response state of a risk control determination unit according to an embodiment of the present invention. FIG. 6 is a schematic diagram of the implementation of wind control conditions according to an embodiment of the present invention. FIG. 7 is a schematic diagram of comparison of reply packets according to an embodiment of the present invention. FIG. 8 is a schematic diagram of a unit of a transaction risk control device according to another embodiment of the present invention. FIG. 9 is a schematic diagram of a unit of a transaction risk control device according to another embodiment of the present invention.

100:交易風控裝置 100: Transaction risk control device

10:收發單元 10: Transceiver unit

11:用戶收發端口 11: User transceiver port

12:交易所收發端口 12: Exchange transceiver port

20:風控判斷單元 20: Risk control judgment unit

21:風控條件 21: Risk control conditions

300:用戶設備 300: User Equipment

400:交易所設備 400: Exchange Equipment

Claims (10)

一種交易風控裝置,包含: 一收發單元,接受至少一來自一用戶設備且目標位址為一交易所設備的交易封包,或接受至少一來自該交易所設備且目標位址為該用戶設備的回覆封包,該交易封包與該回覆封包使用的訊框架構相同,每一該交易封包與每一該回覆封包分別具有一委託書欄位,該回覆封包的該委託書欄位與其中一該交易封包的該委託書欄位記載相同;以及 一風控判斷單元,連接該收發單元,該風控判斷單元記憶自該收發單元取得的每一該交易封包,該風控判斷單元設定有複數可對該交易封包進行比對的風控條件,該風控判斷單元以二發送狀態處置每一該交易封包,該二發送狀態的其一為該交易封包未觸發任一該風控條件而直接向該交易所設備發送,該二發送狀態的另一為該交易封包觸發任一該風控條件時修改該交易封包向該交易所設備發送,該風控判斷單元接收每一該回覆封包時與該委託書欄位記載相同的其中一該交易封包進行比對並以二回覆狀態處置每一該回覆封包,該二回覆狀態的其一為該回覆封包與其中一該交易封包所載交易資訊相符時直接向該用戶設備發送,該二回覆狀態的另一為該回覆封包與其中一該交易封包所載交易資訊不符時基於比對的該交易封包修改該回覆封包後向該用戶設備發送。 A transaction risk control device, comprising: A transceiver unit, receiving at least one transaction packet from a user equipment with a target address of an exchange equipment, or receiving at least one reply packet from the exchange equipment with a target address of the user equipment, the transaction packet and the The frame structure used in the reply packet is the same, each transaction packet and each reply packet respectively have a power of attorney field, the power of attorney field of the reply packet and the power of attorney field of one of the transaction packets are recorded the same; and a risk control judging unit connected to the transceiver unit, the risk control judging unit memorizes each transaction packet obtained from the transceiver unit, and the risk control judging unit is set with a plurality of risk control conditions that can compare the transaction packets, The risk control judging unit processes each transaction packet in two sending states, one of which is that the transaction packet does not trigger any of the risk control conditions and is directly sent to the exchange equipment, and the other of the two sending states is that the transaction packet is directly sent to the exchange equipment. When any of the risk control conditions are triggered for the transaction packet, the transaction packet is modified and sent to the exchange equipment, and the risk control determination unit receives one of the transaction packets that is the same as that recorded in the power of attorney field when receiving each of the reply packets Compare and handle each of the reply packets with two reply states, one of the two reply states is that the reply packet is directly sent to the user equipment when the transaction information contained in one of the transaction packets is consistent, and the two reply states are sent directly to the user equipment. The other is that when the reply packet does not match the transaction information contained in one of the transaction packets, the reply packet is modified based on the compared transaction packet and sent to the user equipment. 如請求項1所述交易風控裝置,其中,該交易風控裝置為一現場可程式化邏輯閘陣列。The transaction risk control device according to claim 1, wherein the transaction risk control device is a field programmable logic gate array. 如請求項1或2所述交易風控裝置,其中,該交易風控裝置與ㄧ記憶媒介連接,以記憶自該收發單元取得的每一該交易封包。The transaction risk control device according to claim 1 or 2, wherein the transaction risk control device is connected to a memory medium to memorize each transaction packet obtained from the transceiver unit. 如請求項3所述交易風控裝置,其中,每一該交易封包與每一該回覆封包更分別包含一交易價格欄位、一交易口數欄位、一買賣別欄位,該些風控條件是基於該交易價格欄位、該交易口數欄位、該買賣別欄位進行判斷。The transaction risk control device according to claim 3, wherein each of the transaction packets and each of the reply packets further includes a transaction price field, a transaction port number field, and a transaction type field. The condition is judged based on the transaction price field, the transaction volume field, and the trade type field. 如請求項4所述交易風控裝置,其中,該收發單元包含一連接該用戶設備並接收由該用戶設備而來的該交易封包的用戶收發端口,以及一連接該用戶收發端口與該交易所設備並接收由該用戶設備而來的該回覆封包的交易所收發端口。The transaction risk control device according to claim 4, wherein the transceiver unit comprises a user transceiver port connected to the user equipment and receiving the transaction packet from the user equipment, and a user transceiver port connected to the exchange The device and the exchange transceiver port for receiving the reply packet from the user equipment. 如請求項1或2所述交易風控裝置,其中,該交易風控裝置包含一用以記憶自該收發單元取得的每一該交易封包的記憶單元。The transaction risk control device according to claim 1 or 2, wherein the transaction risk control device comprises a memory unit for storing each transaction packet obtained from the transceiver unit. 如請求項6所述交易風控裝置,其中,每一該交易封包與每一該回覆封包更分別包含一交易價格欄位、一交易口數欄位、一買賣別欄位,該些風控條件是基於該交易價格欄位、該交易口數欄位、該買賣別欄位進行判斷。The transaction risk control device according to claim 6, wherein each of the transaction packets and each of the reply packets further includes a transaction price field, a transaction port number field, and a transaction type field. The condition is judged based on the transaction price field, the transaction volume field, and the trade type field. 如請求項7所述交易風控裝置,其中,該收發單元可區分為一連接該用戶設備並接收由該用戶設備而來的該交易封包的用戶收發端口,以及一連接該用戶收發端口與該交易所設備並接收由該用戶設備而來的該回覆封包的交易所收發端口。The transaction risk control device according to claim 7, wherein the transceiver unit can be divided into a user transceiver port that is connected to the user equipment and receives the transaction packet from the user equipment, and a user transceiver port that connects the user transceiver port and the user equipment. The exchange sending and receiving port of the exchange equipment and receiving the reply packet from the user equipment. 如請求項1或2所述交易風控裝置,其中,該用戶設備與該交易所設備是以TMP(Taifex Message Protocol)傳輸協定傳遞資訊。The transaction risk control device according to claim 1 or 2, wherein the user equipment and the exchange equipment transmit information through a TMP (Taifex Message Protocol) transmission protocol. 如請求項1或2所述交易風控裝置,其中,每一該交易封包與每一該回覆封包更分別包含一交易價格欄位、一交易口數欄位、一買賣別欄位,該些風控條件是基於該交易價格欄位、該交易口數欄位、該買賣別欄位進行判斷。The transaction risk control device according to claim 1 or 2, wherein each of the transaction packets and each of the reply packets further includes a transaction price field, a transaction port number field, and a transaction type field, and these The risk control condition is judged based on the transaction price field, the transaction port number field, and the trade type field.
TW110122064A 2021-06-17 2021-06-17 Transaction risk control device TWI761236B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110122064A TWI761236B (en) 2021-06-17 2021-06-17 Transaction risk control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110122064A TWI761236B (en) 2021-06-17 2021-06-17 Transaction risk control device

Publications (2)

Publication Number Publication Date
TWI761236B true TWI761236B (en) 2022-04-11
TW202301242A TW202301242A (en) 2023-01-01

Family

ID=82199229

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110122064A TWI761236B (en) 2021-06-17 2021-06-17 Transaction risk control device

Country Status (1)

Country Link
TW (1) TWI761236B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW594531B (en) * 2002-10-09 2004-06-21 Mitake Data Co Ltd Method for intelligent touch-screen stock exchange terminal
TW201432597A (en) * 2012-12-06 2014-08-16 Miami Internat Securities Exchange Llc Electronic trading platform and method thereof
TWI525570B (en) * 2012-12-19 2016-03-11 紐約證券交易集團公司 Field programmable gate array for processing received financial orders and method of using the same
TWI570649B (en) * 2014-06-24 2017-02-11 Hitachi Ltd Financial commodity trading system and financial commodity transaction control method
US10740469B2 (en) * 2017-12-28 2020-08-11 Fmr Llc Automated secure software development management, risk assessment, and risk remediation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW594531B (en) * 2002-10-09 2004-06-21 Mitake Data Co Ltd Method for intelligent touch-screen stock exchange terminal
TW201432597A (en) * 2012-12-06 2014-08-16 Miami Internat Securities Exchange Llc Electronic trading platform and method thereof
TWI525570B (en) * 2012-12-19 2016-03-11 紐約證券交易集團公司 Field programmable gate array for processing received financial orders and method of using the same
TWI570649B (en) * 2014-06-24 2017-02-11 Hitachi Ltd Financial commodity trading system and financial commodity transaction control method
US10740469B2 (en) * 2017-12-28 2020-08-11 Fmr Llc Automated secure software development management, risk assessment, and risk remediation

Also Published As

Publication number Publication date
TW202301242A (en) 2023-01-01

Similar Documents

Publication Publication Date Title
TWI525570B (en) Field programmable gate array for processing received financial orders and method of using the same
US8706606B2 (en) Automated trading system
US7908213B2 (en) System and method for improving electronic trading
US11315182B2 (en) Validation engine with dual processing capacity
CN107392768A (en) A kind of futures trading system and method based on FPGA
US9613378B2 (en) Distributed ranking and matching of messages
TWI570649B (en) Financial commodity trading system and financial commodity transaction control method
US20220129983A1 (en) System and Method for Pre-Marshalling Messages in an Electronic Trading Environment
CN107809480A (en) One kind transaction commutation system
TWI761236B (en) Transaction risk control device
JP2011510414A (en) Method and system for improving replica server performance
CN115102863B (en) Method and device for dynamically configuring DPU (distributed processing Unit) hardware resource pool
TWI841061B (en) Transaction risk control device
TW202129638A (en) Network communication device for achieving high-frequency release of transaction data capable of performing data transmitting and receiving without being limited to a single Internet protocol address thereby avoiding transaction delay