An FPGA-based information management device

By designing an FPGA-based information management device, analyzing the stock exchange's market information, updating the total number of entrusted transactions at each price level, forming a global entrusted information table, solving the problem of limited information before stock trading, and real-time update of information and improving user experience.

CN113850677BActive Publication Date: 2025-06-27LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111110909.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-18
Publication Date
2025-06-27
Estimated Expiration
2041-09-18

AI Technical Summary

Technical Problem

The lack of effective information management methods in the prior art has resulted in limited information that users can refer to before stock trading and poor user experience.

Method used

An information management device based on FPGA is designed to analyze the market information of the stock exchange through the data analysis module, and the gear data processing module updates the total number of entrusted transactions in each price range to form a global entrusted information table, and outputs the latest global entrusted information table through the information output module.

Benefits of technology

Real-time update and summary of the total number of entrusted transactions at various price levels on the stock exchange is achieved, providing more comprehensive market trading information, and improving users' decision-making reference capabilities and user experience before stock trading.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113850677B_ABST
    Figure CN113850677B_ABST
Patent Text Reader

Abstract

The present invention discloses an information management device based on FPGA. Considering that the entrusted information of a large number of users can be aggregated to analyze the global entrusted information of users in the entire market from a macroscopic perspective, in this application, the latest stock entrusted trading orders and the latest stock transaction orders obtained from the market quotation messages sent by a designated stock exchange can be used to update the total number of entrusted transactions at each current price level in the designated stock exchange, and finally summarize them into the latest global entrusted information table. In this way, users can make decisions by referring to the total number of entrusted transactions at each latest price level, improving the user experience. Secondly, since this application is applied to an FPGA with a relatively fast processing speed, the timeliness of the information in the global entrusted information table is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of FPGAs, and in particular to an information management device based on an FPGA. Background Art

[0002] Before making a stock transaction, users usually need to refer to the trading quotes in the entire market for decision-making. For example, they can refer to the stock price trend chart for decision-making. However, the stock price trend is only one aspect of the entire market trading quotes. In the prior art, there is a lack of such information management methods to present users with more reference information that can reflect the market trading quotes, resulting in limited information available for users before stock trading and poor user experience.

[0003] Therefore, how to provide a solution to the above technical problems is an issue that those skilled in the art need to solve currently. Summary of the Invention

[0004] The object of the present invention is to provide an information management device based on an FPGA, which can update the total number of entrusted transactions at each current price level in a specified stock exchange and finally summarize it into the latest global entrusted information table. And since this application is applied to an FPGA with a relatively fast processing speed, the real-time nature of the information in the global entrusted information table is ensured.

[0005] To solve the above technical problems, the present invention provides an information management device based on an FPGA, including:

[0006] A data parsing module for parsing the market quotation message sent by a specified stock exchange to obtain the latest stock entrusted transaction order and the latest stock transaction order;

[0007] A price level data processing module for updating the total number of entrusted transactions at each current price level in the specified stock exchange according to the stock entrusted transaction order and the stock transaction order to obtain a global entrusted information table composed of the total number of entrusted transactions at the latest each price level;

[0008] An information output module for outputting the latest global entrusted information table.

[0009] Preferably, the data parsing module includes:

[0010] A network protocol processing module for parsing the transmission protocol of the market quotation message sent by a specified stock exchange;

[0011] A data protocol processing module for parsing the data protocol of the market quotation message after the transmission protocol parsing to obtain the latest stock entrusted transaction order and the latest stock transaction order.

[0012] Preferably, the gear data processing module includes:

[0013] A screening module that screens out the stock entrusted trading orders and stock transaction orders corresponding to each designated security in the preset securities set from the latest stock entrusted trading orders and the latest stock transaction orders;

[0014] A first storage module for storing the screened stock entrusted trading orders;

[0015] A matching module for matching the stock entrusted trading orders corresponding to the screened stock transaction orders from the first storage module and determining the transaction quantity in the stock transaction orders;

[0016] A message scheduling module for sending the screened stock entrusted trading orders, the matched stock entrusted trading orders and their corresponding transaction quantities to the main control module;

[0017] The main control module is used to update the global entrusted information table according to the data sent by the message scheduling module;

[0018] Wherein, the global entrusted information table includes an entrusted purchase information table and an entrusted sale information table, and each information table contains each entrusted price gear and its corresponding current market entrusted quantity.

[0019] Preferably, the main control module includes:

[0020] A control module for determining the entrusted type, entrusted price and expected transaction quantity of the screened stock entrusted trading orders, and determining the entrusted type, entrusted price and traded quantity of the matched stock entrusted trading orders;

[0021] A sorting module for judging whether there is a price gear with the same entrusted price as that of the screened stock entrusted trading order in the global entrusted information table corresponding to the entrusted type;

[0022] If it exists, add the expected transaction quantity to the total entrusted trading quantity of the price gear with the same entrusted price;

[0023] If it does not exist, add the entrusted price of the screened stock entrusted trading order as a new price gear to the global entrusted information table corresponding to the entrusted type, and use the expected transaction quantity as the initial total entrusted trading quantity of the newly added price gear;

[0024] The sorting module is further configured to subtract the traded quantity from the number of price brackets corresponding to the entrusted price of the stock entrusted trading order obtained by matching in the global entrusted information table corresponding to the entrusted type of the stock entrusted trading order obtained by matching.

[0025] A second storage module, configured to store the global entrusted information table in such a way that the total entrusted trading quantity of multiple price brackets in the global entrusted information table is stored corresponding to each storage address inside itself.

[0026] Among them, the entrusted types include entrusted purchase and entrusted sale.

[0027] Preferably, the second storage module is specifically configured to:

[0028] Store the entrusted purchase information table in descending order of price and store the entrusted sale information table in ascending order of price in such a way that the total entrusted trading quantity of multiple price brackets in the global entrusted information table is stored corresponding to each storage address inside itself.

[0029] Preferably, the data protocol processing module includes:

[0030] A cache module, configured to cache the market quotation message after parsing the transmission protocol;

[0031] A data processing unit, configured to perform data protocol parsing on the market quotation message in the module to obtain the latest stock entrusted trading order and the latest stock transaction order.

[0032] Preferably, the cache module is a first-in-first-out memory FIFO.

[0033] Preferably, the screening module is a CAM screening table.

[0034] Preferably, the second storage module is a RAM.

[0035] Preferably, the first storage module is a Cache memory.

[0036] The present invention provides an information management device based on FPGA. Considering that the entrusted information of a large number of users can be aggregated to analyze the global entrusted information of users in the entire market from a macroscopic perspective, in this application, the latest stock entrusted trading orders and the latest stock transaction orders obtained from the market quotation messages sent by a specified securities exchange can be used to update the total number of entrusted transactions at each current price level in the specified securities exchange, and finally summarize them into the latest global entrusted information table. In this way, users can make decisions by referring to the total number of entrusted transactions at each latest price level, improving the user experience. Secondly, since this application is applied to FPGA with a relatively fast processing speed, the timeliness of the information in the global entrusted information table is guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings required for use in the prior art and the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0038] Figure 1 It is a schematic structural diagram of an information management device based on FPGA provided by the present invention;

[0039] Figure 2 It is a schematic structural diagram of another information management device based on FPGA provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0040] The core of the present invention is to provide an information management device based on FPGA, which can update the total number of entrusted transactions at each current price level in a specified securities exchange, and finally summarize them into the latest global entrusted information table. And since this application is applied to FPGA with a relatively fast processing speed, the timeliness of the information in the global entrusted information table is guaranteed.

[0041] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the scope of protection of the present invention.

[0042] Please refer to Figure 1 , Figure 1 It is a schematic structural diagram of an information management device based on FPGA provided by the present invention. The information management device based on FPGA includes:

[0043] A data parsing module 11, configured to parse market quotes sent by a specified stock exchange to obtain the latest stock order trading orders and the latest stock transaction orders;

[0044] A price level data processing module 12, configured to update the total quantity of order trading at each current price level in the specified stock exchange according to the stock order trading orders and the stock transaction orders, so as to obtain a global order information table composed of the total quantity of order trading at the latest each price level;

[0045] An information output module 13, configured to output the latest global order information table.

[0046] Specifically, considering the technical problems in the above background art, and also considering that the order information of a large number of users can be aggregated to analyze the global order information of users in the entire market from a macro perspective, therefore, in this application, it is desired to calculate a global order information table aggregated by the total quantity of order trading at the latest each price level in the specified stock exchange, and output and prompt it, so that users can make decisions with reference to the total quantity of order trading at the latest each price level. Therefore, in this application, it is first necessary to obtain the market quotes sent by the specified stock exchange for parsing to obtain the latest stock order trading orders and the latest stock transaction orders, which can be used as the data basis for subsequent steps.

[0047] Specifically, since the latest stock order trading orders have added the quantity of order trading, and the latest stock transaction orders may be related to the existing order trading orders, the corresponding quantity of order trading can be reduced based on the latest stock transaction orders. Therefore, in this step, the total quantity of order trading at each current price level in the specified stock exchange can be updated based on the stock order trading orders and the stock transaction orders obtained in the previous step, so as to obtain a global order information table composed of the total quantity of order trading at the latest each price level. The content in this table reflects the total quantity of order trading at each current price level in the specified stock exchange, which has great reference value for users.

[0048] Specifically, in order to facilitate users to obtain the data in the global order information table in the first time, in the embodiment of the present invention, the latest global order information table can be output to a prompter, so that the prompter prompts the latest global order information table, thereby improving the real-time performance of the data and further enhancing the user experience.

[0049] Among them, the prompter can be of various types. For example, it can be a display, etc. The embodiment of the present invention does not make a limitation here.

[0050] Specifically, considering the problems of high latency and low efficiency in software-based processing in the CPU, the embodiments of the present invention are applied to a faster-processing FPGA (Field Programmable Gate Array), so as to reduce latency, improve data processing speed, and ensure the real-time nature of the information in the global entrustment information table.

[0051] Of course, in addition to FPGA, the present application can also be applied to other types of processors, and the embodiments of the present invention are not limited thereto.

[0052] The present invention provides an information management device based on FPGA. Considering that the entrustment information of a large number of users can be aggregated to analyze the global entrustment information of users in the entire market from a macroscopic perspective, in the present application, the latest stock entrustment transaction orders and the latest stock transaction orders obtained from the market quotation messages sent by a specified stock exchange can be used to update the total number of entrustment transactions at each current price level in the specified stock exchange, and finally summarize them into the latest global entrustment information table. In this way, users can make decisions by referring to the total number of entrustment transactions at each latest price level, improving the user experience. Secondly, since the present application is applied to an FPGA with a faster processing speed, the real-time nature of the information in the global entrustment information table is ensured.

[0053] To better illustrate the embodiments of the present invention, please refer to Figure 2 , Figure 2 , which is a schematic structural diagram of another information management device based on FPGA provided by the present invention. Based on the above embodiments:

[0054] As a preferred embodiment, the data parsing module 11 includes:

[0055] A network protocol processing module, configured to perform transmission protocol parsing on the market quotation messages sent by a specified stock exchange;

[0056] A data protocol processing module, configured to perform data protocol parsing on the market quotation messages after transmission protocol parsing to obtain the latest stock entrustment transaction orders and the latest stock transaction orders.

[0057] Specifically, the market quotation messages can be parsed at two levels of transmission protocol and data protocol, and then the latest stock entrustment transaction orders and the latest stock transaction orders can be obtained.

[0058] Specifically, a specific embodiment in the embodiments of the present invention can be:

[0059] The Shenzhen Stock Exchange market data information is connected to the FPGA (i.e., the information management device based on FPGA) through a 10G fiber optic interface via the market gateway. The updated global order information table in the FPGA can finally be uploaded to the host side through a 10G MAC interface or a PCIE (Peripheral Component Interconnect Express) interface.

[0060] Among them, the main steps and processes are as follows:

[0061] (1) The MAC interface of the FPGA receives the market quotes transmitted from the trading gateway. The network protocol processing module in the FPGA parses the transmission protocol of the market quotes, including the parsing of the data link layer and the network layer, and extracts the valid information of TCP (Transmission Control Protocol) and stores it in the buffer.

[0062] (2) The data protocol (such as the binary protocol) parsing module extracts the data from the buffer and performs protocol parsing according to the binary standard protocol format provided by the Shenzhen Stock Exchange. At the same time, it screens and filters a large number of types of market information, and screens out the transaction types that the trading party is interested in. In this project, the categories of market information we screened out are: individual transaction and individual order. Among them, the individual transaction shows the relevant data of the individual transaction at the current moment in the market, including information such as stock name, quantity, transaction price, etc.; the individual order shows the relevant data of the individual order at the current moment in the market, including information such as stock name, buy / sell type, quantity, etc.

[0063] As a preferred embodiment, the price level data processing module 12 includes:

