CN114003465A - High-reliability low-delay centralized wind control system and method for financial transaction system - Google Patents

High-reliability low-delay centralized wind control system and method for financial transaction system Download PDF

Info

Publication number
CN114003465A
CN114003465A CN202111273815.3A CN202111273815A CN114003465A CN 114003465 A CN114003465 A CN 114003465A CN 202111273815 A CN202111273815 A CN 202111273815A CN 114003465 A CN114003465 A CN 114003465A
Authority
CN
China
Prior art keywords
wind control
centralized
module
transaction
trading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111273815.3A
Other languages
Chinese (zh)
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.)
Shanghai Guangce Information Technology Co ltd
Original Assignee
Shanghai Guangce Information Technology Co ltd
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 Shanghai Guangce Information Technology Co ltd filed Critical Shanghai Guangce Information Technology Co ltd
Priority to CN202111273815.3A priority Critical patent/CN114003465A/en
Publication of CN114003465A publication Critical patent/CN114003465A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Computing Systems (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Mathematical Physics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a high-reliability low-delay centralized wind control system and a method for a financial transaction system, which comprise an order reporting system, an order management system, a centralized control center system and a transaction counter system, wherein internal modules of the centralized wind control system comprise a control information management module, a consignment abnormal wind control module, a consignment running log module, a parameter configuration file module, a counter service module, a transaction service module and a market condition transaction data module. The high-reliability low-delay centralized wind control system and the method for the financial trading system are used for carrying out advanced inspection on trading orders and preventing low-selling high-buying and other transaction behaviors which violate the provisions of trading. The centralized wind control of extremely low time delay is realized through the parallelization centralized calculation; high availability is realized through the main and standby framework; the zero copy and high concurrency of the whole process are realized by DMA, thread pool, shared memory and other technologies, and the acceleration is realized by FPGA hardware.

Description

High-reliability low-delay centralized wind control system and method for financial transaction system
Technical Field
The invention relates to the technical field of financial transactions, in particular to a high-reliability low-delay centralized wind control system and a method for a financial transaction system.
Background
Each transaction instruction needs to be subjected to sufficient business inspection and can enter an order queue of a trading exchange to be matched into a deal after passing through the business inspection, the advance wind control means that risk detection is carried out on the transaction instruction before the transaction instruction is sent to the trading exchange, the transaction instruction passing through the detection is submitted to a trading module for reporting, the transaction instruction not passing through the detection is directly rejected, and the advance wind control is characterized by extremely high coupling with a trading system; low delay and high reliability.
The system time delay is a core index for showing the performance of the system, wherein the wind control system is an indispensable part of the trading system, has important influence on the whole time delay of the trading system, and for the trading strategy of pursuing low time delay, the wind control needs to be completed in a very short time in advance.
The existing wind control scheme is to select a wind control module of a high-performance trading desk to realize wind control inspection, and for a counter trading cluster, each trading desk is provided with the wind control module to independently complete the wind control inspection, namely, the distributed wind control scheme.
There are problems:
1. along with the increasing of wind index checking items, the complexity of index operation and judgment is increased continuously. The time delay of the transaction counter processing is affected more and more, and the wind control algorithm and the index cannot be dynamically loaded and take effect in real time.
2. Distributed wind control calculation needs independent decoding and caching of market data, transaction success return data, transaction return data and configured wind control index strategies, repeatedly occupies counter resources, wastes calculation CPUs and is low in reliability.
3. Distributed sub-control calculation cannot realize the load balancing function of the trading desk cluster, and the sub-control calculation occupies more resources when some trading desk entrusts more orders. And the counter with light load can not bear wind control calculation and can not be effectively utilized.
4. Distributed sub-control cannot perform centralized index calculation, namely index calculation is performed on all the entrustment bill subsets together, and data hashing cannot be updated in a centralized mode at each trading counter.
5. The distributed sub-control log system is recorded in each transaction counter, all the wind control, entrustment and transaction information can be left in the log system, and the log system needs to be combined to facilitate the retrospective wind control, and due to time synchronization difference, the work load of log combination processing is large.
Disclosure of Invention
Technical problem to be solved
Aiming at the defects of the prior art, the invention provides a high-reliability low-delay centralized wind control system and a method for a financial transaction system, which are used for carrying out prior inspection on transaction orders and preventing the transaction behaviors of violating the provision of transaction rules, such as low selling, high buying and the like. The centralized wind control of extremely low time delay is realized through the parallelization centralized calculation; high availability is realized through the main and standby framework; zero copy and high concurrency of the whole process are realized by DMA, thread pool, shared memory and other technologies; and the system response speed is further improved by the acceleration of FPGA hardware, and the problems of high delay, low performance and poor reliability of an air control system in the traditional trading system are solved.
(II) technical scheme
In order to achieve the purpose, the invention is realized by the following technical scheme: the centralized wind control system comprises an order reporting system, an OMS order management system, a centralized control center system and a trading counter system, wherein internal modules of the centralized wind control system comprise a control information management module, a consignment abnormal wind control module, a consignment running log module, a parameter configuration file module, a counter service module, a trading exchange service module and a market situation transaction data module.
Preferably, the centralized wind control system is located between the trading desk and the trading gateway of the exchange, so the order return and the return of the exchange are also replaced by the centralized wind control system to forward the corresponding trading desk system.
Preferably, because the two types of interfaces including the STEP and the Binary exist in deep interaction, the interaction between the centralized wind control center system and the counter also supports the two types of protocols including the STEP and the Binary.
Preferably, the counter service module is used for simulating an exchange and interfacing with a counter transaction cluster, and the exchange service module is used for interfacing with an upper exchange, a deep exchange and an exchange service.
Preferably, the quotation transaction data module is configured to receive quotation data pushed by a trading exchange quotation gateway, and use the quotation data to be cached after API analysis for use in determining the entrusted abnormal wind control process.
Preferably, the control information management module is configured to start control, start script and configuration reading, detect and monitor heartbeat of each process, and switch and detect heartbeat of the active/standby centralized control servers.
Preferably, the entrusted running water log module is configured to push the running water logs generated by each process of the entire centralized controller to the process for recording, and generate a log file for offline query, for log recording service.
Preferably, the entrusted abnormal wind control module is used for compiling an order judgment algorithm according to wind control indexes, giving a signal whether the order is abnormal or not, supporting dynamic loading of the wind control algorithm and the indexes, and enabling the order to take effect in real time.
The invention also provides a method for the high-reliability low-delay centralized wind control system of the financial transaction system, which specifically comprises the following steps:
s1, the account reports the order based on the trading strategy in the order management system, the report firstly enters the OMS order management system, the OMS order management system reports different OMS order management systems based on different trading strategies, and the OMS order management system directly reports the order to the trading counter system after receiving and storing data;
s2, after the transaction counter system passes the verification, reporting to the centralized control center system for abnormal commission verification, if the verification fails, reporting back the abnormal commission of the counter, and if the verification succeeds, reporting the corresponding seat based on the commission seat information;
s3, checking the entrusted exception, acquiring real-time market information and return data of transaction, and pushing the return data of transaction by the exchange transaction unit in real time.
Preferably, the real-time stroke-by-stroke scenario in step S3 is provided by an independent fast-stroke scenario system.
(III) advantageous effects
The invention provides a high-reliability low-delay centralized wind control system and a method for a financial transaction system. Compared with the prior art, the method has the following beneficial effects:
(1) the high-reliability low-delay centralized wind control system and the method for the financial transaction system have high availability design, the main-standby switching is realized by adopting a main-standby mode and a TCP uninterrupted connection synchronization method, the adjacent systems have no perception or little perception, and the coupling is low. Key service backup can be realized: such as counter connect services, exchange connect services, logging services, and market receiving services; and finishing the current limiting service processing: in order to ensure that the system stabilizes counter connection service, the exchange connection service needs flow limiting processing and flow balancing processing; implementation of delegated timeout setting: if the abnormal entrusted wind control process is hung up, overtime detection is required or retry of the process replacement is required; carrying out abnormal back pressure treatment: when the exchange connection service is abnormal, the counter connection service is pressed back, and then the counter system is pressed back; and realizing monitoring alarm processing: the control process monitors whether each service process is abnormal or not, and alarms or main/standby switching are carried out once the service processes are abnormal; non-interrupted TCP connection: the counter is connected with the service, the exchange is connected with the service and designed to have no interruption TCP connection, and the counter and the exchange are not aware; incremental data synchronization: the standby server monitors the main data, carries out follow-up recording, and synchronizes incremental data from a recording point to the exchange after switching, so that the speed is extremely high; main and standby heartbeat detection: directly connecting network cables, detecting heartbeat, detecting network card hardware and detecting server abnormity between the main server and the standby server, and alarming once abnormity is found, and actively switching.
(2) The high-reliability low-delay centralized wind control system and the method for the financial transaction system realize high-performance concurrent design, and when the system receives a high-concurrent execution API request, the performance is kept stable. The communication transmission end is processed through the FPGA, and the software is served through a high-performance assembly, parallelized processing and system tuning, so that the processing speed and bandwidth of the system are greatly improved, and a high-concurrency scene is effectively responded; ultra-low latency OS kernel: scheduling optimization of a Linux kernel, Cache optimization, network optimization and Numa optimization; self-defining a super-optimized communication protocol, lightweight communication IPC and inter-multi-core IPI; optimizing vector memory based on an X86 AVX technology, performing parallel computation and multiply-add operation; deep customization of IP core, ultra-fast DMA and FPGA Ethernet frame processing.
(3) The high-reliability low-delay centralized wind control system and the method for the financial transaction system have the advantages that the processing capacity of a single machine is improved through high-expansibility design by longitudinal expansion, and the concurrent processing capacity is further improved through cluster deployment by transverse expansion; according to the business processing logic, the business processing logic is divided into counter connection service, exchange connection service and abnormal entrusted wind control service, and stateless horizontal capacity expansion is realized; the system can be independently deployed on a stand-alone machine or a centralized controller according to the needs; the flow log service LogServer operates independently in a servitization mode, provides log storage service, and can be independently deployed on a single machine or a centralized controller; the market situation transaction data service is split according to the requirement of the abnormal entrusted wind control index algorithm, and can be independently deployed on a single machine or a centralized controller; the entrusted wind control service process adopts an N parallel mode, and can be expanded and reduced according to the quantity of CPUs and the quantity of memories of the server; the service concurrency capability is improved, and parallel scheduling can be performed according to dimensions such as CPU load, queuing number, response time and the like.
(4) The centralized wind control system is arranged between a trading counter and a trading exchange gateway, a statement request initiated by the counter firstly enters the centralized wind control system, the wind control system carries out logic check calculation on the statement, if the statement passes the check, the statement is sent to the trading exchange, if the statement does not pass the check, the statement is returned to the counter, and if the statement returned by the trading exchange returns and returns a deal, the statement is directly returned to the counter.
(5) The high-reliability low-delay centralized wind control system and the method for the financial transaction system need to acquire real-time line-by-line quotation and transaction return data through entrust abnormity verification, the transaction return data is pushed and returned by a transaction unit of a exchange in real time, and the real-time line-by-line quotation is provided by an independent extremely rapid quotation system.
(6) The high-reliability low-delay centralized wind control system and the method for the financial transaction system comprise the following internal modules of the centralized wind control system: the method comprises the steps of control information management, entrusting abnormal wind control, entrusting running water logs and parameter configuration files, wherein control information input information level2 quotations and account detail, entrusting abnormal wind control output is an entrusting verification result, the entrusting running water logs are used for follow-up abnormal investigation, configuration parameters are initialized every day and take effect in real time after modification.
Drawings
FIG. 1 is a schematic diagram illustrating an interaction relationship between a centralized wind control system and an external device according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a communication flow according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a system hardware architecture according to an embodiment of the present invention;
FIG. 4 is a system service component hierarchy diagram according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating the relationship between modules in the system according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a primary and standby high availability server architecture in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-6, an embodiment of the present invention provides a technical solution: the centralized wind control system comprises an order reporting system, an OMS order management system, a centralized control center system and a trading counter system, wherein an internal module of the centralized wind control system comprises a control information management module, a consignment abnormal wind control module, a consignment running log module, a parameter configuration file module, a counter service module, a trading exchange service module and a market condition transaction data module, and the centralized control center system is used as a newly-involved prior wind control system and is responsible for preventing the occurrence of trading violation transactions.
In the embodiment of the invention, the centralized wind control system is arranged between the trading counter and the trading gateway of the trading exchange, so the order return and the transaction return of the trading exchange are also replaced by the centralized wind control system to be transmitted to the corresponding trading counter system.
In the embodiment of the invention, because two interfaces, namely STEP and Binary, exist in deep interaction, the interaction between the centralized wind control center system and the counter also supports two protocols, namely STEP and Binary.
In the embodiment of the invention, a counter service module, namely a counter service process MarsDispatch, is used for simulating an exchange and interfacing with a counter transaction cluster, and an exchange service module, namely an exchange service process TradeFwd, is used for interfacing with an exchange, a deep exchange and the exchange service.
In the embodiment of the invention, the quotation transaction data module, namely a quotation transaction data process FeedRecv, is used for receiving quotation data pushed by a trading exchange quotation gateway, and is cached after API analysis so as to be used for judging the entrusted abnormal wind control process.
In the embodiment of the invention, a control information management module, namely a centralized controller management process TacControl, is used for starting control, starting scripts and configuration reading, heartbeat detection and monitoring of each process, and switching and heartbeat detection of a main centralized control server and a standby centralized control server.
In the embodiment of the invention, a water flow log entrusting module, namely a water flow log service process LogServer, is used for log recording service, pushes the water flow logs generated by each process of the whole centralized controller to the process for recording, and generates log files for offline inquiry.
In the embodiment of the invention, the entrusted abnormal wind control module, namely the entrusted abnormal wind control process RiskControl, is used for compiling an order judgment algorithm according to the wind control indexes and giving a signal whether the order is abnormal or not, the entrusted abnormal wind control process adopts a thread pool mode, a plurality of business processes can be processed in parallel, and the throughput is improved.
The embodiment of the invention also provides a method for a high-reliability low-delay centralized wind control system of a financial transaction system, which specifically comprises the following steps:
s1, the account reports the order based on the trading strategy in the order management system, the report firstly enters the OMS order management system, the OMS order management system reports different OMS order management systems based on different trading strategies, and the OMS order management system directly reports the order to the trading counter system after receiving and storing data;
s2, after the transaction counter system passes the verification, reporting to the centralized control center system for abnormal commission verification, if the verification fails, reporting back the abnormal commission of the counter, and if the verification succeeds, reporting the corresponding seat based on the commission seat information;
s3, entrusting exception checking needs to obtain real-time transaction behavior and transaction return data, the transaction return data is pushed and returned by the exchange transaction unit in real time, and the real-time transaction behavior is provided by an independent extremely rapid behavior system.
In the embodiment of the invention, the design purpose of the centralized control center system is to control the illegal transaction risk of the account and prevent the transaction behaviors, such as low selling, high buying and the like, which violate the transaction provisions. The abnormal transaction behavior of the account can be intercepted by the system before the report of the exchange, and the performance of the system can directly influence the performance of the account service development.
In view of the above, the invention provides an extremely low-delay centralized wind control system and method for a financial transaction system, which are used for solving the problems of high delay, low performance, poor reliability and the like of a wind control system in a traditional transaction system. The system adopts a software and hardware combination technology to provide a centralized wind control center system with low delay, high availability and high concurrency. The method meets the requirement of extremely low delay of transaction processing under the scenes of high throughput and high concurrency, and reaches the following performance standards: low delay: the system delay is lower than 5us, the TPS reaches more than 20000 pens/second, and more than 200 ten thousand commissions are supported all day. High availability: the system adopts a main-standby scheme, can support the real-time switching of the main standby, and can provide disaster recovery for abnormal scenes in real-time transaction. High concurrency: when the system receives a high concurrent execution API request, the performance is kept stable; high reliability: the hot backup system stores the return of the exchange order, the system cannot lose the order during switching, the switching time does not exceed 1 minute, and the reliability needs to reach 99.999 percent without abnormality.
In the embodiment of the invention, the centralized wind control system is positioned between a counter and a trading desk, a bill reporting request initiated by the counter is firstly input into the centralized wind control system, and the wind control system carries out logic check calculation on the bill reporting. If the verification is passed, the exchange is sent, if the verification is not passed, a bill is returned and the counter is refused to be sent. The return of the bill of transaction and the return of the deal are directly returned to the counter.
In the embodiment of the invention, the system is realized by combining software and hardware and comprises an FPGA board card and a host server. The counter entrusted data enters through the FPGA board card, sequentially passes through the flow reforming module, the protocol analysis module and the preprocessing calculation, and then is sent to the host server. And the host server performs wind control calculation, generates a calculation result, sends the FPGA board card, and sends the calculation result out by the FPGA board card. The flow reforming, the protocol analysis and the preprocessing calculation are realized in the FPGA, and the extremely low delay is achieved through hardware acceleration.
In the embodiment of the invention, the system service component is divided into four layers, namely a hardware acceleration layer, an operating system layer, a middle layer and an application layer.
Hardware acceleration layer: and TCP protocol analysis and preprocessing calculation logic is realized in the FPGA board card, and TCP messages can be subjected to accelerated processing and classification. The system delay is lower than 5us, and the TPS reaches more than 2 ten thousand pens per second.
Operating system layer: the method comprises stable and reliable Linux (CentOS), and background processes and services which influence performance and are useless are removed through deep customization processing. The method comprises the steps of performance tuning of a server, process scheduling optimization, kernel isolation, timed interrupt TiCkless, Cache optimization, network card CPU memory and other Numa bindings. The network protocol stack realizes a high-performance user mode protocol stack in a kernel bypass mode. With very low latency (<2.5us) and very high throughput (40B bytes 1000 million TPS).
An intermediate layer: middleware for providing services for an application layer comprises four blocks, namely a lightweight communication Library (LWIPC), an ultra-low latency shared memory (ULSHM), a high-reliability distributed message queue (HRMQ) and a real-time memory database (RTDB).
An application layer: the system management process is responsible for configuring and monitoring each business process and service. The log service process adopts a service mode to provide log recording and persistence, and the entrusting abnormal wind control process adopts an N parallel load sharing mode to provide order wind control calculation and judgment in the service mode. The remaining three processes are data interfaces and processing, and the main backup operation is required in consideration of the high reliability requirement of the system. And once the management process finds the abnormality, the main/standby switching takeover is carried out.
In the embodiment of the present invention, the distributed data cache specifically includes:
1. configuring data cache CfgCache
The method is generated by a centralized wind control management process TacControl, and is generated by reading a configuration xml file when starting. And query and modification can be carried out through an offline configuration tool shell, and the data is submitted and then synchronized to the configuration data cache in real time. The real-time effect of the wind control parameters can be achieved.
2. Market data caching feed cache
The quotation transaction data process FeedRecv receives the quotation transaction data, receives the real-time quotation data one by one pushed by the quotation gateway in an API mode, decodes the quotation data, and stores the decoded data into the data cache for the consignment abnormal wind control process.
3. TrustCache for entrusted return data cache
And the entrustment return response message pushed by the exchange is analyzed and decoded and then stored in the data cache for the entrustment abnormal wind control process to use.
4. Transcache for transaction return data caching
And the transaction service process TradeFwd generates and analyzes the transaction return response message pushed by the exchange, and the transaction return response message is decoded and stored in the data cache for the entrusting abnormal wind control process.
5. Log memory database LogCache
The method is used by a running log process Logger, and in order to accelerate log storage, improve the throughput of a log system and ensure high availability of log records, the method of recording by using a memory database mode is considered, and log files are written into periodically or after a recording threshold value is reached for persistence. The log records may be compressed with consideration to save disk space.
In the embodiment of the invention, the data synchronization between the main centralized control server and the standby centralized control server is as follows: mainly, entrusted return data cache TrustCache and transaction return data cache TrustCache from the exchange do not need to be synchronized. The standby service is also connected with the market information pushing gateway and can generate real-time market information one by one.
In the embodiment of the invention, high availability is realized through the main-standby mode, and a connection synchronization method based on TCP without interruption is designed so as to meet the requirement of high reliability of financial transactions. The master-slave relationship is shown in FIG. 6
The main server and the external system normally communicate through TCP, TCP connection following is established on the standby server, the standby server can receive all main messages in a monitoring mode, and the TCP connection of the standby server follows messages and a protocol state machine by modifying a tacdock user state TCP protocol stack, but the TCP messages and control messages are not sent, and the network card FPGA only receives and does not send the messages.
Whether a fault occurs is judged between the main and standby devices through heartbeat detection. And when the standby server finds that the heartbeat data of the main server does not arrive for three continuous seconds, the standby server judges that the main server sends a fault, executes a main/standby switching instruction and promotes the standby server to be the main server. Once the main/standby switching instruction occurs, the standby server actively sends a gratuitous ARP message to update the relationship between the MAC address and the IP address of the port of the switch. Meanwhile, the main FPGA needs to cut off the message transmission of the server. The tacdock protocol stack on the standby server takes over the work and enters the service state from the following state. The standby server can receive messages of all exchanges in a hot backup mode, and data synchronization is not performed between the main server and the standby server. And synchronously inquiring data of the increment time period from the exchange for data consistency after switching. When the main and standby switches, the exchange and the counter system are not needed to be modified and matched, no perception or little perception is realized, and the fault recovery speed is high.
And those not described in detail in this specification are well within the skill of those in the art.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (10)

1. A wind control system is concentrated to high reliability low time delay for financial transaction system which characterized in that: the system comprises an order reporting system, an OMS order management system, a centralized control center system and a trading counter system, wherein internal modules of the centralized wind control system comprise a control information management module, a consignment abnormal wind control module, a consignment running log module, a parameter configuration file module, a counter service module, a trading exchange service module and a market situation transaction data module.
2. The high reliability low latency centralized wind control system for financial transaction system according to claim 1, wherein: the centralized wind control system is arranged between the trading counter and the trading gateway of the trading exchange, so the order return and the deal return of the trading exchange are also replaced by the centralized wind control system to be transmitted to the corresponding trading counter system.
3. The high reliability low latency centralized wind control system for financial transaction system according to claim 1, wherein: because two types of interfaces including STEP and Binary exist in deep interaction, the interaction between the centralized wind control center system and the counter also supports two types of protocols including STEP and Binary.
4. The high reliability low latency centralized wind control system for financial transaction system according to claim 1, wherein: the counter service module is used for simulating an exchange and butting against a counter transaction cluster, and the exchange service module is used for butting against an upper exchange, a deep exchange and an exchange service.
5. The high reliability low latency centralized wind control system for financial transaction system according to claim 1, wherein: and the quotation transaction data module is used for receiving quotation data pushed by the exchange quotation gateway, and caching the quotation data after API analysis so as to be used for judging the entrusted abnormal wind control process.
6. The high reliability low latency centralized wind control system for financial transaction system according to claim 1, wherein: the control information management module is used for starting control, starting script and configuration reading, detecting and monitoring heartbeat of each process, and switching and detecting heartbeat of the main and standby centralized control servers.
7. The high reliability low latency centralized wind control system for financial transaction system according to claim 1, wherein: and the entrusted running water log module is used for log recording service, pushing the running water logs generated by each process of the whole centralized controller to the process for recording, and generating a log file for offline inquiry.
8. The high reliability low latency centralized wind control system for financial transaction system according to claim 1, wherein: and the entrusting abnormal wind control module is used for compiling an order judgment algorithm according to the wind control indexes, giving a signal whether the order is abnormal or not, supporting the dynamic loading of the wind control algorithm and the indexes and taking effect in real time.
9. A method for implementing a high reliability low latency centralized wind control system for financial transaction systems according to any one of claims 1-8, wherein: the method specifically comprises the following steps:
s1, the account reports the order based on the trading strategy in the order management system, the report firstly enters the OMS order management system, the OMS order management system reports different OMS order management systems based on different trading strategies, and the OMS order management system directly reports the order to the trading counter system after receiving and storing data;
s2, after the transaction counter system passes the verification, reporting to the centralized control center system for abnormal commission verification, if the verification fails, reporting back the abnormal commission of the counter, and if the verification succeeds, reporting the corresponding seat based on the commission seat information;
s3, checking the entrusted exception, acquiring real-time market information and return data of transaction, and pushing the return data of transaction by the exchange transaction unit in real time.
10. The high reliability low latency centralized wind control method for financial transaction system according to claim 9, wherein: the real-time line-by-line scenario in step S3 is provided by an independent market scenario system.
CN202111273815.3A 2021-10-29 2021-10-29 High-reliability low-delay centralized wind control system and method for financial transaction system Pending CN114003465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111273815.3A CN114003465A (en) 2021-10-29 2021-10-29 High-reliability low-delay centralized wind control system and method for financial transaction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111273815.3A CN114003465A (en) 2021-10-29 2021-10-29 High-reliability low-delay centralized wind control system and method for financial transaction system

Publications (1)

Publication Number Publication Date
CN114003465A true CN114003465A (en) 2022-02-01

Family

ID=79925218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111273815.3A Pending CN114003465A (en) 2021-10-29 2021-10-29 High-reliability low-delay centralized wind control system and method for financial transaction system

Country Status (1)

Country Link
CN (1) CN114003465A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114995813A (en) * 2022-06-28 2022-09-02 上海中汇亿达金融信息技术有限公司 Exchange API module and related exchange application platform
CN115202882A (en) * 2022-07-26 2022-10-18 上海中汇亿达金融信息技术有限公司 Distributed application architecture and execution method of the architecture

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114995813A (en) * 2022-06-28 2022-09-02 上海中汇亿达金融信息技术有限公司 Exchange API module and related exchange application platform
CN114995813B (en) * 2022-06-28 2023-12-19 上海中汇亿达金融信息技术有限公司 Exchange API module and related exchange application platform
CN115202882A (en) * 2022-07-26 2022-10-18 上海中汇亿达金融信息技术有限公司 Distributed application architecture and execution method of the architecture
CN115202882B (en) * 2022-07-26 2023-11-03 上海中汇亿达金融信息技术有限公司 Distributed application architecture and execution method thereof

Similar Documents

Publication Publication Date Title
CN109361532B (en) High availability system and method for network data analysis and computer readable storage medium
CN110209726B (en) Distributed database cluster system, data synchronization method and storage medium
CN109951331B (en) Method, device and computing cluster for sending information
US9798639B2 (en) Failover system and method replicating client message to backup server from primary server
Hwang et al. High-availability algorithms for distributed stream processing
US6996502B2 (en) Remote enterprise management of high availability systems
JP5102901B2 (en) Method and system for maintaining data integrity between multiple data servers across a data center
US9189348B2 (en) High availability database management system and database management method using same
US7246256B2 (en) Managing failover of J2EE compliant middleware in a high availability system
US8683257B2 (en) Failover system and method
CN114003465A (en) High-reliability low-delay centralized wind control system and method for financial transaction system
CN102088490B (en) Data storage method, device and system
CN107453929B (en) Cluster system self-construction method and device and cluster system
US9058304B2 (en) Continuous workload availability between sites at unlimited distances
US9047126B2 (en) Continuous availability between sites at unlimited distances
Kończak et al. Recovery algorithms for paxos-based state machine replication
US20170235600A1 (en) System and method for running application processes
Wang et al. A comprehensive study on fault tolerance in stream processing systems
US20170091038A1 (en) Fault tolerant event management system
CN115563224A (en) Distributed parameter caching system
CN113360319B (en) Data backup method and device
CN114895879A (en) Management system design scheme determining method, device, equipment and storage medium
CN117827544B (en) Hot backup system, method, electronic device and storage medium
CN109921963A (en) A kind of network state method for inspecting and system
CN117155930B (en) Node determining method, task processing method and related devices of distributed system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination