Transaction data processing method and device and real-time warehouse counting system

Through the target transmission method and parallel processing technology, the problem of poor timeliness and accuracy of open banking transaction data in batch processing mode is solved, and more efficient transaction data processing is achieved.

CN118864077APending Publication Date: 2024-10-29INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410850161.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

When open banking transaction data is processed in batch processing in the existing technology, timeliness is poor and data accuracy is difficult to guarantee, which may lead to delays or errors, especially during peak periods or large-scale transactions.

Method used

Use target transmission methods (such as based on streaming processing technology or data buffer and queuing mechanisms) to transmit transaction data in real time, and perform data preprocessing and settlement processing on multiple computing nodes through parallel processing to ensure real-time and accurate data sex.

Benefits of technology

It improves the processing efficiency of open banking transaction data, ensures the real-time and accuracy of data, and avoids delays and errors in batch processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118864077A_ABST
    Figure CN118864077A_ABST
Patent Text Reader

Abstract

The invention discloses a transaction data processing method and device and a real-time warehouse counting system. Relates to the financial science and technology field or other related technology fields. The method comprises: receiving first transaction data transmitted by adopting a target transmission mode, the target transmission mode comprising: a transmission mode for transmitting data based on a streaming processing technology, a transmission mode for transmitting data by adopting a queuing mechanism based on a data buffer, and a transmission mode for transmitting data by adopting a queuing mechanism based on a data buffer; the first transaction data comprises transaction data acquired from a target financial platform, and the target financial platform is used for providing financial services for customers and a plurality of financial institutions; preprocessing the first transaction data to obtain second transaction data; distributing the second transaction data to N computing nodes, and receiving N settlement results returned by the N computing nodes; and combining the N settlement results to obtain a settlement result of the first transaction data. The technical problem that the processing efficiency is low when open bank transaction data is processed in a batch processing mode is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of financial technology or other related technical fields, and in particular, to a method and device for processing transaction data and a real-time data warehouse system. Background Art

[0002] With the development of open banking, more and more third-party service providers are participating in the payment and settlement process to provide users with more financial services. In the traditional payment and settlement system, data processing and settlement are carried out in batches, that is, payment transaction data within a certain time range is collected, and then processed and settled according to certain rules. However, this method has the following problems:

[0003] 1. Poor timeliness: Batch processing requires a period of time to collect sufficient payment transaction data before processing and settlement, resulting in poor timeliness of settlement.

[0004] 2. Data accuracy is difficult to guarantee: Batch processing requires the payment transaction data within a period of time to be merged and processed, which may make it difficult to guarantee the accuracy of the data. Especially during peak periods or when large-scale transactions occur, data processing and settlement may be delayed or erroneous.

[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0006] The embodiments of the present invention provide a transaction data processing method, device and real-time data warehouse system to at least solve the technical problem of low processing efficiency of open bank transaction data in batch processing in related technologies.

[0007] According to one aspect of an embodiment of the present invention, a method for processing transaction data is provided, comprising: receiving first transaction data transmitted in a target transmission mode, wherein the target transmission mode comprises at least one of the following: a transmission mode for transmitting data based on a streaming processing technology, a transmission mode for transmitting data based on a data buffer and adopting a queuing mechanism, the first transaction data comprising: transaction data obtained from a target financial platform, the target financial platform being used to provide financial services to customers and multiple financial institutions; preprocessing the first transaction data to obtain second transaction data, wherein the preprocessing processing mode comprises at least one of the following: data cleaning, format conversion and data aggregation; distributing the second transaction data to N computing nodes, and receiving N settlement results returned by the N computing nodes, wherein the N computing nodes are used to perform settlement processing on the second transaction data in a parallel processing mode, and N is a positive integer; merging the N settlement results to obtain the settlement result of the first transaction data.

[0008] Furthermore, after distributing the second transaction data to N computing nodes, it includes: matching the transaction data received by each computing node with the settlement rules in the rule engine to obtain a matching result, wherein the rule engine is used to configure the settlement rules; based on the matching result, using the parallel processing method to perform settlement processing on the data received by the N computing nodes to obtain N settlement results.

[0009] Furthermore, the settlement rules in the rule engine are obtained in the following manner: receiving the preset settlement rules through the rule engine, and verifying the accuracy of the settlement rules to obtain a verification result; after the verification result indicates that the preset settlement rules have been verified, adjusting the status of the settlement rules to an effective status, wherein the effective status is used to indicate that the settlement rules can be used for settlement processing.

[0010] Furthermore, before receiving the first transaction data transmitted using the target transmission method, it also includes: based on preset collection rules, using the application program interface of the target financial platform, collecting the first transaction data from the target financial platform, wherein the preset collection rules include at least one of the following: data collection time interval, data collection method and data collection conditions, the data collection method includes one of the following: full collection, incremental collection, and the data collection conditions include at least one of the following: transaction type, transaction status; using the target transmission method, transmitting the first transaction data to the data processing module, and monitoring abnormal conditions during the transmission process, wherein the data processing module is used to pre-process the received first transaction data.

[0011] Furthermore, after preprocessing the first transaction data to obtain the second transaction data, it also includes: based on the database type of the target database, storing the second transaction data in the target database, wherein the target database is used to provide storage services and retrieval services for the transaction data; backing up the transaction data in the target database, wherein the processing method of the backup processing includes one of the following: incremental backup, full backup.

[0012] Furthermore, after merging N calculation results to obtain the settlement result of the first transaction data, it also includes: storing the settlement result of the first transaction data in a target database, and reading the settlement result of the first transaction data from the target database; generating a settlement report based on the settlement result of the first transaction data, wherein the settlement report is used to record the settlement result of the first transaction data; and pushing the settlement result of the first transaction data and the settlement report to the account management system of a designated financial institution.

[0013] According to another aspect of an embodiment of the present invention, a real-time data warehouse system is further provided, and the real-time data warehouse system is used to execute the transaction data processing method, including: a data processing module, used to receive first transaction data transmitted by a target transmission mode, and pre-process the first transaction data to obtain second transaction data, wherein the target transmission mode includes at least one of the following: a transmission mode for transmitting data based on streaming processing technology, a transmission mode for transmitting data based on a data buffer and using a queuing mechanism, the first transaction data includes: transaction data obtained from a target financial platform, the target financial platform is used to provide financial services to customers and multiple financial institutions, and the pre-processing processing method includes at least one of the following: data cleaning, format conversion and data aggregation; a settlement engine module, which distributes the second transaction data to N computing nodes, receives N settlement results returned by the N computing nodes, merges the N settlement results, and obtains the settlement result of the first transaction data, wherein the N computing nodes are used to perform settlement processing on the second transaction data using a parallel processing method, and N is a positive integer.

[0014] Furthermore, the real-time data warehouse system also includes: a data acquisition module, which is used to collect the first transaction data from the target financial platform based on preset acquisition rules and using the application program interface of the target financial platform, and transmit the first transaction data to the data processing module using the target transmission method, and monitor abnormal conditions during the transmission process, wherein the preset acquisition rules include at least one of the following: data collection time interval, data collection method and data collection conditions, the data collection method includes one of the following: full collection, incremental collection, the data collection conditions include at least one of the following: transaction type, transaction status, and the data processing module is used to pre-process the received first transaction data.

[0015] According to another aspect of an embodiment of the present invention, a transaction data processing device is also provided, including: a receiving unit, used to receive first transaction data transmitted in a target transmission mode, wherein the target transmission mode includes at least one of the following: a transmission mode for transmitting data based on a streaming processing technology, a transmission mode for transmitting data based on a data buffer and using a queuing mechanism, and the first transaction data includes: transaction data obtained from a target financial platform, and the target financial platform is used to provide financial services to customers and multiple financial institutions; a first processing unit, used to pre-process the first transaction data to obtain second transaction data, wherein the pre-processing processing mode includes at least one of the following: data cleaning, format conversion and data aggregation; a second processing unit, used to distribute the second transaction data to N computing nodes, and receive N settlement results returned by the N computing nodes, wherein the N computing nodes are used to perform settlement processing on the second transaction data in a parallel processing mode, and N is a positive integer; a merging unit, used to merge the N settlement results to obtain the settlement result of the first transaction data.

[0016] Furthermore, the transaction data processing device also includes: a matching unit, which is used to match the transaction data received by each computing node with the settlement rules in the rule engine after distributing the second transaction data to N computing nodes, to obtain a matching result, wherein the rule engine is used to configure the settlement rules; a settlement unit, which is used to perform settlement processing on the data received by the N computing nodes based on the matching result using the parallel processing method to obtain N settlement results.

[0017] Furthermore, the settlement rules in the rule engine are obtained through the following sub-units: a processing sub-unit, which is used to receive the preset settlement rules through the rule engine, and verify the accuracy of the settlement rules to obtain a verification result; an adjustment sub-unit, which is used to adjust the status of the settlement rules to an effective status after the verification result indicates that the preset settlement rules have been verified, wherein the effective status is used to indicate that the settlement rules can be used for settlement processing.

[0018] Furthermore, the transaction data processing device also includes: a collection unit, which is used to collect the first transaction data from the target financial platform based on preset collection rules and using the application program interface of the target financial platform before receiving the first transaction data transmitted using the target transmission method, wherein the preset collection rules include at least one of the following: a time interval for data collection, a data collection method and a data collection condition, the data collection method includes one of the following: full collection, incremental collection, and the data collection condition includes at least one of the following: transaction type, transaction status; a third processing unit, which is used to transmit the first transaction data to the data processing module using the target transmission method, and monitor abnormal conditions during the transmission process, wherein the data processing module is used to pre-process the received first transaction data.

[0019] Furthermore, the transaction data processing device also includes: a fourth processing unit, which is used to store the second transaction data in the target database based on the database type of the target database after pre-processing the first transaction data to obtain the second transaction data, wherein the target database is used to provide storage services and retrieval services for the transaction data; a backup unit, which is used to perform backup processing on the transaction data in the target database, wherein the processing method of the backup processing includes one of the following: incremental backup, full backup.

[0020] Furthermore, the transaction data processing device also includes: a fourth processing unit, which is used to store the settlement result of the first transaction data in a target database after merging N calculation results to obtain the settlement result of the first transaction data, and read the settlement result of the first transaction data from the target database; a generation unit, which is used to generate a settlement report based on the settlement result of the first transaction data, wherein the settlement report is used to record the settlement result of the first transaction data; and a push unit, which is used to push the settlement result of the first transaction data and the settlement report to the account management system of a designated financial institution.

[0021] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above transaction data processing methods by executing the executable instructions.

[0022] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, which stores a computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned transaction data processing methods.

[0023] In the present invention, first transaction data transmitted by a target transmission method is received, wherein the target transmission method includes at least one of the following: a transmission method for transmitting data based on a streaming processing technology, a transmission method for transmitting data based on a data buffer and using a queuing mechanism, and the first transaction data includes: transaction data obtained from a target financial platform, the target financial platform is used to provide financial services to customers and multiple financial institutions; the first transaction data is preprocessed to obtain second transaction data, wherein the preprocessing method includes at least one of the following: data cleaning, format conversion, and data aggregation; the second transaction data is distributed to N computing nodes, and N settlement results returned by the N computing nodes are received, wherein the N computing nodes are used to perform settlement processing on the second transaction data by a parallel processing method, and N is a positive integer; the N settlement results are merged to obtain the settlement result of the first transaction data. Thus, the technical problem of low processing efficiency in the related art of processing open bank transaction data by batch processing is solved. In the present invention, the transaction data of the target financial platform is transmitted in real time through the target transmission method, and the transaction data is processed in parallel, avoiding the low processing efficiency of the open bank's transaction data processed in batch processing in the related technology, thereby achieving the technical effect of improving the processing efficiency of the open bank's transaction data. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0025] Figure 1 is a flow chart of an optional transaction data processing method according to an embodiment of the present invention;

[0026] Figure 2 is a schematic diagram of an optional real-time data warehouse system according to an embodiment of the present invention;

[0027] Figure 3 is a flow chart of an optional data collection according to an embodiment of the present invention;

[0028] Figure 4 is a schematic diagram of an optional transaction data processing device according to an embodiment of the present invention;

[0029] Figure 5 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] It should be noted that the transaction data processing method, device and real-time data warehouse system in the present disclosure can be used for real-time payment and settlement scenarios of open banks in the field of financial technology, and can also be used for real-time payment and settlement scenarios of open banks in any field other than the field of financial technology. The present disclosure does not limit the application field of the transaction data processing method, device and real-time data warehouse system.

[0033] It should be noted that the user information (including but not limited to user device information, user personal information, etc.), collected information and data (including but not limited to data used for analysis, stored data, displayed data, transaction data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0034] For the convenience of description, some terms or nouns involved in the present invention are explained below.

[0035] Open Banking: is a financial service model that aims to allow third-party financial technology companies (FinTech) and other financial institutions to access the bank's customer data and services through open application program interfaces (APIs) and data sharing. The goal of open banking is to promote financial innovation, provide more choices and enhance customer experience. Through open banking, customers can use them to seamlessly interact between different financial accounts and products, thereby obtaining better financial services.

[0036] Real-time Data Warehouse: A data processing and storage system used to collect, process, and analyze data in real time to support real-time decision-making and business needs. Unlike traditional batch processing, real-time data warehouses can process and provide data instantly, allowing companies to gain insights into business operations and customer behavior more quickly and make real-time decisions. Real-time data warehouses usually include components such as data collection, data processing, data storage, and data analysis to ensure the real-time and accuracy of data.

[0037] Embodiment 1

[0038] According to an embodiment of the present invention, a method embodiment of an optional method for processing transaction data is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0039] Figure 1 is a flowchart of an optional transaction data processing method according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0040] Step S101, receiving first transaction data transmitted using a target transmission method, wherein the target transmission method includes at least one of the following: a transmission method for transmitting data based on a streaming processing technology, a transmission method for transmitting data based on a data buffer and using a queuing mechanism, the first transaction data includes: transaction data obtained from a target financial platform, and the target financial platform is used to provide financial services to customers and multiple financial institutions.

[0041] The above-mentioned target transmission methods may include but are not limited to: (1) Low-latency transmission: Data stream transmission adopts a low-latency transmission method to ensure that data can be transmitted from the open banking system to the real-time data warehouse system at the fastest speed. The use of technologies such as high-speed network connection, optimized network routing and transmission protocol can reduce the delay in the data transmission process and improve the real-time performance of data; (2) Data buffer and queuing mechanism: During the data stream transmission process, a data buffer and a data queuing mechanism are set up to temporarily store transaction data through the data buffer area, and the transaction data in the data buffer area is transmitted in sequence. To avoid data loss and confusion, ensure that data can be transmitted to the real-time data warehouse system in an orderly manner, and ensure the integrity and real-time performance of the data; (3) Streaming processing technology: Data stream transmission is combined with streaming processing technology to realize real-time processing and analysis of data. Through streaming processing, data can be processed instantly during data transmission, useful information can be extracted, and the real-time performance and timeliness of data can be guaranteed.

[0042] The above-mentioned target financial platform may include: a system or platform where the development bank is located, and the above-mentioned first transaction data may include: payment transaction data including transaction amount, payer information, payee information, etc. collected from the target financial platform.

[0043] Step S102, preprocessing the first transaction data to obtain second transaction data, wherein the preprocessing method includes at least one of the following: data cleaning, format conversion and data aggregation.

[0044] In this embodiment, the first transaction data may be preprocessed, for example, data cleaning, conversion, aggregation and other operations may be performed on the first transaction data to generate data and indicators (i.e., second transaction data) required for settlement of the first transaction data in real time.

[0045] The following is an example of the pre-processing method: (1) Data cleaning: Perform a cleaning operation on the received payment transaction data (i.e., the first transaction data) to remove duplicate data, repair erroneous data, fill in missing data, etc., to ensure the accuracy and consistency of the data. The data cleaning process may involve data format verification, data field verification, and data exception processing, etc.; (2) Data conversion: Perform a conversion operation on the cleaned payment transaction data to convert it into the target data model and format so that subsequent settlement operations can be correctly parsed and processed. The data conversion process may include data field mapping, data type conversion, data aggregation, etc.; (3) Data aggregation: Perform an aggregation operation on the payment transaction data, and calculate settlement indicators such as accounts payable and accounts receivable according to settlement rules and conditions. The data aggregation process may include grouping transaction data according to time, transaction type, transaction participants, etc., and performing aggregation calculations, statistical analysis, etc.

[0046] Step S103, distribute the second transaction data to N computing nodes, and receive N settlement results returned by the N computing nodes, wherein the N computing nodes are used to perform settlement processing on the second transaction data in a parallel processing manner, and N is a positive integer.

[0047] In order to improve the settlement efficiency of transaction data, in this embodiment, the second transaction data can be distributed and calculated in parallel. For example, the settlement engine can be used to distribute the second transaction data to multiple computing nodes, and each computing node independently performs settlement calculations to obtain the settlement results of each settlement node, thereby realizing parallel processing of transaction data.

[0048] Step S104, merging the N settlement results to obtain the settlement result of the first transaction data.

[0049] After obtaining N settlement results, the N settlement results may be merged and summarized to obtain the settlement result of the first transaction data, thereby ensuring the integrity of the settlement result.

[0050] Through the above steps, in this embodiment, the transaction data of the target financial platform is transmitted in real time through the target transmission mode, and the transaction data is processed in parallel, avoiding the low processing efficiency of the open bank transaction data in the batch processing mode used in the related art, thereby achieving the technical effect of improving the processing efficiency of the open bank transaction data. Further, the technical problem of low processing efficiency of the open bank transaction data in the batch processing mode used in the related art is solved.

[0051] Optionally, after distributing the second transaction data to N computing nodes, the method includes: matching the transaction data received by each computing node with the settlement rules in the rule engine to obtain a matching result, wherein the rule engine is used to configure the settlement rules; based on the matching result, performing settlement processing on the data received by the N computing nodes in a parallel processing manner to obtain N settlement results.

[0052] In this embodiment, settlement calculation and processing can be performed on the second transaction data. The settlement calculation can include fee calculation, settlement amount calculation, settlement ratio calculation, etc. The second transaction data can be subjected to corresponding calculation operations according to predefined algorithms and formulas.

[0053] The above-mentioned rule engine can be used to define and configure settlement rules. In this embodiment, the transaction data received by each computing node can be matched with the settlement rules in the rule engine. The settlement rules matched to the transaction data received by each computing node can be applied to the transaction data received by the computing node to determine the specific settlement method, settlement amount and other information, so as to perform parallel settlement on the transaction data received by N computing nodes and obtain N settlement results, thereby achieving the technical effect of improving the settlement efficiency of the transaction data of the open bank.

[0054] Optionally, the settlement rules in the rule engine are obtained in the following manner: receiving a preset settlement rule through the rule engine, and verifying the accuracy of the settlement rule to obtain a verification result; after the verification result indicates that the preset settlement rule has passed the verification, adjusting the status of the settlement rule to an effective status, wherein the effective status is used to indicate that the settlement rule can be used for settlement processing.

[0055] Settlement rules may include settlement cycles, settlement participants, settlement rates, settlement conditions, etc. Through the definition of settlement rules, it is possible to perform flexible settlement calculations on transaction data according to actual needs.

[0056] In this embodiment, the process of settling rules may include:

[0057] Step 1: rule definition and entry. For example, you can formulate settlement rules based on business needs and preset requirements, including settlement cycle, settlement method and fee calculation rules, etc. Then you can enter the formulated settlement rules into the rule base of the settlement engine to ensure that the settlement engine can perform settlement calculations according to the set rules.

[0058] Step 2: Rule verification and effectiveness, for example, (1) Rule verification: the settlement engine verifies the entered settlement rules to ensure the legality and accuracy of the rules; (2) Rule effectiveness: the verified settlement rules can be set to the effective state, and the settlement engine begins to perform real-time settlement calculations based on these rules.

[0059] Step 3: Rule matching and application, for example, (1) Rule matching: the settlement engine matches applicable settlement rules based on the characteristics and conditions of transaction data (e.g., payment transactions); (2) Rule application: applying the matched settlement rules to the transaction data to determine specific settlement methods, settlement amounts, and other information.

[0060] Step 4: Update rule configuration in real time, for example, (1) Rule adjustment: adjust or update settlement rules based on business changes or policy adjustments; (2) Real-time update: the settlement engine can receive and apply new rule configurations in real time to ensure that settlement calculations are always performed in accordance with the latest rules.

[0061] Step 5: Rule monitoring and auditing, for example, (1) Rule monitoring: the settlement engine monitors the application of settlement rules and promptly detects rule matching anomalies or errors; (2) Rule auditing: regularly audit settlement rules to ensure compliance and effectiveness of the rules, while improving the accuracy and security of transaction data settlement calculations.

[0062] Optionally, before receiving the first transaction data transmitted using the target transmission method, it also includes: based on preset collection rules, using the application program interface of the target financial platform, collecting the first transaction data from the target financial platform, wherein the preset collection rules include at least one of the following: the time interval for data collection, the data collection method and the data collection conditions, the data collection method includes one of the following: full collection, incremental collection, and the data collection conditions include at least one of the following: transaction type, transaction status; using the target transmission method, the first transaction data is transmitted to the data processing module, and abnormal conditions during the transmission process are monitored, wherein the data processing module is used to pre-process the received first transaction data.

[0063] In this embodiment, transaction data (e.g., transaction data of payment transactions, corresponding to the first transaction data) can be obtained from a target financial platform (e.g., an open banking system) according to a predefined data acquisition rule (corresponding to a preset acquisition rule). The preset acquisition rule may include a time interval for data acquisition, conditions for data acquisition (such as transaction type, transaction status, etc.), and a method for data acquisition (such as incremental acquisition, full acquisition), etc. Then, the first transaction data can be transmitted to a subsequent data processing module, and the transmission method of the data transmission can be real-time message transmission. For transaction data with a data volume greater than a preset threshold, file transmission can also be used, which can be specifically based on system design and performance requirements.

[0064] It should be noted that during the transmission of the data stream of the first transaction data, a real-time monitoring and feedback mechanism can also be set up to timely monitor the data transmission status, and handle and feedback the anomalies that occur during the transmission process. For example, the monitoring system can be used to detect delays or errors in data transmission, and the transmission method can be adjusted and optimized in a timely manner to ensure the real-time and accuracy of the data.

[0065] Optionally, after preprocessing the first transaction data to obtain the second transaction data, it also includes: based on the database type of the target database, storing the second transaction data in the target database, wherein the target database is used to provide storage services and retrieval services for the transaction data; backing up the transaction data in the target database, wherein the backup processing method includes one of the following: incremental backup, full backup.

[0066] In this embodiment, the second transaction data may also be persistently stored in the database to provide data storage and retrieval functions. For example, the second transaction data and other related data may be stored according to a designed data table structure. The data storage method may be selected according to the database type, characteristics, and data query requirements of the target database.

[0067] The data stored in the target database can also be retrieved to support subsequent query, analysis, and report generation operations. Data retrieval can be performed through structured query language (SQL) or other query interfaces, and the appropriate query method and index strategy can be selected based on query needs and performance requirements.

[0068] In this embodiment, data backup and recovery can also be performed to ensure the security and reliability of transaction data. Data backup can be performed in the form of regular full backup and incremental backup to ensure data recoverability and disaster tolerance.

[0069] Optionally, after merging N calculation results to obtain the settlement result of the first transaction data, it also includes: storing the settlement result of the first transaction data in a target database, and reading the settlement result of the first transaction data from the target database; generating a settlement report based on the settlement result of the first transaction data, wherein the settlement report is used to record the settlement result of the first transaction data; and pushing the settlement result and the settlement report of the first transaction data to the account management system of a designated financial institution.

[0070] In this embodiment, the settlement status and results can also be updated in real time. For example, the settlement engine can be used to update the settlement status of the payment transaction (including successful settlement, failed settlement, pending settlement, etc.) in real time according to the settlement results. Generate detailed information on the real-time settlement results and store the settlement results in a real-time data warehouse. In this embodiment, a fault-tolerant processing mechanism can also be used to deal with abnormal situations that may occur during the calculation process (or settlement process) to ensure the stability and reliability of the settlement calculation. Use performance optimization measures such as caching technology and parallel computing to improve the efficiency and real-time nature of settlement calculations and meet the requirements of open banking real-time payment settlement.

[0071] In this embodiment, a settlement report can also be generated based on the settlement result (i.e., the settlement result of the first transaction data), wherein the settlement result may include accounts payable, accounts receivable, settlement summary, etc. The settlement report can generate settlement details, settlement statistics, settlement reconciliation, and other report forms according to actual needs to meet settlement needs and regulatory requirements.

[0072] In this embodiment, it is possible to interact with other systems, for example, to notify and interact with the account management systems of financial institutions such as banking systems and payment systems. Through the interface with other systems, the settlement engine module can realize functions such as real-time push of settlement results and generation of payment instructions.

[0073] It should be noted that, in this embodiment, abnormal situations in the settlement process can also be monitored in real time, alarm information can be issued for abnormal situations, and measures can be taken in a timely manner to deal with them.

[0074] The transaction data processing method provided in this embodiment can be applied to the real-time payment and settlement scenarios of open banks, and can perform real-time data collection, real-time data processing and real-time settlement calculations. Compared with the batch settlement method in the related art, the transaction data processing method provided in this embodiment can greatly improve the settlement efficiency, complete the payment and settlement operations more quickly, and reduce settlement delays and risks. By acquiring and processing payment transaction data in real time, and generating accurate settlement index data, and calculating according to predefined settlement rules and conditions, the accuracy and reliability of the settlement results can be ensured. Storing and retrieving a large amount of settlement index data (i.e., the second transaction data) can quickly generate settlement results and reports, improve the efficiency of the settlement process, and save time and resource costs.

[0075] In this embodiment, the definition and configuration of settlement rules are supported, and flexible settlement calculations can be performed according to actual needs. Settlement rules can include settlement cycles, settlement participants, settlement rates, settlement conditions, etc. By flexibly configuring settlement rules, different settlement needs and changes can be met. After obtaining the settlement results, reports can be generated to display the settlement data in a visual way. Settlement notifications and interactions can also be made with banking systems, payment systems, etc. By using the interfaces of other systems, functions such as real-time push of settlement results and generation of payment instructions can be realized, thereby improving the integration capabilities with external systems.

[0076] Embodiment 2

[0077] Embodiment 2 of the present invention provides an optional real-time data warehouse system, which can be used to execute a method for processing transaction data.

[0078] Figure 2 is a schematic diagram of an optional real-time data warehouse system according to an embodiment of the present invention. Figure 2 As shown, the real-time data warehouse system includes: data acquisition module, data processing module, data storage module and settlement engine module.

[0079] A data processing module is used to receive first transaction data transmitted using a target transmission method, and pre-process the first transaction data to obtain second transaction data, wherein the target transmission method includes at least one of the following: a transmission method for transmitting data based on a streaming processing technology, a transmission method for transmitting data based on a data buffer and using a queuing mechanism, the first transaction data includes: transaction data obtained from a target financial platform, the target financial platform is used to provide financial services to customers and multiple financial institutions, and the pre-processing processing method includes at least one of the following: data cleaning, format conversion, and data aggregation; a settlement engine module distributes the second transaction data to N computing nodes, receives N settlement results returned by the N computing nodes, merges the N settlement results, and obtains the settlement result of the first transaction data, wherein the N computing nodes are used to perform settlement processing on the second transaction data using a parallel processing method, and N is a positive integer.

[0080] The data processing module can receive the collected payment transaction data (corresponding to the first transaction data) and perform data cleaning, conversion and aggregation operations. The data processing module can use data processing algorithms to perform real-time analysis and calculations on the payment transaction data to generate the data and indicators required for settlement (corresponding to the second transaction data). It can verify, remove duplicates, convert the format of the transaction data, and ensure the accuracy and consistency of the data.

[0081] The data processing module receives the payment transaction data transmitted by the data acquisition module, and performs operations such as data cleaning, conversion and aggregation to generate the data and indicators required for settlement in real time.

[0082] (1) Data cleaning: The data processing module can clean the received payment transaction data to remove duplicate data, repair erroneous data, fill in missing data, etc., to ensure the accuracy and consistency of the data. The data cleaning process may involve data format verification, data field verification, data exception processing, etc.

[0083] (2) Data conversion: The data processing module can convert the cleaned payment transaction data into the target data format so that subsequent settlement operations can be correctly parsed and processed. The data conversion process may include data field mapping, data type conversion, data aggregation, etc.

[0084] (3) Data aggregation: The data processing module can aggregate the payment transaction data and calculate settlement indicators such as accounts payable and accounts receivable (corresponding to the second transaction data) according to the settlement rules and conditions. The data aggregation process can include grouping the transaction data according to time, transaction type, transaction participants, etc., and performing aggregate calculations, statistical analysis, etc.

[0085] The settlement engine module is the core component of the real-time data warehouse system. It can perform real-time settlement of processed data according to settlement rules and conditions. The settlement engine module can interact with the interface of the bank account system to realize real-time transfer and settlement operations of funds. It can calculate the payables and receivables according to the payment transaction data and settlement rules, and settle and transfer funds. At the same time, the settlement engine module can also generate settlement reports and perform statistical analysis to provide comprehensive data support for open banks.

[0086] The settlement engine module can calculate and process the settlement index data generated by the data processing module according to predefined settlement rules and conditions, and finally generate settlement results and reports.

[0087] Settlement rule definition: The settlement engine module can define and configure settlement rules. Settlement rules can include settlement cycle, settlement participants, settlement rate, settlement conditions, etc. Through the definition of settlement rules, the settlement engine module can perform flexible settlement calculations according to actual needs.

[0088] The following describes the process of defining and configuring settlement rules in the settlement engine module:

[0089] Step 1: rule definition and entry. For example, you can formulate settlement rules based on business needs and preset requirements, including settlement cycle, settlement method, fee calculation rules, etc., and then enter the formulated settlement rules into the rule library of the settlement engine to ensure that the settlement engine can perform settlement calculations according to the set rules.

[0090] Step 2: Rule verification and effectiveness, for example, (1) Rule verification: the settlement engine verifies the entered settlement rules to ensure the legality and accuracy of the rules; (2) Rule effectiveness: the verified settlement rules can be set to the effective state, and the settlement engine begins to perform real-time settlement calculations based on these rules.

[0091] Step 3: Rule matching and application, for example, (1) Rule matching: the settlement engine matches applicable settlement rules based on the characteristics and conditions of transaction data (e.g., payment transactions); (2) Rule application: applying the matched settlement rules to the transaction data to determine specific settlement methods, settlement amounts, and other information.

[0092] Step 4: Update rule configuration in real time, for example, (1) Rule adjustment: adjust or update settlement rules based on business changes or policy adjustments; (2) Real-time update: the settlement engine can receive and apply new rule configurations in real time to ensure that settlement calculations are always performed in accordance with the latest rules.

[0093] Step 5: Rule monitoring and auditing, for example, (1) Rule monitoring: the settlement engine monitors the application of settlement rules and promptly detects rule matching anomalies or errors; (2) Rule auditing: regularly audit settlement rules to ensure compliance and effectiveness of the rules, while improving the accuracy and security of transaction data settlement calculations.

[0094] Settlement calculation: The settlement engine module can perform settlement calculations on the settlement index data generated by the data processing module according to the settlement rules and conditions. Settlement calculations can include fee calculations, settlement amount calculations, settlement ratio calculations, etc. The settlement engine module can perform corresponding calculation operations on the settlement index data according to predefined algorithms and formulas.

[0095] The steps of settlement processing are as follows:

[0096] Step 1: Data reception and processing, (1) Receiving payment transaction data stream: The settlement engine receives transaction data streams (corresponding to the transaction data stream of the second transaction data) from various payment channels (for example, multiple financial institutions connected to the open banking system) in real time, including transaction amount, transaction time and other information; (2) Data cleaning and conversion: Cleaning and conversion of the received data, including data format standardization, deduplication, verification, etc., to ensure data quality and consistency.

[0097] Step 2: Parallel computing and distributed processing,(1) Data distribution and parallel computing: The settlement engine distributes the cleaned data to multiple computing nodes, and each node performs settlement calculations independently to achieve parallel processing;(2) Data merging and aggregation: After the computing nodes complete the settlement calculations, the result data is merged and aggregated to ensure the integrity and consistency of the settlement results.

[0098] Step 3: Update settlement status and results in real time. (1) Real-time settlement status update: The settlement engine updates the settlement status of the payment transaction in real time based on the calculation results, including successful settlement, failed settlement, pending settlement, etc. (2) Real-time settlement result generation: Generate detailed information on the real-time settlement results and store the results in the real-time data warehouse.

[0099] Step 4: Fault-tolerant processing and performance optimization,(1) Fault-tolerant processing mechanism: The settlement engine has a fault-tolerant processing mechanism to deal with abnormal situations that may occur during the calculation process and ensure the stability and reliability of the settlement calculation;(2) Performance optimization measures: Performance optimization measures such as caching technology and parallel computing are adopted to improve the efficiency and real-time performance of settlement calculations and meet the requirements of open banking real-time payment settlement.

[0100] Settlement result generation: The settlement engine module can generate settlement results and settlement reports based on the results of settlement calculations. Settlement results may include accounts payable, accounts receivable, settlement summary, etc. Settlement reports can generate settlement details, settlement statistics, settlement reconciliation and other report forms according to actual needs to meet settlement needs and regulatory requirements.

[0101] Settlement notification and interaction: The settlement engine module can also interact with other systems, for example, settlement notification and interaction with banking systems, payment systems, etc. Through the interfaces of other systems, the settlement engine module can realize functions such as real-time push of settlement results and generation of payment instructions.

[0102] Optionally, the real-time data warehouse system also includes: a data acquisition module, which is used to collect first transaction data from the target financial platform based on preset collection rules and using the application program interface of the target financial platform, and transmit the first transaction data to the data processing module using a target transmission method, and monitor abnormal conditions during the transmission process, wherein the preset collection rules include at least one of the following: data collection time interval, data collection method and data collection conditions, the data collection method includes one of the following: full collection, incremental collection, the data collection conditions include at least one of the following: transaction type, transaction status, and the data processing module is used to pre-process the received first transaction data.

[0103] In this embodiment, the data acquisition module can be used to obtain payment transaction data (corresponding to the first transaction data) in real time and transmit it to the subsequent data processing module. It interacts with the interface of the open banking system (corresponding to the target financial platform) to achieve real-time data capture and transmission. The data acquisition module can collect payment transaction data including transaction amount, payer information, payee information, etc.

[0104] Figure 3 This is a flow chart of an optional data collection according to an embodiment of the present invention. Figure 3 Explain the data collection process:

[0105] (1) Data source interface: The data collection module can establish a connection with the open banking system and exchange data with the open banking system through the data source interface. The data source interface can be an API interface, and the data source interface can also be determined according to the specific implementation method of the open banking system.

[0106] (2) Data acquisition: The data acquisition module may acquire payment transaction data (i.e., first transaction data) from the open banking system according to predefined data acquisition rules (corresponding to preset acquisition rules). The data acquisition rules may include the time interval for data acquisition, the conditions for data acquisition (such as transaction type, transaction status, etc.), and the method for data acquisition (such as incremental acquisition, full acquisition), etc.

[0107] (3) Data transmission: The data collection module can transmit the payment transaction data after data conversion to the subsequent data processing module. The transmission method can be real-time message transmission or file transfer, depending on the design and performance requirements of the real-time data warehouse system.

[0108] The real-time data warehouse system also includes: data storage module, which can be used to persist the processed data. It can use high-performance database technology to quickly store and retrieve a large amount of payment transaction data. The data storage module can also provide data backup and disaster recovery functions to ensure data security and reliability. At the same time, it can also partition and index data to improve data query efficiency.

[0109] The data storage module can store the settlement index data and other related data generated by the data processing module persistently in a database (corresponding to the target database). The main task of the data storage module is to provide data storage and retrieval functions.

[0110] Data storage: The data storage module stores the settlement index data and other related data generated by the data processing module according to the designed data table structure. The data storage method can be selected according to the characteristics of the database and the query requirements of the data.

[0111] Data retrieval: The data storage module provides efficient data retrieval functions to support subsequent query, analysis, and report generation operations. Data retrieval can be performed through structured query language (SQL) or other query interfaces, and the appropriate query method and index strategy are selected according to the query needs and performance requirements.

[0112] Data backup and recovery: The data storage module provides data backup and recovery functions to ensure data security and reliability. Data backup can be performed in the form of regular full backup and incremental backup to ensure data recoverability and disaster tolerance.

[0113] It should be noted that the various modules of the real-time data warehouse system can interact and collaborate with each other through interfaces, realizing the complete process from data collection to settlement. Through this system, open banks can obtain, process and settle payment transaction data in real time, improving the timeliness and accuracy of payment settlement. At the same time, it also has good scalability and flexibility, and can adapt to open banking environments of different scales and complexities.

[0114] Embodiment 3

[0115] Embodiment 3 of the present invention provides an optional transaction data processing device, and each implementation unit in the processing device corresponds to each implementation step in Embodiment 1.

[0116] Figure 4 is a schematic diagram of an optional transaction data processing device according to an embodiment of the present invention, such as Figure 4 As shown, it includes: a receiving unit 41, a first processing unit 42, a second processing unit 43 and a merging unit 44.

[0117] The receiving unit 41 is used to receive first transaction data transmitted in a target transmission mode, wherein the target transmission mode includes at least one of the following: a transmission mode for transmitting data based on a streaming processing technology, a transmission mode for transmitting data based on a data buffer and using a queuing mechanism, and the first transaction data includes: transaction data obtained from a target financial platform, and the target financial platform is used to provide financial services to customers and multiple financial institutions;

[0118] A first processing unit 42 is used to pre-process the first transaction data to obtain second transaction data, wherein the pre-processing includes at least one of the following: data cleaning, format conversion, and data aggregation;

[0119] The second processing unit 43 is used to distribute the second transaction data to N computing nodes, and receive N settlement results returned by the N computing nodes, wherein the N computing nodes are used to perform settlement processing on the second transaction data in a parallel processing manner, and N is a positive integer;

[0120] The merging unit 44 is used to merge the N settlement results to obtain the settlement result of the first transaction data.

[0121] In the transaction data processing device provided in the third embodiment of the present invention, the first transaction data transmitted in the target transmission mode can be received by the receiving unit 41, wherein the target transmission mode includes at least one of the following: a transmission mode for transmitting data based on a streaming processing technology, a transmission mode for transmitting data based on a data buffer and using a queuing mechanism, the first transaction data includes: transaction data obtained from a target financial platform, the target financial platform is used to provide financial services to customers and multiple financial institutions, the first transaction data is pre-processed by the first processing unit 42 to obtain second transaction data, wherein the pre-processing processing mode includes at least one of the following: data cleaning, format conversion and data aggregation, the second transaction data is distributed to N computing nodes by the second processing unit 43, and N settlement results returned by the N computing nodes are received, wherein the N computing nodes are used to perform settlement processing on the second transaction data in a parallel processing mode, N is a positive integer, and the N settlement results are merged by the merging unit 44 to obtain the settlement result of the first transaction data. Thus, the technical problem of low processing efficiency in processing open bank transaction data in a batch processing mode in the related art is solved. In this embodiment, the transaction data of the target financial platform is transmitted in real time through the target transmission method, and the transaction data is processed in parallel, avoiding the low processing efficiency of the open bank's transaction data processed in batch processing in related technologies, thereby achieving the technical effect of improving the processing efficiency of the open bank's transaction data.

[0122] Optionally, in the transaction data processing device provided in Example 3 of the present invention, the transaction data processing device also includes: a matching unit, used to match the transaction data received by each computing node with the settlement rules in the rule engine after distributing the second transaction data to N computing nodes, to obtain a matching result, wherein the rule engine is used to configure the settlement rules; a settlement unit, used to perform settlement processing on the data received by the N computing nodes in a parallel processing manner based on the matching result, to obtain N settlement results.

[0123] Optionally, in the transaction data processing device provided in Example 3 of the present invention, the settlement rules in the rule engine are obtained through the following sub-units: a processing sub-unit, used to receive the preset settlement rules through the rule engine, and verify the accuracy of the settlement rules to obtain a verification result; an adjustment sub-unit, used to adjust the status of the settlement rules to an effective status after the verification result indicates that the preset settlement rules have been verified, wherein the effective status is used to indicate that the settlement rules can be used for settlement processing.

[0124] Optionally, in the transaction data processing device provided in Example 3 of the present invention, the transaction data processing device also includes: a collection unit, used to collect the first transaction data from the target financial platform based on preset collection rules and using the application program interface of the target financial platform before receiving the first transaction data transmitted using the target transmission method, wherein the preset collection rules include at least one of the following: a time interval for data collection, a data collection method and a data collection condition, the data collection method includes one of the following: full collection, incremental collection, and the data collection condition includes at least one of the following: transaction type, transaction status; a third processing unit, used to transmit the first transaction data to the data processing module using the target transmission method, and monitor abnormal conditions during the transmission process, wherein the data processing module is used to pre-process the received first transaction data.

[0125] Optionally, in the transaction data processing device provided in Example 3 of the present invention, the transaction data processing device also includes: a fourth processing unit, used to store the second transaction data in a target database based on the database type of the target database after pre-processing the first transaction data to obtain the second transaction data, wherein the target database is used to provide storage services and retrieval services for the transaction data; a backup unit, used to perform backup processing on the transaction data in the target database, wherein the processing method of the backup processing includes one of the following: incremental backup, full backup.

[0126] Optionally, in the transaction data processing device provided in Example 3 of the present invention, the transaction data processing device also includes: a fourth processing unit, used to store the settlement result of the first transaction data in a target database after merging N calculation results to obtain the settlement result of the first transaction data, and read the settlement result of the first transaction data from the target database; a generation unit, used to generate a settlement report based on the settlement result of the first transaction data, wherein the settlement report is used to record the settlement result of the first transaction data; and a push unit, used to push the settlement result and settlement report of the first transaction data to the account management system of a designated financial institution.

[0127] The above-mentioned transaction data processing device may also include a processor and a memory. The above-mentioned receiving unit 41, first processing unit 42, second processing unit 43 and merging unit 44 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0128] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the transaction data of the target financial platform can be transmitted in real time through the target transmission method by adjusting the kernel parameters, and the transaction data can be processed in parallel, avoiding the low processing efficiency of the open bank transaction data in batch processing in the related technology, thereby achieving the technical effect of improving the processing efficiency of the open bank transaction data.

[0129] The above-mentioned memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.

[0130] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above transaction data processing methods by executing the executable instructions.

[0131] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, which stores a computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned transaction data processing methods.

