CN105654383A - Pipeline architecture-based low-latency FAST quotation decoding device and method - Google Patents

Pipeline architecture-based low-latency FAST quotation decoding device and method Download PDF

Info

Publication number
CN105654383A
CN105654383A CN201610008902.9A CN201610008902A CN105654383A CN 105654383 A CN105654383 A CN 105654383A CN 201610008902 A CN201610008902 A CN 201610008902A CN 105654383 A CN105654383 A CN 105654383A
Authority
CN
China
Prior art keywords
field
decoding
data
fast
controller
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.)
Granted
Application number
CN201610008902.9A
Other languages
Chinese (zh)
Other versions
CN105654383B (en
Inventor
姜磊
唐球
戴琼
苏马静
杨嘉佳
白旭
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.)
Institute of Information Engineering of CAS
Original Assignee
Institute of Information Engineering of CAS
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 Institute of Information Engineering of CAS filed Critical Institute of Information Engineering of CAS
Priority to CN201610008902.9A priority Critical patent/CN105654383B/en
Publication of CN105654383A publication Critical patent/CN105654383A/en
Application granted granted Critical
Publication of CN105654383B publication Critical patent/CN105654383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0038System on Chip

Abstract

The invention relates to a pipeline architecture-based low-latency FAST quotation decoding device and method. The device comprises internal buses, a controller, and field decoding operators in each of all the fields of FAST quotation data. The field decoding operators are respectively connected with the internal buses. Under the control of the controller, each filed of the FAST quotation data can be successively decoded. The internal buses are composed of a data bus and a control bus. By means of the data bus, the FAST quotation data are inputted into a stream buffer and the data transmission between the field decoding operators and an FIX message buffer is enabled. The control bus is responsible for the decoding operation of each field. The field decoding operators are in the form of three-stage decoding operators. Meanwhile, the streamlined type FAST quotation decoding process is realized based on the bus connection. According to the technical scheme of the invention, the quotation decoding speed is effectively accelerated. Meanwhile, the invention provides a support for the financial applications of algorithmic trading, high-frequency trading, market risk monitoring and the like.

Description