[0064] A screening module that screens out the stock order trading orders and stock transaction orders corresponding to each specified security in the preset security set from the latest stock order trading orders and the latest stock transaction orders;

[0065] A first storage module for storing the screened stock order trading orders;

[0066] A matching module for matching the stock order trading orders corresponding to the screened stock transaction orders from the first storage module and determining the transaction quantity in the stock transaction orders;

[0067] A message scheduling module for sending the screened stock order trading orders, the matched stock order trading orders and their corresponding transaction quantities to the main control module;

[0068] The main control module is used to update the global entrustment information table according to the data sent by the message scheduling module;

[0069] Among them, the global entrustment information table includes an entrusted purchase information table and an entrusted sale information table. Each information table contains various entrusted price ranges and their corresponding current market entrusted quantities.

[0070] Specifically, the screening module can be used to further screen the latest stock entrustment trading orders and the latest stock transaction orders obtained by the data protocol processing module. For example, the stock entrustment trading orders and stock transaction orders corresponding to each specified security in the preset securities set that is key-concerned can be screened out. For example, the per-trade and per-entrustment data of a number of (such as 512) stocks that are key-concerned can be obtained to meet the requirements.

[0071] Specifically, the first storage module can store the screened stock entrustment trading orders for subsequent invocation. For example, it can be used to update the global entrustment information table.

[0072] Specifically, considering that if you want to update the global entrustment information table using the stock transaction orders, you need to find the previously stored stock entrustment trading orders corresponding to them, and reduce the entrusted quantity in the corresponding stock entrustment trading orders according to the transaction quantity in the stock transaction orders. Therefore, in the embodiments of the present invention, the matching module can always complete this matching work.

[0073] Specifically, after obtaining the screened stock entrustment trading orders, the matched stock entrustment trading orders and their corresponding transaction quantities, the message scheduling module can transmit them to the main control module so that the main control module can update the global entrustment information table according to the data sent by the message scheduling module, thereby completing the update and maintenance of the global entrustment information table.

[0074] As a preferred embodiment, the main control module includes:

[0075] The control module is used to determine the entrustment type, entrustment price, and expected trading quantity of the screened stock entrustment trading orders, and determine the entrustment type, entrustment price, and traded quantity of the matched stock entrustment trading orders;

[0076] The sorting module is used to determine whether there is a price range in the global entrustment information table corresponding to the entrustment type of the screened stock entrustment trading orders that has the same entrustment price;

[0077] If it exists, add the expected trading quantity to the total entrusted trading quantity of the price range with the same entrustment price;

[0078] If not, the entrusted price of the screened stock entrusted trading order is added as a new price level to the global entrusted information table corresponding to the entrusted type, and the expected trading quantity is used as the initial total entrusted trading quantity of the newly added price level;

[0079] The sorting module is also used to subtract the traded quantity from the quantity of the price level corresponding to the entrusted price of the matched stock entrusted trading order in the global entrusted information table corresponding to the entrusted type of the matched stock entrusted trading order;

[0080] The second storage module is used to store the global entrusted information table in such a way that the total entrusted trading quantity of multiple price levels in the global entrusted information table is stored corresponding to each storage address inside itself;

[0081] Among them, the entrusted types include entrusted purchase and entrusted sale.

[0082] Specifically, the control module in the embodiments of the present invention can determine the entrusted type, entrusted price and expected trading quantity of the screened stock entrusted trading order, and determine the entrusted type, entrusted price and traded quantity of the matched stock entrusted trading order, so as to serve as the data basis for subsequent modules.

[0083] Among them, the sorting module can quickly update the global entrusted information table according to the entrusted type, entrusted price and expected trading quantity of the screened stock entrusted trading order, and can update the global entrusted information table according to the entrusted type, entrusted price and traded quantity of the matched stock entrusted trading order (i.e., the transaction quantity in the aforementioned stock transaction order). The difference is that the former does addition, while the latter does subtraction.

[0084] Specifically, the main control module in the embodiments of the present invention has the characteristics of simple structure and high efficiency.

[0085] Of course, in addition to this specific structure, the specific structure of the main control module can also be other various types, which are not limited in the embodiments of the present invention.

[0086] As a preferred embodiment, the second storage module is specifically used for:

[0087] In the way that the total entrusted trading quantity of multiple price levels in the global entrusted information table is stored corresponding to each storage address inside itself, the entrusted purchase information table is stored in descending order of price, and the entrusted sale information table is stored in ascending order of price.

[0088] Specifically, to improve data transmission efficiency, embodiments of the present invention can store the total quantity of entrusted transactions for multiple price levels in one storage address of the second storage module. Therefore, when data is called, a single data call operation can obtain information on multiple price levels from a single storage address, improving data transmission efficiency.

[0089] Specifically, the second storage module can be a RAM (Random Access Memory).

[0090] Specifically, according to the characteristics of the RAM, the operation of reading the data corresponding to a single storage address from the RAM requires one cycle of time. In the project, if only the data corresponding to one price level is stored in each storage address, then it will take a long time to traverse all price levels. Therefore, a RAM group (second storage module) composed of multiple RAMs with multiple control ports for a multi-bit is used to horizontally store all price levels and their total quantity of entrusted transactions. In this way, because there are multi-port controllers that can simultaneously control dedicated RAM blocks (second storage module), it is possible to reduce latency and is also beneficial for subsequent timing convergence of the FPGA.

[0091] Specifically, the maximum number of price levels that can be stored in each storage address of the second storage module can be set to a unified preset quantity. For example, it can be 10. Then, during the process of storing price levels, according to the order of each price level in the global entrusted information table, every preset quantity of price levels are grouped and stored in one storage address along with their corresponding total quantity of entrusted transactions.

[0092] Among them, the price levels in the global entrusted information table of the entrusted purchase type are arranged in descending order of price, and the price levels in the global entrusted information table of the entrusted sale type are arranged in ascending order of price, which is more in line with the user's attention habits. That is, users tend to focus on the highest price of entrusted purchases and the lowest price of entrusted sales.

[0093] Specifically, the determination of whether there is a price level in the global entrusted information table corresponding to the entrusted type of the screened stock entrusted transaction order that is the same as the entrusted price can be specifically as follows:

[0094] Read the information of the price level from the storage address at the specified order in the global entrusted information table corresponding to the entrusted type of the screened stock entrusted transaction order in the second storage module;

[0095] Determine whether there is a price level in the information of all the price levels read this time that is the same as the entrusted price;

[0096] If it exists, it is determined that there is a price range in the global entrustment information table corresponding to the entrustment type that is the same as the entrustment price, and the specified order is restored to the initial value 1;

[0097] If it does not exist, it is determined whether the current specified order is the largest among the orders corresponding to the storage addresses with price ranges;

[0098] If not, the specified order is incremented by one, and the step of reading the price range information from the specified order-th storage address in the global entrustment information table corresponding to the entrustment type of the stock entrustment transaction order after screening in the second storage module is executed;

[0099] If so, it is determined that there is no price range in the global entrustment information table corresponding to the entrustment type of the stock entrustment transaction order after screening that is the same as the entrustment price.

[0100] As a preferred embodiment, the data protocol processing module includes:

[0101] A cache module for caching the market quotation message after parsing the transmission protocol;

[0102] A data processing unit for parsing the data protocol of the market quotation message in the module to obtain the latest stock entrustment transaction order and the latest stock transaction order.

[0103] Specifically, in order to prevent the problem of data loss caused by the difference in data processing speeds at both ends of the cache module, the data can be cached in the middle by the cache module.

[0104] Among them, cache modules can also be set between the screening module and the message scheduling module, and between the first storage module and the message scheduling module to further prevent data loss.

[0105] As a preferred embodiment, the cache module is a FIFO (First Input First Output, first-in-first-out memory).

[0106] Specifically, the FIFO has the advantages of flexibility, convenience, and high efficiency.

[0107] Of course, in addition to the FIFO, the cache module can also be of other types, which are not limited in this embodiment of the present invention.

[0108] As a preferred embodiment, the screening module is a CAM screening table.

[0109] Specifically, the CAM screening table has the advantages of simple structure and high efficiency.

[0110] Of course, in addition to the CAM screening table, the screening module can also be of other types, which are not limited in this embodiment of the present invention.

[0111] As a preferred embodiment, the second storage module is a RAM.

[0112] Specifically, the RAM has advantages such as fast transmission speed and small volume.

[0113] Of course, in addition to the RAM, the second storage module can also be of other types, which is not limited in the embodiments of the present invention.

[0114] As a preferred embodiment, the first storage module is a Cache memory.