[0132] Figure 5 is a schematic diagram of an electronic device according to an embodiment of the present invention, such as Figure 5 As shown, an embodiment of the present invention provides an electronic device 50, which includes a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, any one of the transaction data processing methods described above is implemented.

[0133] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0134] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0135] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0136] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0137] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0138] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0139] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for processing transaction data, characterized in that: include: receiving first transaction data transmitted in a target transmission mode, wherein the target transmission mode includes at least one of the following: a transmission mode for transmitting data based on a streaming processing technology, a transmission mode for transmitting data based on a data buffer and using a queuing mechanism, the first transaction data includes: transaction data obtained from a target financial platform, the target financial platform is used to provide financial services to customers and multiple financial institutions; Preprocessing the first transaction data to obtain second transaction data, wherein the preprocessing includes at least one of the following: data cleaning, format conversion, and data aggregation; Distributing the second transaction data to N computing nodes, and receiving N settlement results returned by the N computing nodes, wherein the N computing nodes are used to perform settlement processing on the second transaction data in a parallel processing manner, and N is a positive integer; The N settlement results are merged to obtain the settlement result of the first transaction data.

2. The method for processing transaction data according to claim 1, characterized in that: After distributing the second transaction data to the N computing nodes, the method includes: Matching the transaction data received by each computing node with the settlement rules in a rule engine to obtain a matching result, wherein the rule engine is used to configure the settlement rules; Based on the matching results, the parallel processing method is used to perform settlement processing on the data received by the N computing nodes to obtain N settlement results.

3. The method for processing transaction data according to claim 2, characterized in that: The settlement rules in the rule engine are obtained in the following way: Receiving a preset settlement rule through the rule engine, and verifying the accuracy of the settlement rule to obtain a verification result; After the verification result indicates that the preset settlement rule has passed the verification, the state of the settlement rule is adjusted to an effective state, wherein the effective state is used to indicate that the settlement rule can be used for settlement processing.

4. The method for processing transaction data according to claim 1, characterized in that: Before receiving the first transaction data transmitted in the target transmission mode, the method further includes: Based on a preset collection rule, the first transaction data is collected from the target financial platform using the application program interface of the target financial platform, wherein the preset collection rule includes at least one of the following: a time interval for data collection, a data collection method, and a data collection condition, the data collection method includes one of the following: full collection and incremental collection, and the data collection condition includes at least one of the following: transaction type and transaction status; The target transmission mode is adopted to transmit the first transaction data to the data processing module, and the abnormal conditions in the transmission process are monitored, wherein the data processing module is used to pre-process the received first transaction data.

5. The method for processing transaction data according to claim 4, characterized in that: After preprocessing the first transaction data to obtain second transaction data, the method further includes: Based on the database type of the target database, storing the second transaction data in the target database, wherein the target database is used to provide storage services and retrieval services for the transaction data; The transaction data in the target database is backed up, wherein the backup processing includes one of the following processing methods: incremental backup and full backup.

6. The method for processing transaction data according to claim 1, characterized in that: After the N calculation results are combined to obtain the settlement result of the first transaction data, the method further includes: storing the settlement result of the first transaction data in a target database, and reading the settlement result of the first transaction data from the target database; generating a settlement report based on the settlement result of the first transaction data, wherein the settlement report is used to record the settlement result of the first transaction data; The settlement result of the first transaction data and the settlement report are pushed to an account management system of a designated financial institution.

7. A real-time data warehouse system, characterized in that: The real-time data warehouse system is used to execute the transaction data processing method according to any one of claims 1 to 6, comprising: A data processing module, configured to receive first transaction data transmitted in a target transmission mode, and pre-process the first transaction data to obtain second transaction data, wherein the target transmission mode includes at least one of the following: a transmission mode for transmitting data based on a streaming processing technology, a transmission mode for transmitting data based on a data buffer and using a queuing mechanism, the first transaction data includes: transaction data obtained from a target financial platform, the target financial platform is used to provide financial services to customers and multiple financial institutions, and the pre-processing processing mode includes at least one of the following: data cleaning, format conversion, and data aggregation; The settlement engine module distributes the second transaction data to N computing nodes, receives N settlement results returned by the N computing nodes, merges the N settlement results, and obtains the settlement result of the first transaction data, wherein the N computing nodes are used to perform settlement processing on the second transaction data in a parallel processing manner, and N is a positive integer.

8. The real-time data warehouse system according to claim 7, characterized in that: The real-time data warehouse system also includes: A data collection module is used to collect the first transaction data from the target financial platform based on preset collection rules and using the application program interface of the target financial platform, transmit the first transaction data to the data processing module using the target transmission method, and monitor abnormal conditions during the transmission process, wherein the preset collection rules include at least one of the following: the time interval for data collection, the data collection method and the data collection conditions, the data collection method includes one of the following: full collection, incremental collection, the data collection conditions include at least one of the following: transaction type, transaction status, and the data processing module is used to pre-process the received first transaction data.

9. A transaction data processing device, characterized in that: include: A receiving unit, configured to receive first transaction data transmitted in a target transmission mode, wherein the target transmission mode includes at least one of the following: a transmission mode for transmitting data based on a streaming processing technology, a transmission mode for transmitting data based on a data buffer and using a queuing mechanism, wherein the first transaction data includes: transaction data obtained from a target financial platform, wherein the target financial platform is used to provide financial services to customers and multiple financial institutions; A first processing unit, configured to pre-process the first transaction data to obtain second transaction data, wherein the pre-processing includes at least one of the following: data cleaning, format conversion, and data aggregation; a second processing unit, configured to distribute the second transaction data to N computing nodes, and receive N settlement results returned by the N computing nodes, wherein the N computing nodes are configured to perform settlement processing on the second transaction data in a parallel processing manner, and N is a positive integer; A merging unit is used to merge N settlement results to obtain a settlement result of the first transaction data.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the transaction data processing method according to any one of claims 1 to 6.

11. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the transaction data processing method described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Transaction data processing method and device, computer equipment and storage medium

    CN107833139A

  • Transaction data transmission method and device

    CN109729023A

  • Financial data processing method, device and apparatus and computer readable storage medium

    CN110134516A

  • Data processing method and device, storage medium and electronic equipment

    CN115841326A

  • Novel multi-source real-time transaction quotation data receiving and processing method

    CN117575791A