Based on low time delay FAST market decoding device and the method for pipelined architecture
Technical field
The invention belongs to areas of information technology, it is specifically related to a kind of low time delay FAST market based on pipelined architecture decoding device and method.
Background technology
The form that (multicast) broadcasts with group in finance exchange issues up-to-date market conditions data (marketdata) to participant in the market in real time. Market conditions data packet contains the up-to-date information such as up-to-date bid and offered quotation and demand, the conclusion of the business record (such as opening price, maxivalence, bottom price, present price, exchange hand, transaction value etc.) of financial product, order state. The financial market data of access are carried out real-time parsing by softwares such as Reading the Tape software or algorithm transaction by finance participant, make finance trade decision (such as dealing financial product) according to up-to-date market conditions. Therefore, the timely parsing of finance market data is most important for participant in the market (especially algorithm transaction and high frequency dealer). The participant in the market of up-to-date acquisition market conditions state preferentially can obtain the market profit of moment in other participants in the market.
Algorithm transaction (algorithmtrading) refer to automatically realized fast by computer program, the order of low cost performs and conclusion of the business. It is specifically related to determine that the best of order performs path, execution time, strike price and number of executions by program. Algorithm transaction is widely used in pension fund, common fund, hedge fund and other buyer organization investment person etc. Block trade can be divided into many penny antes by algorithm transaction and deal with the market risk and impact, can be market simultaneously and mobility is provided.
High frequency transaction (HighFrequencyTrading, HFT) refers to seeks, from the unserviceable very of short duration turn of the market of those people, the Computerized transaction that price difference realizes arbitrage by high performance computing platform. High frequency transaction is to the response time delay of marketing data at Microsecond grade, and the time of every time holding position is extremely short, substantially keeps closing a position during closing quotation. By accumulating, frequent slim profit repeatedly realizes making a profit in high frequency transaction. High frequency transaction is widely used in doing city, and it provides mobility for market.High frequency transaction has accounted for the 70% of US stock market total volume, accounts for 45% in Europe, accounts for 40% in Japan. High frequency transaction also starts to rise in emerging market, if all there is application the aspect such as commodity future, ETF and warrant at home.
Financial market exchanges agreement (SecuritiesTradingExchangeProtocol, STEP) mainly through security bargain data and transmits financal messaging between transaction mechanism and participant in the market at home, comprises order data, market data etc. Financial information exchange agreement (FinancialInformationExchange, FIX) in the completely compatible external financial market of STEP message. STEP/FIX message is strictly made up of the basic structure of multiple " tag=value ". This basic structure is called a territory or a field (field). Separate by field segmentation symbol " SOH " between field. Wherein " tag " is Field ID or field name, represents concrete field, and it implies the information such as the type of value, interval, and " value " is the value of this field. Being 270 as field " 270=342 " represents label, the value of field of (representing " market entry price " in STEP) is 342; SOH is non-printable character, and its ASCII code equals 1.
In order to reduce market data transfer bandwidth demand and transmission time delay, market body release can select streaming FIX agreement (FIXAdaptingforSTreaming, FAST) that STEP/FIX market message is carried out streaming encoding compression. FAST coding method reduces the size of data stream in two aspects. First, make it possible to utilize the dependency of data in stream by the concept of " field operations symbol ", eliminate redundant data. Secondly, make use of in the serial of binary coding to remaining data and the field that whether exists of the field length (stop bit encoding mechanism) of self-described and indication field can there is bitmap (PresenceMap, PMap). Coding basis is called that the control texture of " template " carries out. Template is by the regulation order of field and structure, field operations symbol, and the binary coding representation method used controls the coding of a part of convection current. Details refers to FIX/STEP and FAST agreement specification document more specifically. For convenience of description, the bit that each field of FIX/STEP obtains after FAST encodes is stated to be the encoded radio of field by the present invention.
Along with the open-development day by day of China's financial market, the financial application such as high frequency transaction from now on, algorithm transaction inherently occupy the bigger market share in China's financial market. The timely parsing of finance market data is the indispensable precondition of the financial application such as algorithm transaction, high frequency transaction, financial risks monitoring. In financial market, competition is day by day fierce, financial risks on the even social aspect of mechanism itself and even whole financial market affect ratio before become bigger. Therefore urgently need to study the FAST market decoding technique of a kind of low time delay, to support that financial risks monitoring, algorithm transaction etc. require the application demand of low time delay market process class. The mobility in financial market can also be promoted simultaneously.
Current FAST market decoding mainly realizes based on software approach, as adopt increase income market software OpenFAST (sourceforge.net/projects/openfast/), QuickFAST (www.ociweb.com/products/quickfast/), or enterprise oneself exploitation market decode system. Coding/decoding method based on software introduces extra data processing time delay.On the one hand, market network packet resolves the software network protocol stack time delay introduced: twice internal memory copy time delay and waiting system interrupt handling time delay; On the other hand, the system shake time delay that operating system is introduced, comprises multi-process compete for system resources, interrupts wait etc. The market processing delay of usual software is in millisecond rank. The market decoding time delay of Millisecond is difficult to meet such as the real-time application of high frequency transaction, market risk monitoring class.
On the other hand, FAST message has very strong data to be correlated with. FAST market message after coding is binary data stream, is all identified successively by PMap and stop bit encoding mechanism between field, between message. Namely the FAST encoded radio only having read a field from input stream could determine the position of next field in input market stream; With reason, after only having read a FAST message, next FAST message could be read in from input stream. The data dependence of FAST message limits the parallel decoding of FAST market. Published document does not also realize the work of FAST market message parallel decoding.
Summary of the invention
It is an object of the invention to provide a kind of device and the method for accelerating FAST market data decode based on specialized hardware, it is possible to the effective speed accelerating market decoding, for the financial application such as algorithm transaction, high frequency transaction, market risk monitoring provide support.
The technical solution used in the present invention is as follows:
A kind of low time delay FAST market based on pipelined architecture decoding device, comprise the field decoding operator of each field in inner bus, controller and FAST market data, each field decoding operator is connected to described inner bus respectively, completes the decoding of each field in FAST market data under the control of described controller successively; Described inner bus is divided into data bus and control bus, described data bus realizes FAST market data input stream buffer memory device and the data transmission between each field decoding operator and FIX message buffer, and described control bus is responsible for controlling the decode operation of each field.
Further, described field decoding operator is the decoding operator of syllogic, and is connected the FAST market decoding realizing streamline formula by bus; The decoding operator of described syllogic comprises reading certificate, field decoding, decoded result export three parts, carries out intermediate result buffer memory by buffer memory device between three parts. Wherein, read the encoded radio that data component is responsible for reading field from FAST market data input stream buffer memory device, field decoding parts are responsible for concrete decoding according to the rule of field operations symbol, and result output block is responsible for exporting the field value of decoding to exporting FIX message buffer. The FAST market decoding of described streamline formula comprises three independent streamlines altogether: the reading data component of all field decoding operators is connected to inner bus respectively, and is connected with Read Controller and forms time data stream waterline; The decoding device of all field decoding operators is connected to another inner bus respectively, is connected with decode controller and forms decoded stream waterline; The result output block of all field decoding operators is connected to another inner bus respectively, is connected with o controller and forms viewing pipeline.
Further, described controller adopts the finite state plane mechanism of band data path to realize, controller inside be divided into control path and data path, two paths inside realizes by finite state machine; Described control path is the field decoding task dispatcher of a top layer, sends, by it, the instruction that each field decoding operator starts decode operation successively; Described data path comprises the concrete steering logic of each decoding operator; After the decoding operator of a field completes decoding, data path returns decoding to control layer and terminates signal.
A kind of low time delay FAST market coding/decoding method based on pipelined architecture adopting said apparatus, field decoding operator is divided into reading certificate, field decoding, decoded result export three parts, and the FAST market decoding realizing streamline formula is connected by bus, comprise the steps:
1) the reading data component of all field decoding operators is connected to inner bus respectively, and is connected with Read Controller and forms time data stream waterline;From FAST market data input stream buffer memory device, the encoded radio of field is read by reading data component;
2) decoding device of all field decoding operators is connected to another inner bus respectively, is connected with decode controller and forms decoded stream waterline; It is responsible for concrete decoding according to the rule of field operations symbol by field decoding parts;
3) the result output block of all field decoding operators is connected to another inner bus respectively, is connected with o controller and forms viewing pipeline; The field value being responsible for exporting decoding by result output block is to exporting FIX message buffer.
Utilize device provided by the invention and method process FAST market data decode, have the following advantages:
1, the FAST market data processing speed of pole low time delay is obtained. The time delay of decoding FAST market is 0.1��1 delicate rank. Realize the decoding of FAST market based on specialized hardware, the extra process time delay that software system are introduced can be avoided.
2, based on the FAST market data decode treater of bus architecture, there is good extendability, support that field upgrades flexibly. Add new operator and only operator extension need to be loaded onto bus, delete operator and only need to unload operator bus. This point is very important to financial application, because FAST market template may often upgrade.
3, solving, based on the FAST market decoding processor of streamline, the difficult point that FAST market data rely on, solving FAST market can not the difficult point of parallel decoding, it is achieved that the parallel decoding between multiple field, multiple messages; And the reasonable representation of the intermediate result between each stage of streamline, the overall representation adopting " value exists mark+value ". Compared with the FAST market treater not using pipelined architecture, in theory, performance can obtain the acceleration rate of 3 times; Measured result shows, performance improves 1.8 times.
4, controller realizes based on the finite state machine of band data path, simplifies control and upgrades logic.
5, the present invention is applicable to the differential decoding agreement of the similar FAST agreement structure of task.
Actual measurement environment above-mentioned 1,3 is: FPGA chip is: XilinxZynq-7000chip (XC7Z020-3CLG484); Article one, FAST template comprises 12 fields.
Accompanying drawing explanation
Fig. 1 is the FAST market decoding processor schematic diagram based on bus architecture.
Fig. 2 is the field decoding device schematic diagram of syllogic streamline.
Fig. 3 is the FAST market decoding processor schematic diagram of syllogic streamline.
Fig. 4 is the controller principle schematic diagram based on FSMD.
Fig. 5 is the FAST market source codec treater schematic diagram realized based on FPGA.
Embodiment
For enabling above-mentioned purpose, the feature and advantage of the present invention more become apparent, below by specific embodiments and the drawings, the present invention will be further described.
In the present invention, specialized hardware is adopted to accelerate FAST market data decode, specialized hardware is such as FPGA (FieldProgrammableGateArray, field-programmable gate array), ASIC (ApplicationSpecificIntegratedCircuit, application specific integrated circuit) etc.
First, devise the FAST market decoding processor based on bus architecture. For concrete FAST market template, first the demoder (also referred to as decoding operator) of each field of definition in template is connected to respectively the inside bus of decoding processor. Inner bus is divided into data bus and control bus two class. The decoding of each field is completed successively under the control of decode controller.
Thereafter, the FAST market decoding processor of bus architecture is optimized improvement, the FAST market decoding processor of a design syllogic streamline.By the pipeline design cleverly, it is achieved that between FAST field, between FAST message, data, parallel decoding, Serial output decoded data are read in serial. Greatly improve the speed of FAST market decoding. The decoding operator being all designed to syllogic based on each field decoding operator of the FAST market decoding processor of streamline, then each decoding operator connects the overall FAST market demoder realizing streamline formula by bus.
1. based on the FAST market decoding processor of bus architecture
First design realizes all field operations symbol that FAST agreement is supported, these operational signs are embodied as decoding operator storehouse. For the decoding of concrete FAST template, first according to each field of definition in template, each field of instantiation from decoding operator storehouse. Fig. 1 describes the FAST market decoding processor based on bus architecture. The field decoding device that each is instantiated is connected to the inside bus of decoding processor respectively. Inner bus is divided into data bus and control bus two class. Data bus realizes FAST market data input stream buffer memory device (FAST-MSGFIFO) and each field decoding device, and the data transmission between FIX message buffer (FIX-MSGFIFO); Control bus is responsible for controlling the decode operation of each field. When the non-sky of FAST market data input stream buffer memory device, first controller activates the encoded radio that PMap field decoding device (PMapDecoder) reads PMap field from input stream, obtains PMap vector. Then the decoding (TIDDecoder in figure) of template ID is started. Thereafter, more successively activate the decode operation (fld in figure of follow-up field1Decoder��fldnDecoder). A front field decoding terminates, and could start next field decoding. Being correlated with owing to FAST message exists data, specifically the decoding of each field needs to judge whether there is field value in input data stream according to the PMap position of this field. The FAST market decoding processor based on bus structure that the present invention proposes has good extendability. Add a new field, only new decoding operator need to be hung and be loaded onto bus, and the steering logic of change control device; Delete a field, only this decoding operator need to be unloaded bus, and the steering logic of change control device. Extendability is especially important for often needing the financial application upgraded.
2. based on the FAST market decoding processor of streamline
Fig. 2 describes the field decoding operator of syllogic flowing water framework. This field decoding operator is divided into reading to export (writer) three parts according to (reader), field decoding (decoder), decoded result. Intermediate result buffer memory is carried out by buffer memory device (FIFO) between three parts. Read the encoded radio that data component is responsible for reading field from input stream (FAST-MSGFIFO); Field decoding parts are responsible for concrete decoding according to the rule of field operations symbol; Result output block is responsible for exporting the field value of decoding to exporting FIX message buffer (FIX-MSGFIFO).
Fig. 3 describes the framework of parallel FAST market decoding processor. This treater is divided into three independent streamlines. Each field is a syllogic field decoding operator, is namely divided into three big parts: reading certificate, field decoding, decoded result export. The reading data component that all (field) decodes operator is connected to inner bus (inside is divided into data bus and control bus) respectively, and be connected with Read Controller (readingcontrol, RC) and form the time data stream waterline of FAST market treater.Wherein Read Controller controls the concrete reading operation of each decoding operator. Similar, the decoding device of all decoding operators is connected to another inner bus respectively, and being connected with decode controller (decodingcontrol, DC) forms the decoded stream waterline of FAST market treater; The result output block of all decoding operators is connected to another inner bus respectively, and being connected with o controller (writingcontrol, WC) forms the viewing pipeline of FAST market treater. The concrete working mechanism that each streamline is described below.
A) time data stream waterline:
The read component realization order activating each field successively reads in the encoded radio of field. When inputting FAST message buffer (FAST-MSGFIFO) and be not empty, read data controller RC and send the reading data component (PMapreader) reading data enable signal to PMap decoding operator. These parts activate its subsequent parts (Template ID field, tidreader) and read data after having read data. Analogizing successively, Read Controller activates the reading data component of follow-up field successively according to the field order of PMap state and the definition of FAST template. After last field has read data, notice RC FAST message has been read. Now, if input FAST data flow buffer is not empty, then RC restarts the read work of a new FAST message; Otherwise enter idle waiting state.
Encoded radio write code field value buffer memory device xxx_in_fifo (the concrete field name in " xxx " the character representation figure occurred in the present invention that the read component of each operator will read in, encoded radio buffer memory device such as the first character section in FAST template is " fld1_in_fifo ", see Fig. 3), the basic unit of storage form of this buffer memory device is: " [pmap_bit] [value] ". Pmap_bit is the PMap zone bit of field, and field decoding parts need to utilize this mark determines how to encode. Namely demoder needs to know current field without encoded radio in input stream, recovers field value the need of the front value of utilization or initial value, when being labeled as 0 as copied the PMap of (COPY) operational sign field.
B) decoded stream waterline
What the decoding device of each field was parallel performs decoding. Reading the encoded radio of a field from code field value buffer memory device, it is also possible to do not need to read code field value, the rule accorded with by field operations and field PMap state determine. Then according to the rule execution field decoding of field operations symbol. Finally, decoded result is exported to field value buffer memory device (xxx_out_fifo).
The basic unit of storage structure of field value buffer memory device (xxx_out_fifo) is: " presence_flag [value] ". When this field has value, presence_flag=1; When this field is without presence_flag=0 during value, and " value " is empty. When the current field of message is empty, field output block needs to know that field is without value, and it does not need to write any data to output state. " value " is field value. Elongated String field value taking ' 0 ' as end mark.
C) viewing pipeline
The activation mechanism of viewing pipeline is same as time data stream waterline, activates the output block (xxx_writer) of each field successively. After each output block receives the output data enable signal that o controller sends, read the field value in corresponding field value buffer memory device (xxx_out_fifo), if it is 0 that the code field value read exists mark (presence_flag), indicate and need to export without field value, then terminate the output work of this field;Otherwise read a field value from field value buffer memory device, then by its byte-by-byte write FIX message buffer (FIX-MSGFIFO). After end of output, o controller notifies that follow-up output block continues to export field value.
3. controller
Controller in the present invention adopts finite state machine (FiniteStateMachinewithDatapath, the FSMD) mechanism of band data path to realize, as shown in Figure 4. Controller inside be divided into control path and data path, two paths inside realizes by finite state machine (FSM). Control path is the field decoding task dispatcher of a top layer, sends, by it, the instruction (xxx_dec_begin) that each field decoding operator starts decode operation successively; Data path comprises the concrete steering logic of each decoding operator. After the decoding operator of a field completes decoding, data path can return decoding to control layer and terminate signal (xxx_dec_done).
4. based on the low time delay market decoding processor of FPGA
The market decoding framework that the present invention proposes, can realize on the specialized hardwares such as FPGA (FieldProgrammableGateArray), ASIC (ApplicationSpecificIntegratedCircuit). This section take FPGA platform as row, provides concrete realization.
Fig. 5 gives the framework figure of the FAST market source codec treater realized based on FPGA. Wherein, finance market treater is the FAST market decoding processor based on streamline that the present invention proposes. A data exchange module is had, the fast data exchange of this module in charge market treater and ambient systems at FPGA chip internal. On the one hand, data exchange module is responsible for receiving the present quotation data stream issued from exchange, the data packet received being carried out Xie Bao and further parsing and extracts FAST market data, buffer memory is to FAST market data buffer memory device (FAST-MSG-FIFO). On the other hand, data exchange module is responsible for decoded FIX transmission of messages to financial application system (comprising necessary package). Due to the mode real-time release market that exchange is broadcast by group, therefore data exchange module is by express network interface access market data, as by 10/40GPYH+QSFP++GMAC core etc.; Decoded FIX market transmission of messages can be express network interface to financial application system, it is also possible to realized the quick transmission of market by PCIExpress interface+DMA signalling methods.
Above embodiment only in order to the technical scheme of the present invention to be described but not be limited; the technical scheme of the present invention can be modified or equivalent replacement by the those of ordinary skill of this area; and not departing from the spirit and scope of the present invention, protection scope of the present invention should to be as the criterion described in claim book.