[0115] Specifically, considering that the DDR (Double Data Rate) has a relatively large latency for reading and writing external caches, two-mode caches are designed according to its characteristics. Utilizing the feature that the on-chip RAM has a small read / write latency, if the cache hits, it only takes 5 cycles to compare and match the results. If it misses, it takes 30 cycles to match in the DDR, which is beneficial to improving the data processing efficiency.

[0116] Of course, in addition to the Cache memory, the first storage module can also be of many other types, which is not limited in the embodiments of the present invention.

[0117] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The same or similar parts among the various embodiments can be referred to each other. It should also be noted that in this specification, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element.

[0118] The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An FPGA-based information management device, characterized in that, Including: A data parsing module, configured to parse a market quotation message sent by a specified stock exchange to obtain the latest stock order trading orders and the latest stock transaction orders; A price level data processing module, configured to update the total quantity of order trading for each current price level in the specified stock exchange according to the stock order trading orders and the stock transaction orders, so as to obtain a global order information table composed of the total quantity of order trading for each latest price level; An information output module, configured to output the latest global order information table; The data parsing module includes: A network protocol processing module, configured to parse the transmission protocol of a market quotation message sent by a specified stock exchange; A data protocol processing module, configured to parse the data protocol of the market quotation message after the transmission protocol parsing to obtain the latest stock order trading orders and the latest stock transaction orders.

2. The information management device based on FPGA according to claim 1, characterized in that, The price level data processing module includes: A screening module, configured to screen out the stock order trading orders and stock transaction orders corresponding to each specified security in a preset security set from the latest stock order trading orders and the latest stock transaction orders; A first storage module, configured to store the screened stock order trading orders; A matching module, configured to match the stock order trading orders corresponding to the screened stock transaction orders from the first storage module and determine the transaction quantity in the stock transaction orders; A message scheduling module, configured to send the screened stock order trading orders, the matched stock order trading orders and their corresponding transaction quantities to a main control module; The main control module is configured to update the global order information table according to the data sent by the message scheduling module; Wherein, the global order information table includes an order purchase information table and an order sale information table, and each information table includes each order price level and its corresponding current market order quantity.

3. The information management device based on FPGA according to claim 2, wherein The main control module includes: A control module, configured to determine the order type, order price and expected trading quantity of the screened stock order trading orders, and determine the order type, order price and traded quantity of the matched stock order trading orders; A sorting module, configured to determine whether there is a price level with the same order price as that in the global order information table corresponding to the order type of the screened stock order trading orders; If it exists, add the expected trading quantity to the total quantity of order trading for the price level with the same order price; If it does not exist, add the order price of the screened stock order trading orders as a new price level to the global order information table corresponding to the order type, and use the expected trading quantity as the initial total quantity of order trading for the newly added price level; The sorting module is further configured to subtract the traded quantity from the quantity of the price level corresponding to the order price of the matched stock order trading orders in the global order information table corresponding to the order type of the matched stock order trading orders; A second storage module, configured to store the global entrustment information table in such a way that the total number of entrusted transactions for multiple price ranges in the global entrustment information table is stored corresponding to each storage address within itself. Among them, the entrustment types include entrusted purchase and entrusted sale.

4. The information management device based on FPGA according to claim 3, wherein Specifically, the second storage module is configured to: Store the entrusted purchase information table in descending order of price and store the entrusted sale information table in ascending order of price in such a way that the total number of entrusted transactions for multiple price ranges in the global entrustment information table is stored corresponding to each storage address within itself.

5. The information management device based on FPGA according to claim 2, wherein, The data protocol processing module includes: A cache module, configured to cache the market quotation message after parsing the transmission protocol. A data processing unit, configured to perform data protocol parsing on the market quotation message in the module to obtain the latest stock entrusted transaction order and the latest stock transaction order.

6. The information management device based on FPGA according to claim 5, characterized in that, The cache module is a first-in-first-out memory FIFO.

7. The information management device based on FPGA according to claim 2, wherein The screening module is a CAM screening table.

8. The information management device based on FPGA according to claim 3, wherein The second storage module is a RAM.

9. The information management device based on FPGA according to any one of claims 2 to 8, characterized in that The first storage module is a Cache memory.

Citation Information

Patent Citations

  • Market data reconstruction method and related device

    CN111815445A

  • Method, device and equipment for reconstructing market quotation based on item-by-item data

    CN111861743A