Fault detection method, device and equipment for financial market information hardware acceleration system

By analyzing the data messages of the financial market data source through hardware acceleration and comparison systems, and comparing the results of the two, we solve the problem of fault detection of the financial market hardware acceleration system, ensure the stability and correctness of the system, and realize the security of funds. Assure.

CN118656240APending Publication Date: 2024-09-17YUSUR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410811956.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

It is difficult for the financial market hardware acceleration system to detect faults in real time during operation, which affects the security of funds, and existing technology cannot guarantee the correctness and stability of the system.

Method used

By obtaining data messages from the financial market data source, using the hardware acceleration system and the comparison system to analyze the data messages respectively, the first and second financial market data structures are obtained, and the fault detection results are determined based on the comparison results to realize the hardware acceleration system. Fault detection.

Benefits of technology

It realizes the fault detection of the financial market hardware acceleration system, ensures the correctness and stability of the system, ensures the safety of funds, and improves the effectiveness of fault detection through real-time and scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656240A
    Figure CN118656240A
Patent Text Reader

Abstract

The invention relates to a fault detection method and device for a financial market information hardware acceleration system, equipment and a medium, and the method comprises the steps: obtaining a data message of a financial market information data source; analyzing the data message through a hardware acceleration system to obtain a first financial market data structure; analyzing the data message through a contrast system to obtain a second financial market data structure; and determining a fault detection result of the hardware acceleration system according to a comparison result of the first financial market data structure and the second financial market data structure. According to the technical scheme, fault detection of the financial market information hardware acceleration system can be achieved, and correctness and stability of the hardware acceleration system are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a fault detection method, device, equipment and medium for a financial market hardware acceleration system. Background Art

[0002] In the field of quantitative financial trading, as the frequency and volume of transactions increase, the efficiency of financial market data processing has become a focus of attention for financial institutions. In order to meet this demand, investment institutions have adopted hardware acceleration methods and set up hardware acceleration systems to parse financial market data.

[0003] During the operation cycle of the financial market hardware acceleration system, the real-time processing results of the hardware acceleration system directly affect the security of funds, and the correctness and stability of the hardware acceleration system need to be ensured. Summary of the invention

[0004] In order to solve the above technical problems, the present disclosure provides a fault detection method, device, equipment and medium for a financial market hardware acceleration system.

[0005] In a first aspect, an embodiment of the present disclosure provides a fault detection method for a financial market hardware acceleration system, comprising:

[0006] Get the data message of the financial market data source;

[0007] Parsing the data message through a hardware acceleration system to obtain a first financial market data structure;

[0008] Parsing the data message through a control system to obtain a second financial market data structure;

[0009] A fault detection result of the hardware acceleration system is determined according to a comparison result of the first financial market data structure and the second financial market data structure.

[0010] In a second aspect, the present disclosure provides a fault detection device for a financial market hardware acceleration system, including:

[0011] The acquisition module is used to obtain data packets from financial market data sources;

[0012] A first parsing module, configured to parse the data message through a hardware acceleration system to obtain a first financial market data structure;

[0013] A second parsing module, used to parse the data message through a reference system to obtain a second financial market data structure;

[0014] The detection module is used to determine a fault detection result of the hardware acceleration system according to a comparison result of the first financial market data structure and the second financial market data structure.

[0015] In a third aspect, an embodiment of the present disclosure provides a fault detection system, including:

[0016] Financial market data source, used to provide data packets of financial market data;

[0017] A hardware acceleration system, used for parsing the data message to obtain a first financial market data structure;

[0018] A control system, used for parsing the data message to obtain a second financial market data structure;

[0019] A switch, used for transmitting the data message, the first financial market data structure, and the second financial market data structure in a network;

[0020] A fault detection unit is used to determine a fault detection result of the hardware acceleration system according to a comparison result of the first financial market data structure and the second financial market data structure.

[0021] In a fourth aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the fault detection method of the financial market hardware acceleration system described in the first aspect above.

[0022] In a fifth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the fault detection method of the financial market hardware acceleration system described in the first aspect above is implemented.

[0023] Compared with the prior art, the technical solution provided by the disclosed embodiment has the following advantages: by acquiring data packets of a financial market data source, the data packets are parsed by a hardware acceleration system and a control system respectively to obtain a first financial market data structure and a second financial market data structure; according to the comparison result of the first financial market data structure and the second financial market data structure, a fault detection result of the hardware acceleration system is determined, so that fault detection of the financial market hardware acceleration system can be realized, and the correctness and stability of the financial market hardware acceleration system can be ensured. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0026] Figure 1 A schematic diagram of a flow chart of a fault detection method of a financial market hardware acceleration system provided by an embodiment of the present disclosure;