Claims (10)

1. the decoding device of the low time delay FAST market based on pipelined architecture, it is characterized in that, comprise the field decoding operator of each field in inner bus, controller and FAST market data, each field decoding operator is connected to described inner bus respectively, completes the decoding of each field in FAST market data under the control of described controller successively; Described inner bus is divided into data bus and control bus, described data bus realizes FAST market data input stream buffer memory device and the data transmission between each field decoding operator and FIX message buffer, and described control bus is responsible for controlling the decode operation of each field.
2. device as claimed in claim 1, it is characterised in that: described field decoding operator is the decoding operator of syllogic, and is connected the FAST market decoding realizing streamline formula by bus;The decoding operator of described syllogic comprises reading certificate, field decoding, decoded result export three parts, carries out intermediate result buffer memory by buffer memory device between three parts; Wherein, read the encoded radio that data component is responsible for reading field from FAST market data input stream buffer memory device, field decoding parts are responsible for concrete decoding according to the rule of field operations symbol, and result output block is responsible for exporting the field value of decoding to exporting FIX message buffer; The FAST market decoding of described streamline formula comprises three independent streamlines altogether: the reading data component of all field decoding operators is connected to inner bus respectively, and is connected with Read Controller and forms time data stream waterline; The decoding device of all field decoding operators is connected to another inner bus respectively, is connected with decode controller and forms decoded stream waterline; The result output block of all field decoding operators is connected to another inner bus respectively, is connected with o controller and forms viewing pipeline.
3. device as claimed in claim 1 or 2, it is characterised in that: described controller adopts the finite state plane mechanism of band data path to realize, controller inside be divided into control path and data path, two path inside realize by finite state machine; Described control path is the field decoding task dispatcher of a top layer, sends, by it, the instruction that each field decoding operator starts decode operation successively; Described data path comprises the concrete steering logic of each decoding operator; After the decoding operator of a field completes decoding, data path returns decoding to control layer and terminates signal.
4. device as claimed in claim 1 or 2, it is characterised in that: realizing on specialized hardware, described specialized hardware is FPGA or ASIC.
5. device as claimed in claim 4, it is characterized in that: realize on FPGA chip, the data exchange module of described FPGA chip internal is responsible for and extraneous fast data exchange, it is responsible on the one hand receiving the present quotation data stream issued from exchange, the data packet received being carried out Xie Bao and further parsing and extracts FAST market data, buffer memory is to FAST market data buffer memory device; On the other hand, data exchange module is responsible for decoded FIX transmission of messages to financial application system.
6. one kind adopts the low time delay FAST market coding/decoding method based on pipelined architecture of device described in claim 1, it is characterized in that, field decoding operator is divided into reading certificate, field decoding, decoded result export three parts, and the FAST market decoding realizing streamline formula is connected by bus, comprise the steps:
1) the reading data component of all field decoding operators is connected to inner bus respectively, and is connected with Read Controller and forms time data stream waterline; From FAST market data input stream buffer memory device, the encoded radio of field is read by reading data component;
2) decoding device of all field decoding operators is connected to another inner bus respectively, is connected with decode controller and forms decoded stream waterline; It is responsible for concrete decoding according to the rule of field operations symbol by field decoding parts;
3) the result output block of all field decoding operators is connected to another inner bus respectively, is connected with o controller and forms viewing pipeline; The field value being responsible for exporting decoding by result output block is to exporting FIX message buffer.
7. method as claimed in claim 6, it is characterised in that: described time data stream waterline activates the reading data component of each field decoding operator successively, it is achieved order reads in the encoded radio of field;When FAST market data input stream buffer memory device is not empty, read data controller and send the reading data component reading data enable signal to PMap decoding operator, these parts activate its subsequent parts and read data after having read data, analogizing successively, Read Controller activates the reading data component of follow-up field successively according to the field order of PMap state and the definition of FAST template; After last field has read data, notice Read Controller FAST message has been read, if it is not empty for now inputting FAST data flow buffer, then Read Controller restarts the read work of a new FAST message, otherwise enters idle waiting state.
8. method as claimed in claim 7, it is characterized in that: the encoded radio write code field value buffer memory device that the reading data component of each field decoding operator will be read in, the basic unit of storage form of this code field value buffer memory device is [pmap_bit] [value], wherein pmap_bit is the PMap zone bit of field, and value is the value of this zone bit.
9. method as claimed in claim 8, it is characterized in that: in described decoded stream waterline, the field decoding parts of each field decoding operator read the encoded radio of field from code field value buffer memory device, according to the regular parallel execution field decoding of field operations symbol, finally export decoded result to field value buffer memory device; The basic unit of storage structure of described field value buffer memory device is presence_flag [value], when this field has value, and presence_flag=1, when this field is without value, presence_flag=0.
10. method as claimed in claim 9, it is characterized in that: the activation mechanism of described viewing pipeline is same as time data stream waterline, activate the output block of each field successively, after each output block receives the output data enable signal that o controller sends, read the field value in corresponding field value buffer memory device, if the field value read exists mark, presence_flag is 0, indicates and needs to export without field value, then terminates the output work of this field; Otherwise reading a field value from field value buffer memory device, then by its byte-by-byte write FIX message buffer, after end of output, o controller notifies that follow-up output block continues to export field value.
CN201610008902.9A 2016-01-07 2016-01-07 Low-delay FAST market decoding device and method based on pipeline architecture Active CN105654383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610008902.9A CN105654383B (en) 2016-01-07 2016-01-07 Low-delay FAST market decoding device and method based on pipeline architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610008902.9A CN105654383B (en) 2016-01-07 2016-01-07 Low-delay FAST market decoding device and method based on pipeline architecture

