Security market TCP/IP message rapid processing device and method

A technology of IP message and processing device, which is applied in the field of securities, can solve the problems of large delay and loss, achieve the effect of less resource consumption, fast processing speed, and overcome the limitation of gate processing ability and speed

Inactive Publication Date: 2020-08-28
南京艾科朗克信息科技有限公司
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Large delays often mean loss of

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Security market TCP/IP message rapid processing device and method

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0025] Example 1

[0026] The processing method using the fast processing device and method for the securities market data TCP / IP message includes the following steps. Step 1: Obtain the stock exchange market data to the FPGA, and the data transmission module in the FPGA converts the received message according to TCP / IP The protocol parses the packet header to obtain the TCP / IP quadruple, and then performs the quadruple matching, extracts the TCP serial number of the matched packet and compares it with the serial number of the previous packet. If the serial number is continuous, the packet is valid The payload data is sent to the data output module, and vice versa, the payload data is sent to the data storage module; Step 2: The storage module stores TCP / IP packets with inconsecutive serial numbers, and retrieves all stored packets according to the current serial number. The message with the serial number is sent to the data output module; Step 3: The output module groups the dat...

Example Embodiment

[0027] Example 2

[0028] On the basis of embodiment 1, in step 2, the state machine extracts the message header information, serial number, message length, end flag, and storage address of each message from the data storage module and puts them in a fixed register , Judge whether the message sequence number matches the expected sequence number, if it matches, output the message to the data output module and release the storage space occupied by the message for recycling.

[0029] In Embodiment 1 and Embodiment 2, the data transmission module includes a TCP / IP quadruple matching module, and the module discards packets that do not conform to the designated IP and PORT.

[0030] The data transmission module includes a TCP / IP protocol analysis module, and the protocol analysis module analyzes the message according to the TCP / IP protocol.

[0031] The data storage module includes a storage area dynamic allocation and recovery module, and the module dynamically allocates and manages the da...

Example Embodiment

[0032] Example 3

[0033] On the basis of Embodiment 1 and Implementation 2, the data transmission module includes a TCP / IP abnormal interrupt detection module, and the abnormal interrupt detection module outputs TCP / IP if it detects that the message sequence number is always discontinuous within a period of time If the connection is abnormal, restart the module, clear all internal states, and restart receiving data.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention belongs to the field of financial securities, and relates to a security market TCP/IP message rapid processing device and method. At present, security quotations of the exchange are mostly pushed by TCP/IP messages, and the delay of receiving and processing the TCP/IP messages by software is relatively large and is generally unequal from tens of microseconds to milliseconds, which isunfavorable for high-frequency quantitative transaction. The invention provides a security market TCP/IP message rapid processing device, which comprises an FPGA, and is characterized in that the FPGA comprises a data transmission module, a data processing module, a data storage module and a data output module. The invention also provides a processing method using the security market TCP/IP message rapid processing device. The method disclosed by the invention consumes less resources; a single TCP/IP message is high in processing speed and short in time delay, and meanwhile, the working clockfrequency of the FPGA is not reduced, so that the defect that a customized circuit is not flexible enough is overcome, the defect that the processing capacity and speed of an original programmable device gate are limited is overcome, and multiple TCP/IP messages can be processed at the same time.

Description

technical field [0001] The invention belongs to the field of securities, and relates to a device and method for quickly processing TCP / IP messages of securities quotes. Background technique [0002] The securities market is paying more and more attention to high-frequency trading, and the requirements for market data processing speed are increasing. Both Shanghai and Shenzhen Stock Exchanges use TCP / IP protocol messages to push securities market prices to users. Effective market data is first encapsulated into data messages using TCP / IP protocol and then transmitted to users through the network. Users usually use pure software Receive the TCP / IP message and get the market data after analyzing and processing the TCP / IP protocol. The software's delay in receiving and processing TCP / IP packets generally ranges from tens of microseconds to several milliseconds. [0003] Today, when high-frequency trading is increasingly pursuing speed, the delay in the processing of market dat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/06G06Q40/04
CPCG06Q40/04H04L69/16H04L69/22
Inventor 秦轶轩陈峻峰朱志文
Owner 南京艾科朗克信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products