[0027] Figure 2 A flowchart of another method for detecting a fault in a financial market hardware acceleration system provided by an embodiment of the present disclosure;

[0028] Figure 3 A structural schematic diagram of a fault detection system provided by an embodiment of the present disclosure;

[0029] Figure 4 A schematic diagram of a fault detection provided by an embodiment of the present disclosure;

[0030] Figure 5 A schematic diagram of the structure of a fault detection device of a financial market hardware acceleration system provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0031] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0032] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0033] Figure 1 This is a flow chart of a fault detection method for a financial market hardware acceleration system provided in an embodiment of the present disclosure. The method provided in an embodiment of the present disclosure can be executed by a fault detection device for a financial market hardware acceleration system, which can be implemented in software and / or hardware and can be integrated on any electronic device with computing capabilities.

[0034] like Figure 1 As shown, the fault detection method of the financial market hardware acceleration system provided by the embodiment of the present disclosure may include:

[0035] Step 101, obtaining a data message from a financial market data source.

[0036] In this embodiment, the financial market data source is used to provide data packets of financial market data. Optionally, the data packets provided by the financial market data source are sent to the financial market processing system through a switch. The financial market processing system is used to parse the data packets to convert the network layer packets into financial market data structures.

[0037] Step 102: parse the data message through the hardware acceleration system to obtain a first financial market data structure.

[0038] Step 103, parse the data message through the control system to obtain a second financial market data structure.

[0039] In this embodiment, the financial market processing system includes a hardware acceleration system and a control system. The hardware acceleration system and the control system have the same processing function. The hardware acceleration system performs hardware accelerated parsing, and the control system is used to output accurate processing results. For each data message provided by the financial market data source, the data message is parsed by the hardware acceleration system to obtain a first financial market data structure, and the data message is parsed by the control system to obtain a second financial market data structure. Thus, the first financial market data structure and the second financial market data structure corresponding to each data message are obtained.

[0040] Optionally, the hardware acceleration system is equipped with a dedicated data processor (Data Processing Unit, DPU for short) to implement a hardware acceleration function based on the DPU to accelerate the parsing of financial market data messages.

[0041] As an example, taking UDP (User Datagram Protocol) network messages as an example, the data message of the financial market data source is an Ethernet message, and the Ethernet message is as follows:

[0042]

[0043] Among them, the destination address and source address are 6 bytes, the type is 2 bytes, the IP (Internet Protocol) header is 20 bytes, the UDP header is 8 bytes, the UDP datagram is 18 to 1472 bytes, and the check field is 4 bytes. The UDP header and UDP datagram constitute the UDP message, and the IP header and UDP message constitute the IP message. The UDP datagram includes, for example, the release time, the code of the transaction target, the latest price, the transaction amount, the transaction volume, and the N-level of buying and selling. The parsed financial market data structure includes "code:TAG1; exchange time:1717551000; lastprice: 150.25; volume: 1000; turnover: 150250.0; bid_price_1: 150.20; bid_volume_1: 200; ask_p rice_1: 150.30; ask_volume_1: 180; bid_price_2: 150.15; bid_volume_2: 150; ask_price_2: 150.35; ask_volume_2: 170".

[0044] It should be noted that the hardware acceleration system and the control system can parse the data message in parallel, or can parse the data message in sequence according to a certain order. The present disclosure does not impose any specific restrictions on the order of step 102 and step 103.

[0045] Step 104 : determining a fault detection result of the hardware acceleration system according to a comparison result of the first financial market data structure and the second financial market data structure.

[0046] In this embodiment, for each data message, each field in the first financial market data structure corresponding to the data message is compared with each field in the second financial market data structure corresponding to the data message to determine whether the fields are consistent, and a comparison result of the first financial market data structure and the second financial market data structure is generated, and then the fault detection result of the hardware acceleration system is determined according to the comparison result.

[0047] As an example, for each data message, it is determined whether the fields of the first financial market data structure are consistent with the fields of the second financial market data structure. If any field is inconsistent, the comparison result of the first financial market data structure and the second financial market data structure is inconsistent. If all fields are consistent, the comparison result of the first financial market data structure and the second financial market data structure is consistent. If the comparison result of the first financial market data structure and the second financial market data structure corresponding to any data message is inconsistent, it is determined that there is a fault in the hardware acceleration system. If all comparison results are consistent, it is determined that the hardware acceleration system has not detected a fault. For example, the second financial market data structure includes the field "ask_volume_2: 170", and the first financial market data structure includes the field "ask_volume_2: 1700000000", then the comparison result is inconsistent. Since the financial market processing system uses the hardware acceleration system for parsing, the above-mentioned inconsistent processing results are difficult to be realized through abnormal monitoring. The processing results of the control system and the hardware acceleration system are compared to determine whether the hardware acceleration system is faulty.

[0048] According to the technical solution of the embodiment of the present disclosure, by acquiring data packets of a financial market data source, the data packets are parsed by a hardware acceleration system and a control system respectively to obtain a first financial market data structure and a second financial market data structure. According to the comparison result of the first financial market data structure and the second financial market data structure, the fault detection result of the hardware acceleration system is determined, so that the fault detection of the financial market hardware acceleration system can be realized, and the correctness and stability of the financial market hardware acceleration system can be ensured.

[0049] Based on the above embodiments, Figure 2 This is a flow chart of another method for fault detection of a financial market hardware acceleration system provided by an embodiment of the present disclosure, such as Figure 2 As shown, the method includes:

[0050] Step 201 , obtaining a data message from a financial market data source, parsing the data message through a hardware acceleration system, and obtaining a first financial market data structure.

[0051] Step 202: parse the data message through the control system to obtain a second financial market data structure.

[0052] Step 203: grouping and sorting the first financial market data structure and the second financial market data structure through the data collection system.

[0053] In this embodiment, a networking structure of a fault detection system is set, and the fault detection system includes: a financial market data source, which is used to provide a data packet of financial market data; a hardware acceleration system, which is used to parse the data packet to obtain a first financial market data structure; a comparison system, which is used to parse the data packet to obtain a second financial market data structure; a switch, which is used to transmit the data packet, the first financial market data structure, and the second financial market data structure in the network; and a fault detection unit, which is used to determine the fault detection result of the hardware acceleration system according to the comparison result of the first financial market data structure and the second financial market data structure.

[0054] Optionally, the system architecture is e.g. Figure 3 As shown, it includes a financial market data source, a first switch, a hardware acceleration system, a control system, a second switch, a data acquisition system, a fault detection unit, and a fault notification unit. The switch is used as an inter-system networking device, wherein the first switch is used to obtain data packets from the financial market data source and send the data packets to the hardware acceleration system and the control system, and the second switch is used to obtain the first financial market data structure and the second financial market data structure and send them to the data acquisition system. After starting the hardware acceleration system and the control system, wait for the data packet of the financial market data source. The hardware acceleration system and the control system belong to the same physical subnet, subscribe to the same data source, and expect to perform the same market data processing work. When the financial market data source starts to send data packets, the hardware acceleration system and the control system start to process the market data, and the processing results are streamed to the data acquisition system. The data acquisition system streams the collected market processing results to the fault detection unit, and the fault detection unit runs the local fault detection rules. If a fault signal is detected, a fault notification message is generated and sent to the fault notification unit. If no fault signal is detected, no notification is performed. The fault notification unit determines the fault notification method and receiving end through local rules. The receiving end includes operation and maintenance personnel and the network address of the designated system. When the receiving end obtains the fault notification, it performs operation and maintenance operations. The above constitutes the information path of fault occurrence, fault detection, and fault notification until the financial market data source stops sending data packets and stops running the hardware acceleration system and the control system.

[0055] Among them, for the network communication mode of information path, the transmission between systems is based on streaming information transmission, and the transmission medium between systems is the local network between processes or the function call within the process. For example, the local network between processes is used between the hardware acceleration system, the control system and the data acquisition system, the local network between processes is used between the data acquisition system and the fault detection unit, the function call within the process is used between the fault detection unit and the fault notification unit, and the fault detection unit and the fault notification unit are merged into one process for implementation. The local network between processes is used between the fault notification unit and the notified internal system, and the external network and external facilities are used between the fault notification unit and the notified person, including but not limited to the operator network, communication service, application notification, etc. In the branch between the fault notification unit and the notified internal system, a total of 3 hops in the local network between processes and 1 function call within the process are experienced. In the case where 1 hop in the local network between processes takes 3ms, the overall real-time performance is 9ms.

[0056] In one embodiment of the present disclosure, the first financial market data structure and the second financial market data structure are obtained through a data acquisition system, and all the first financial market data structures and the second financial market data structures are grouped according to identification information of the data message, wherein each group of data includes the first financial market data structure and the second financial market data structure corresponding to the same data message, and then, according to the business time of the data message, the multiple groups of data are sorted and stored locally in the data acquisition system.

[0057] Among them, the processing results of the hardware acceleration system and the control system are sent to the network in the form of network messages. The data acquisition system, the hardware acceleration system, and the control system are in the same subnet to obtain the network messages of the processing results, and group, sort, and store the network messages in a serial manner. Optionally, for the processing results of the same data message, they can be grouped according to the business time, target code, etc. in the market content, and the grouped groups of data can be sorted according to the business time recorded in the data message. The grouped and sorted processing results are used to generate a memory / storage data structure.

[0058] Step 204 , determining multiple candidate comparison results according to multiple comparison strategies and corresponding weights to determine a fault detection result of the hardware acceleration system.

[0059] In this embodiment, multiple comparison strategies and corresponding weights are preset. The first financial market data structure and the second financial market data structure are compared respectively according to the multiple comparison strategies to obtain multiple candidate comparison results. The fault detection result of the hardware acceleration system is determined according to the weight corresponding to each comparison strategy and the multiple candidate comparison results.

[0060] As an example, for example, the weight of strategy one is 0.8, the weight of strategy two is 0.2, the comprehensive signal = the signal of strategy one * the weight of strategy one + the signal of strategy two * the weight of strategy two, the signal of strategy one is 0, indicating that no fault is detected, and the signal of strategy two is 1, indicating that a fault is detected, then the comprehensive signal value is 0.2.

[0061] The following is an explanation of the comparison strategy.

[0062] As an example, for each data message, it is determined whether the fields of the first financial market data structure are consistent with the fields of the second financial market data structure. If any field is inconsistent, the comparison result of the first financial market data structure and the second financial market data structure is inconsistent. If all fields are consistent, the comparison result of the first financial market data structure and the second financial market data structure is consistent. If the comparison result of the first financial market data structure and the second financial market data structure corresponding to any data message is inconsistent, it is determined that there is a fault in the hardware acceleration system. If all comparison results are consistent, it is determined that the hardware acceleration system has not detected a fault. In this example, for each financial market data message at each moment, it is compared whether the processing results output by the control system and the hardware acceleration system are the same. If they are not the same, it is determined that there is a fault and a signal value of 1 is output, otherwise a signal value of 0 is output.

[0063] As another example, for each data message, it is determined whether each field of the first financial market data structure is consistent with each field of the second financial market data structure. If any field is inconsistent, the comparison result of the first financial market data structure and the second financial market data structure is inconsistent. If all fields are consistent, the comparison result of the first financial market data structure and the second financial market data structure is consistent. For multiple data messages within a preset time period, the proportion of target data messages with inconsistent comparison results in multiple data messages is determined. If the proportion is greater than a preset threshold, it is determined that the hardware acceleration system has a fault. In this example, the preset time period can be set as needed, for example, one minute. For financial market data messages within one minute, the consistency rate of the processing results output by the control system and the hardware acceleration system is compared. For example, for N data messages within one minute, there are m comparison results that are consistent and Nm comparison results that are inconsistent, then the consistency rate is m / N. If the inconsistency ratio is greater than the preset threshold, it is determined that there is a fault and a signal value of 1 is output, otherwise a signal value of 0 is output.

[0064] Reference Figure 4The fault detection unit compares each group of data divided by the data acquisition system. The dotted box represents a group of data, including a first financial market data structure and a second financial market data structure corresponding to the same data message. Mark 2 represents the second financial market data structure, mark 1 represents an inconsistent first financial market data structure, and mark 0 represents a consistent first financial market data structure. For the set strategy 1 and strategy 2, each group of data is compared respectively, and the final fault detection result is determined according to the strategy weight and the comparison result.

[0065] Step 205: If there is a fault in the hardware acceleration system, a fault notification message is generated and a fault alarm is issued.

[0066] In this embodiment, the fault detection result includes a confidence value and a fault notification message. After determining the fault detection result of the hardware acceleration system, if there is a fault in the hardware acceleration system, it is graded according to a preset numerical range, and the fault level corresponding to the confidence value is determined. According to the alarm method that matches the fault level, the fault notification message is sent to the receiving end that matches the fault level.

[0067] As an example, the above-mentioned comprehensive signal value is used as the confidence level, and multiple fault levels are divided according to a preset numerical range. When the confidence level is 0, it indicates that there is no fault. When the confidence level is greater than 0 and less than or equal to 0.3, it indicates that the fault level is low. When the confidence level is greater than 0.3 and less than or equal to 0.7, it indicates that the fault level is medium. When the confidence level is greater than 0.7 and less than or equal to 1, it indicates that the fault level is high. Different fault levels can correspond to different alarm methods, including email, text messages, network communication, etc. Different fault levels can correspond to different receiving ends, including terminals of operation and maintenance personnel, designated systems, etc. Different fault levels can also correspond to different operation and maintenance operations, including service offline, rollback, etc.

[0068] In the disclosed embodiments, fault detection and fault notification of the financial market hardware acceleration system can be implemented, the correctness and stability of the financial market hardware acceleration system can be ensured, the real-time nature of fault detection and fault notification can be ensured, and the fault detection rules and fault notification rules can be extended.

[0069] Figure 5 A schematic diagram of a fault detection device for a financial market hardware acceleration system provided by an embodiment of the present disclosure is shown in FIG. Figure 5 As shown, the fault detection device of the financial market hardware acceleration system includes: an acquisition module 51, a first analysis module 52, a second analysis module 53, and a detection module 54.

[0070] Wherein, the acquisition module 51 is used to acquire the data message of the financial market data source;

[0071] A first parsing module 52, configured to parse the data message through a hardware acceleration system to obtain a first financial market data structure;

[0072] A second parsing module 53, used to parse the data message through the reference system to obtain a second financial market data structure;

[0073] The detection module 54 is used to determine a fault detection result of the hardware acceleration system according to a comparison result of the first financial market data structure and the second financial market data structure.

[0074] In one embodiment of the present disclosure, the detection module 54 is specifically used to: for each data message, determine whether the fields of the first financial market data structure are consistent with the fields of the second financial market data structure; if any field is inconsistent, the comparison result is inconsistent; if the comparison result corresponding to any data message is inconsistent, it is determined that there is a fault in the hardware acceleration system.

[0075] In one embodiment of the present disclosure, the detection module 54 is specifically used to: for each data message, determine whether the fields of the first financial market data structure are consistent with the fields of the second financial market data structure; wherein, if any field is inconsistent, the comparison result is inconsistent; for multiple data messages within a preset time period, determine the proportion of the target data messages whose comparison results are inconsistent in the multiple data messages; if the proportion is greater than a preset threshold, determine that there is a fault in the hardware acceleration system.

[0076] In one embodiment of the present disclosure, the detection module 54 is specifically used to: preset multiple comparison strategies and corresponding weights, compare the first financial market data structure and the second financial market data structure respectively according to the multiple comparison strategies, and obtain multiple candidate comparison results; determine the fault detection result of the hardware acceleration system according to the weight corresponding to each comparison strategy and the multiple candidate comparison results.

[0077] In one embodiment of the present disclosure, the fault detection result includes a confidence value and a fault notification message, and the device also includes: a notification module, which is used to classify the hardware acceleration system according to a preset numerical range if there is a fault, and determine the fault level corresponding to the confidence value; according to an alarm method that matches the fault level, send the fault notification message to a receiving end that matches the fault level.

[0078] In one embodiment of the present disclosure, the device also includes: a data acquisition module, used to obtain the first financial market data structure and the second financial market data structure through a data acquisition system; grouping all the first financial market data structures and the second financial market data structures according to the identification information of the data message, wherein each group of data includes the first financial market data structure and the second financial market data structure corresponding to the same data message; and sorting and storing multiple groups of data according to the business time of the data message.

[0079] In one embodiment of the present disclosure, the hardware acceleration system is equipped with a dedicated data processor DPU.

[0080] The fault detection device of the financial market hardware acceleration system provided in the embodiment of the present disclosure can execute any fault detection method of the financial market hardware acceleration system provided in the embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method. For the contents not described in detail in the embodiment of the device of the present disclosure, please refer to the description in any method embodiment of the present disclosure.

[0081] The present disclosure also provides an electronic device, which includes one or more processors and a memory. The processor may be a central processing unit (CPU) or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions. The memory may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on a computer-readable storage medium, and the processor may run the program instructions to implement the method of the above embodiment of the present disclosure and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.

[0082] In one example, the electronic device may further include: an input device and an output device, and these components are interconnected through a bus system and / or other forms of connection mechanisms. In addition, the input device may also include, for example, a keyboard, a mouse, etc. The output device may output various information to the outside, including determined distance information, direction information, etc. The output device may include, for example, a display, a speaker, a printer, and a communication network and a remote output device connected thereto, etc. In addition, according to the specific application, the electronic device may also include any other appropriate components such as a bus, an input / output interface, etc.

[0083] In addition to the above methods and devices, the embodiments of the present disclosure may also be a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the processor executes any method provided by the embodiments of the present disclosure.

[0084] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0085] In addition, the embodiments of the present disclosure may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes any method provided by the embodiments of the present disclosure.

[0086] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0087] It should be noted that, in this article, 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 such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0088] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A fault detection method for a financial market hardware acceleration system, characterized in that: include: Get the data message of the financial market data source; Parsing the data message through a hardware acceleration system to obtain a first financial market data structure; Parsing the data message through a control system to obtain a second financial market data structure; A fault detection result of the hardware acceleration system is determined according to a comparison result of the first financial market data structure and the second financial market data structure.

2. The method according to claim 1, characterized in that The determining the fault detection result of the hardware acceleration system according to the comparison result of the first financial market data structure and the second financial market data structure includes: For each data message, determining whether each field of the first financial market data structure is consistent with each field of the second financial market data structure; wherein, if any field is inconsistent, the comparison result is inconsistent; If the comparison result corresponding to any data message is inconsistent, it is determined that the hardware acceleration system has a fault.

3. The method according to claim 1, characterized in that The determining the fault detection result of the hardware acceleration system according to the comparison result of the first financial market data structure and the second financial market data structure includes: For each data message, determining whether each field of the first financial market data structure is consistent with each field of the second financial market data structure; wherein, if any field is inconsistent, the comparison result is inconsistent; For a plurality of data packets within a preset time period, determining a proportion of the target data packets whose comparison results are inconsistent among the plurality of data packets; If the ratio is greater than a preset threshold, it is determined that a fault exists in the hardware acceleration system.

4. The method according to claim 1, characterized in that The determining the fault detection result of the hardware acceleration system according to the comparison result of the first financial market data structure and the second financial market data structure includes: Preset multiple comparison strategies and corresponding weights, and compare the first financial market data structure and the second financial market data structure respectively according to the multiple comparison strategies to obtain multiple candidate comparison results; The fault detection result of the hardware acceleration system is determined according to the weight corresponding to each comparison strategy and the multiple candidate comparison results.

5. The method according to claim 1, characterized in that The fault detection result includes a confidence value and a fault notification message. After determining the fault detection result of the hardware acceleration system, the method further includes: If the hardware acceleration system has a fault, the fault level is determined according to a preset value range to determine the fault level corresponding to the confidence value; The fault notification message is sent to a receiving end matching the fault level according to an alarm mode matching the fault level.

6. The method according to claim 1, characterized in that Before determining the fault detection result of the hardware acceleration system according to the comparison result of the first financial market data structure and the second financial market data structure, the method further includes: Acquire the first financial market data structure and the second financial market data structure through a data acquisition system; According to the identification information of the data message, all the first financial market data structures and the second financial market data structures are grouped, wherein each group of data includes the first financial market data structure and the second financial market data structure corresponding to the same data message; According to the service time of the data message, multiple groups of data are sorted and stored.

7. The method according to any one of claims 1 to 6, characterized in that: The hardware acceleration system is equipped with a dedicated data processor DPU.

8. A fault detection device for a financial market hardware acceleration system, characterized in that: include: The acquisition module is used to obtain data packets from financial market data sources; A first parsing module, configured to parse the data message through a hardware acceleration system to obtain a first financial market data structure; A second parsing module, used to parse the data message through a reference system to obtain a second financial market data structure; The detection module is used to determine a fault detection result of the hardware acceleration system according to a comparison result of the first financial market data structure and the second financial market data structure.

9. A fault detection system, characterized in that: include: Financial market data source, used to provide data packets of financial market data; A hardware acceleration system, used for parsing the data message to obtain a first financial market data structure; A control system, used for parsing the data message to obtain a second financial market data structure; A switch, used for transmitting the data message, the first financial market data structure, and the second financial market data structure in a network; A fault detection unit is used to determine a fault detection result of the hardware acceleration system according to a comparison result of the first financial market data structure and the second financial market data structure.

10. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the fault detection method of the financial market hardware acceleration system described in any one of claims 1-7.