Publications (2)

Publication Number Publication Date
CN105654383A true CN105654383A (en) 2016-06-08
CN105654383B CN105654383B (en) 2019-12-10

Family

ID=56490626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610008902.9A Active CN105654383B (en) 2016-01-07 2016-01-07 Low-delay FAST market decoding device and method based on pipeline architecture

Country Status (1)

Country Link
CN (1) CN105654383B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108335201A (en) * 2018-01-10 2018-07-27 武汉旷腾信息技术有限公司 A kind of adaptive spread trading system and method based on FPGA
CN109614152A (en) * 2018-12-06 2019-04-12 青岛镕铭半导体有限公司 Hardware accelerator and storage equipment
CN110456662A (en) * 2019-08-14 2019-11-15 山东大学 A kind of real-time union simulation platform and emulation mode refining wind-energy changing system
CN110795152A (en) * 2019-11-04 2020-02-14 三亚学院 Time adjustment system based on financial data processing
CN111738862A (en) * 2020-08-19 2020-10-02 南京艾科朗克信息科技有限公司 Security quotation low-delay quotation recovery method based on FPGA
CN111967244A (en) * 2020-07-30 2020-11-20 浪潮(北京)电子信息产业有限公司 FAST protocol decoding method, device and equipment based on FPGA
CN112291041A (en) * 2020-10-22 2021-01-29 山东云海国创云计算装备产业创新中心有限公司 Data decoding device and method based on FPGA
CN112346843A (en) * 2020-11-26 2021-02-09 上海金融期货信息技术有限公司 Analysis method of low-delay FAST protocol
CN112347020A (en) * 2020-10-26 2021-02-09 东方证券股份有限公司 FAST market analysis system and method based on CGRA
CN113190481A (en) * 2021-07-02 2021-07-30 深圳华云信息系统有限公司 Data transmission method and device, electronic equipment and computer readable storage medium
CN113691532A (en) * 2021-08-24 2021-11-23 中科亿海微电子科技(苏州)有限公司 Method and device for parallel analysis of ten-gigabit communication data based on FAST protocol

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040107336A1 (en) * 1999-12-30 2004-06-03 Douglas Jonathan P. Method and apparatus for multi-thread pipelined instruction decoder
CN101719915A (en) * 2009-11-10 2010-06-02 北京中创信测科技股份有限公司 Method and device for realizing field decoding
CN104699448A (en) * 2015-03-20 2015-06-10 上海交通大学 Paralleled decoding system of FAST protocol and realization method of paralleled decoding system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040107336A1 (en) * 1999-12-30 2004-06-03 Douglas Jonathan P. Method and apparatus for multi-thread pipelined instruction decoder
CN101719915A (en) * 2009-11-10 2010-06-02 北京中创信测科技股份有限公司 Method and device for realizing field decoding
CN104699448A (en) * 2015-03-20 2015-06-10 上海交通大学 Paralleled decoding system of FAST protocol and realization method of paralleled decoding system

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108335201B (en) * 2018-01-10 2022-03-04 武汉旷腾信息技术有限公司 Self-adaptive price difference transaction system and method based on FPGA
CN108335201A (en) * 2018-01-10 2018-07-27 武汉旷腾信息技术有限公司 A kind of adaptive spread trading system and method based on FPGA
CN109614152B (en) * 2018-12-06 2022-11-04 镕铭微电子(济南)有限公司 Hardware acceleration module and storage device
CN109614152A (en) * 2018-12-06 2019-04-12 青岛镕铭半导体有限公司 Hardware accelerator and storage equipment
CN110456662A (en) * 2019-08-14 2019-11-15 山东大学 A kind of real-time union simulation platform and emulation mode refining wind-energy changing system
CN110456662B (en) * 2019-08-14 2021-02-02 山东大学 Real-time joint simulation platform and simulation method for refined wind energy conversion system
CN110795152A (en) * 2019-11-04 2020-02-14 三亚学院 Time adjustment system based on financial data processing
CN110795152B (en) * 2019-11-04 2023-11-03 三亚学院 Time adjustment system based on financial data processing
CN111967244A (en) * 2020-07-30 2020-11-20 浪潮(北京)电子信息产业有限公司 FAST protocol decoding method, device and equipment based on FPGA
WO2022021852A1 (en) * 2020-07-30 2022-02-03 浪潮(北京)电子信息产业有限公司 Fpga-based fast protocol decoding method, apparatus, and device
CN111967244B (en) * 2020-07-30 2023-03-14 浪潮(北京)电子信息产业有限公司 FAST protocol decoding method, device and equipment based on FPGA
CN111738862A (en) * 2020-08-19 2020-10-02 南京艾科朗克信息科技有限公司 Security quotation low-delay quotation recovery method based on FPGA
CN112291041A (en) * 2020-10-22 2021-01-29 山东云海国创云计算装备产业创新中心有限公司 Data decoding device and method based on FPGA
CN112347020A (en) * 2020-10-26 2021-02-09 东方证券股份有限公司 FAST market analysis system and method based on CGRA
CN112346843A (en) * 2020-11-26 2021-02-09 上海金融期货信息技术有限公司 Analysis method of low-delay FAST protocol
CN113190481B (en) * 2021-07-02 2021-10-29 深圳华云信息系统有限公司 Data transmission method and device, electronic equipment and computer readable storage medium
CN113190481A (en) * 2021-07-02 2021-07-30 深圳华云信息系统有限公司 Data transmission method and device, electronic equipment and computer readable storage medium
CN113691532A (en) * 2021-08-24 2021-11-23 中科亿海微电子科技(苏州)有限公司 Method and device for parallel analysis of ten-gigabit communication data based on FAST protocol
CN113691532B (en) * 2021-08-24 2023-11-28 中科亿海微电子科技(苏州)有限公司 Parallel analysis method and device for tera-megaphone communication data based on FAST protocol

Also Published As

Publication number Publication date
CN105654383B (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN105654383A (en) Pipeline architecture-based low-latency FAST quotation decoding device and method
EP1994474B1 (en) Firmware socket module for fpga-based pipeline processing
US11567815B2 (en) Publish-subscribe framework for application execution
US9727341B2 (en) Control flow in a thread-based environment without branching
US7580040B2 (en) Interruptible GPU and method for processing multiple contexts and runlists
CN1916961B (en) Interruptible graphic processing unit and its control method
CN105793715B (en) Interconnect retimer enhancing
CN109213706A (en) System and method for accessing the storage equipment as memory
US9477476B2 (en) Fusing immediate value, write-based instructions in instruction processing circuits, and related processor systems, methods, and computer-readable media
CN107369012A (en) A kind of method for processing payment information and system and the prepaid card processing method with performance bond insurance mechanism
US20070103476A1 (en) Interruptible GPU and method for context saving and restoring
US20220004387A1 (en) Handling an input/output store instruction
CN104714918B (en) The reception of high speed FC bus datas and way to play for time under hosted environment
US10303530B1 (en) System and method for sequentially interleaving undelayed and intentionally delayed executable instructions
CN110109626A (en) A kind of NVMe SSD command handling method based on FPGA
CN102656860B (en) The process of many granularities stream
CN104699448A (en) Paralleled decoding system of FAST protocol and realization method of paralleled decoding system
CN103218343A (en) Inter-multiprocessor data communication circuit adopting data driving mechanism
CN100562864C (en) A kind of implementation method of chip-on communication of built-in isomerization multicore architecture
Tang et al. A pipelined market data processing architecture to overcome financial data dependency
CN115357629A (en) Processing method, system, electronic device and storage medium for financial data stream
CN104407367B (en) Improve the apparatus and method of satellite navigation terminal receiver baseband signal disposal ability
CN114546682A (en) Data processing method, device, equipment, medium and program product
Li et al. Fast protocol decoding in parallel with FPGA hardware
CN106911715B (en) A kind of communication control unit and communication control method separating Read-write Catrol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Jiang Lei

Inventor after: Tang Qiu

Inventor after: Dai Qiong

Inventor after: Su Majing

Inventor after: Yang Jiajia

Inventor after: Bai Xu

Inventor before: Jiang Lei

Inventor before: Tang Qiu

Inventor before: Dai Qiong

Inventor before: Su Majing

Inventor before: Yang Jiajia

Inventor before: Bai Xu

GR01 Patent grant
GR01 Patent grant