Transaction routing channel determination method and apparatus, storage medium, and electronic device

By generating a first data table and obtaining target indicator data for near real-time transaction routing channels, the optimal transaction routing channel is dynamically determined, solving the problem of poor accuracy of transaction routing channels in existing technologies and achieving more efficient transaction routing selection.

CN116362730BActive Publication Date: 2026-11-20吉林亿联银行股份有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310233170.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2026-11-20
Estimated Expiration
2043-03-10

AI Technical Summary

Technical Problem

In existing technologies, financial institutions typically rely on fixed rules or simple stateless computation when selecting transaction routing channels, resulting in poor accuracy and an inability to make dynamic judgments based on transaction conditions.

Method used

By receiving target transaction requests, a first data table is generated, and target indicator data for multiple transaction routing channels are obtained. Based on near real-time data, dynamic judgment is made, including indicators such as weighted response time, real-time circuit breaker status, and real-time pressure on clearing accounts, to select the optimal transaction routing channel.

Benefits of technology

It improves the accuracy and efficiency of transaction routing channel determination, enables dynamic determination based on transaction conditions, enriches the determination dimensions, and enhances the accuracy of transaction routing channels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116362730B_ABST
    Figure CN116362730B_ABST
Patent Text Reader

Abstract

The application discloses a kind of transaction routing channel determination method, device, storage medium and electronic equipment.Therein, the method includes: receiving target transaction request, and according to target transaction request, generate first data table, wherein first data table at least includes the data information of multiple first transaction routing channel;Obtain the data of target index corresponding to multiple first transaction routing channel, wherein target index is used to evaluate the degree of advantage and disadvantage of multiple first transaction routing channel, and the data of target index is calculated from the first transaction data generated according to last transaction request;Based on the data of target index, determine the target transaction routing channel corresponding to target transaction request from multiple first transaction routing channel.The present application solves the technical problem that the routing channel of transaction is determined by fixed rules in the prior art, and the accuracy is poor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of financial technology, and more specifically, to a method, apparatus, storage medium, and electronic device for determining transaction routing channels. Background Technology

[0002] Currently, financial institutions (e.g., banks) typically select transaction routing channels (e.g., payment routes) based on fixed rules or simple stateless computation during daily business operations. For example, they may select channels that meet pre-configured channel rules as payment routes, or accumulate the number of channel failures and select channels with fewer failures as payment routes. This approach has limited decision-making dimensions and cannot dynamically determine based on transaction conditions, resulting in poor accuracy.

[0003] There is currently no effective solution to the above problems. Summary of the Invention

[0004] This invention provides a method, apparatus, storage medium, and electronic device for determining transaction routing channels, to at least solve the technical problem of poor accuracy in the prior art where transaction routing channels are determined by fixed rules.

[0005] According to one aspect of the present invention, a method for determining a transaction routing channel is provided, comprising: receiving a target transaction request and generating a first data table based on the target transaction request, wherein the first data table includes at least data information of a plurality of first transaction routing channels; obtaining data of target indicators corresponding to the plurality of first transaction routing channels, wherein the target indicators are used to evaluate the quality of the plurality of first transaction routing channels, and the data of the target indicators are calculated based on the first transaction data generated from the previous transaction request; and determining the target transaction routing channel corresponding to the target transaction request from the plurality of first transaction routing channels based on the data of the target indicators.

[0006] Furthermore, the method for determining the transaction routing channel also includes: generating first transaction data after the previous transaction request has been processed, and generating a first data stream based on the first transaction data; obtaining second transaction data, and generating a second data stream based on the second transaction data, wherein the second transaction data is the data of the transaction routing channel corresponding to the previous transaction request; and calculating the target indicator data based on the first data stream and the second data stream.

[0007] Furthermore, the method for determining the transaction routing channel also includes: obtaining historical transaction data of the first account corresponding to multiple transaction routing channels, wherein the transaction routing channel and the first account are in one-to-one correspondence; and generating a first data stream based on the historical transaction data and the first transaction data of each first account.

[0008] Furthermore, the method for determining the transaction routing channel also includes: acquiring historical data of multiple transaction routing channels; and generating a second data stream based on the historical data and the second transaction data.

[0009] Furthermore, the target indicators include at least one of the following: a first target indicator, a second target indicator, and a third target indicator. The method for determining the transaction routing channel further includes: determining the first account corresponding to each transaction data in the first data stream; calculating the transaction processing volume of each first account based on a first preset time period to obtain the data of the first target indicator corresponding to each transaction routing channel; determining the transaction routing channel corresponding to the data of each transaction routing channel in the second data stream; calculating the weighted response time of each transaction routing channel based on a second preset time period to obtain the data of the second target indicator corresponding to each transaction routing channel; and determining the channel status of each transaction routing channel based on the data of each second target indicator to obtain the data of the third target indicator corresponding to each transaction routing channel, wherein the channel status includes one of the following: open state and closed state.

[0010] Furthermore, the method for determining the transaction routing channel also includes: filtering multiple first transaction routing channels based on data from the third target indicator to obtain a first transaction routing channel set, wherein the channel status of the transaction routing channels in the first transaction routing channel set is open; filtering the first transaction routing channel set based on data from the first target indicator to obtain a second transaction routing channel set, wherein the transaction processing volume of the first account corresponding to the transaction routing channel in the second transaction routing channel set is less than a preset threshold; filtering the second transaction routing channel set based on data from the second target indicator to obtain a target transaction routing channel, wherein the target transaction routing channel is the transaction routing channel with the smallest weighted response time among the transaction routing channels in the second transaction routing channel set.

[0011] Furthermore, the method for determining the transaction routing channel also includes: receiving a target transaction request and obtaining multiple transaction routing channels; filtering the multiple transaction routing channels based on the target institution information contained in the target transaction request to obtain a third set of transaction routing channels; filtering the third set of transaction routing channels based on the transaction amount contained in the target transaction request to obtain a fourth set of transaction routing channels; filtering the fourth set of transaction routing channels based on the transaction type information contained in the target transaction request to obtain a fifth set of transaction routing channels; and generating a first data table based on the fifth set of transaction routing channels.

[0012] According to another aspect of the present invention, a device for determining a transaction routing channel is also provided, comprising: a processing module, configured to receive a target transaction request and generate a first data table based on the target transaction request, wherein the first data table includes at least data information of a plurality of first transaction routing channels; an acquisition module, configured to acquire data of target indicators corresponding to the plurality of first transaction routing channels, wherein the target indicators are used to evaluate the quality of the plurality of first transaction routing channels, and the data of the target indicators are calculated based on the first transaction data generated from the previous transaction request; and a determination module, configured to determine the target transaction routing channel corresponding to the target transaction request from the plurality of first transaction routing channels based on the data of the target indicators.

[0013] According to another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, wherein the computer program is configured to execute the above-described method for determining the transaction routing channel when it is run.

[0014] According to another aspect of the present invention, an electronic device is also provided, the electronic device including one or more processors; a memory for storing 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 a method for running the programs, wherein the programs are configured to execute the above-described method for determining the transaction routing channel during runtime.

[0015] In this embodiment of the invention, a method is adopted to dynamically determine the target transaction routing channel based on transaction conditions by enriching the judgment dimensions of the transaction routing channel with near real-time data. First, a target transaction request is received, and a first data table is generated based on the target transaction request. Then, data of target indicators corresponding to multiple first transaction routing channels are obtained. Finally, based on the target indicator data, the target transaction routing channel corresponding to the target transaction request is determined from the multiple first transaction routing channels. The first data table includes at least data information of multiple first transaction routing channels, and the target indicators are used to evaluate the quality of the multiple first transaction routing channels. The data of the target indicators is calculated based on the first transaction data generated from the previous transaction request.

[0016] In the above process, a first data table is generated based on the target transaction request, which realizes the initial screening of transaction routing channels and provides a data foundation for the subsequent determination of the target transaction routing channel based on near real-time data indicators (i.e., target indicators). By acquiring the target indicator data corresponding to multiple first transaction routing channels, a data foundation is provided for the subsequent determination of the target transaction routing channel. Based on the target indicator data, the target transaction routing channel corresponding to the target transaction request is determined from multiple first transaction routing channels, realizing the dynamic determination of the target transaction routing channel. Using near real-time data indicators as the determination indicators for transaction routing channels can improve the efficiency of transaction routing channel determination, enrich the determination dimensions, improve the accuracy of determining transaction routing channels, and make the determination of transaction routing channels more precise.

[0017] Therefore, the technical solution of this invention achieves the goal of enriching the judgment dimensions of transaction routing channels with near real-time data and dynamically judging transaction routing channels, thereby improving the accuracy of determining transaction routing channels and solving the technical problem of poor accuracy in determining transaction routing channels by using fixed rules in the prior art. Attached Figure Description

[0018] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0019] Figure 1 This is a flowchart of an optional transaction routing channel determination method according to an embodiment of the present invention;

[0020] Figure 2 This is an interactive schematic diagram of an optional transaction routing channel determination system according to an embodiment of the present invention;

[0021] Figure 3 This is a schematic diagram of an optional transaction routing channel determination index according to an embodiment of the present invention;

[0022] Figure 4 This is a schematic diagram of the functional components of an optional transaction routing channel determination system according to an embodiment of the present invention;

[0023] Figure 5 This is a schematic diagram of the storage component of an optional transaction routing channel determination system according to an embodiment of the present invention;

[0024] Figure 6 This is a schematic diagram of an optional transaction routing channel determination device according to an embodiment of the present invention;

[0025] Figure 7This is a schematic diagram of an optional electronic device according to an embodiment of the present invention. Detailed Implementation

[0026] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0027] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0028] It should be noted that all relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this invention are information and data authorized by the user or fully authorized by all parties. For example, this system has an interface with the relevant user or organization. Before obtaining relevant information, it needs to send an acquisition request to the aforementioned user or organization through the interface, and obtain the relevant information after receiving consent from the aforementioned user or organization.

[0029] Example 1

[0030] According to an embodiment of the present invention, an embodiment of a method for determining a transaction routing channel is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0031] Figure 1 This is a flowchart of an optional method for determining a transaction routing channel according to an embodiment of the present invention, such as... Figure 1 As shown, the method includes the following steps:

[0032] Step S101: Receive the target transaction request and generate a first data table based on the target transaction request, wherein the first data table includes at least data information of multiple first transaction routing channels.

[0033] In the above steps, the target transaction request can be received through an application system, processor, electronic device, or other means. Optionally, the target transaction request can be received through a transaction routing channel determination system. The target transaction request may be an interbank transfer request, for example, the payment system in the transaction routing channel determination system receives the interbank transaction request and begins processing it. Optionally, the first data table may be a data table generated by the payment system after receiving the interbank transaction request and obtaining multiple first transaction routing channels through traditional payment routing components.

[0034] Figure 2 This is an interactive schematic diagram of an optional transaction routing channel determination system according to an embodiment of the present invention, such as... Figure 2 As shown, other systems within a financial institution (e.g., a bank) initiate interbank transaction requests to the payment system. The payment system receives and begins processing these requests. The interbank transaction request (i.e., the target transaction request) includes at least the target institution (i.e., the counterparty bank), transaction amount, transaction type, the bank's transaction card number, and the other bank's transaction card number. Optionally, the transaction routing channel determination system may also include traditional payment routing components, near real-time routing components, near real-time computing components, data extraction components, and payment channel components.

[0035] It should be noted that the above process enables the initial screening of transaction routing channels, providing a data foundation for subsequently determining the target transaction routing channel based on near real-time data indicators (i.e., target indicators).

[0036] Step S102: Obtain the target indicator data corresponding to multiple first transaction routing channels. The target indicators are used to evaluate the quality of multiple first transaction routing channels. The data of the target indicators are calculated based on the first transaction data generated by the previous transaction request.

[0037] In the above steps, data of target indicators corresponding to multiple first transaction routing channels can be obtained from the near real-time indicator storage. Optionally, the target indicators include at least weighted response time, real-time circuit breaker status, and real-time pressure of the clearing account. The first transaction data can be data such as response time and transaction status (success or failure) generated after the previous transaction request was processed.

[0038] Figure 3 This is a schematic diagram of an optional transaction routing channel determination index according to an embodiment of the present invention, such as... Figure 3As shown, traditional payment routing metrics include the banks supported by the transaction routing channel, the supported limits, and the supported transaction types, while near real-time routing metrics (i.e., target metrics) include the weighted response time of the transaction routing channel, the real-time circuit breaker status, and the real-time pressure on the clearing account associated with the transaction routing channel.

[0039] Figure 4 This is a schematic diagram of the functional components of an optional transaction routing channel determination system according to an embodiment of the present invention, such as... Figure 4 As shown, the data extraction component includes a payment data extraction module and a core accounting extraction module; the near real-time computing component includes a payment data computing module and a core accounting computing module; and the near real-time routing component includes a routing filtering component and a near real-time indicator storage.

[0040] Figure 5 This is a schematic diagram of the storage component of an optional transaction routing channel determination system according to an embodiment of the present invention, such as... Figure 5 As shown, the near-real-time indicator memory stores the indicator values ​​of each payment channel (i.e., transaction routing channel) processed in real time by the near-real-time computing component. Specifically, the near-real-time indicator memory mainly stores the weighted response time, real-time circuit breaker status, and real-time pressure of the clearing account for each channel. For example, it stores the weighted response time, real-time circuit breaker status, and real-time pressure of the clearing account for payment channel A; the weighted response time, real-time circuit breaker status, and real-time pressure of the clearing account for payment channel B; and the weighted response time, real-time circuit breaker status, and real-time pressure of the clearing account for payment channel C.

[0041] Step S103: Based on the target indicator data, determine the target transaction routing channel corresponding to the target transaction request from multiple first transaction routing channels.

[0042] In the above steps, based on data such as weighted response time, real-time circuit breaker status, and real-time pressure of clearing accounts obtained from the near real-time indicator storage, the target transaction routing channel corresponding to the target transaction request can be determined from multiple first transaction routing channels.

[0043] It should be noted that in this embodiment, the transaction routing channel is determined based on the near-real-time indicator data stored in the near-real-time indicator memory, so that the data analysis process and the real-time transaction process remain independent yet closely related. That is, the near-real-time indicator data is analyzed and calculated at the end of the previous transaction request, and can be directly obtained in the current transaction request. While ensuring the timeliness of the transaction, more complex stateful indicator calculations are completed, enriching the judgment dimensions and improving the accuracy of determining the transaction routing channel.

[0044] Based on the scheme defined in steps S101 to S103 above, it can be understood that in this embodiment of the invention, the method of dynamically determining the target transaction routing channel based on transaction conditions is achieved by enriching the judgment dimensions of the transaction routing channel with near real-time data. First, a target transaction request is received, and a first data table is generated based on the target transaction request. Then, data of target indicators corresponding to multiple first transaction routing channels are obtained. Finally, based on the data of the target indicators, the target transaction routing channel corresponding to the target transaction request is determined from the multiple first transaction routing channels. The first data table includes at least data information of multiple first transaction routing channels, and the target indicators are used to evaluate the quality of the multiple first transaction routing channels. The data of the target indicators is calculated based on the first transaction data generated from the previous transaction request.

[0045] It is noteworthy that in the above process, a first data table is generated based on the target transaction request, achieving preliminary screening of transaction routing channels and providing a data foundation for subsequent determination of target transaction routing channels based on near-real-time data indicators (i.e., target indicators). By acquiring data on target indicators corresponding to multiple first transaction routing channels, a data foundation is provided for subsequent determination of target transaction routing channels. Based on the target indicator data, the target transaction routing channel corresponding to the target transaction request is determined from multiple first transaction routing channels, realizing dynamic determination of target transaction routing channels. Using near-real-time data indicators as the determination criteria for transaction routing channels can improve the efficiency of transaction routing channel determination, enrich the determination dimensions, improve the accuracy of determining transaction routing channels, and make the determination of transaction routing channels more precise.

[0046] Therefore, the technical solution of this invention achieves the goal of enriching the judgment dimensions of transaction routing channels with near real-time data and dynamically judging transaction routing channels, thereby improving the accuracy of determining transaction routing channels and solving the technical problem of poor accuracy in determining transaction routing channels by using fixed rules in the prior art.

[0047] In one optional embodiment, during the process of acquiring data for target metrics corresponding to multiple first transaction routing channels, firstly, after the previous transaction request has been processed, first transaction data is generated, and a first data stream is generated based on the first transaction data. Then, second transaction data is acquired, and a second data stream is generated based on the second transaction data. Finally, the target metrics data are calculated based on the first and second data streams. The second transaction data is the data from the transaction routing channel corresponding to the previous transaction request.

[0048] In one optional embodiment, during the process of generating the first data stream based on the first transaction data, historical transaction data of the first accounts corresponding to multiple transaction routing channels are first obtained, and then the first data stream is generated based on the historical transaction data of each first account and the first transaction data. The transaction routing channels and the first accounts are in a one-to-one correspondence.

[0049] In one optional embodiment, during the process of generating a second data stream based on the second transaction data, historical data of multiple transaction routing channels is first obtained, and then the second data stream is generated based on the historical data and the second transaction data.

[0050] Optionally, the first data stream can be the core data stream, the second data stream can be the payment data stream, and the first account can be the clearing account associated with the transaction routing channel.

[0051] Specifically, during the processing of the previous transaction request, after the payment channel component receives the target transaction routing channel (e.g., payment channel A) corresponding to the previous transaction request determined by the near real-time routing component, it requests the intra-bank account core system to use the clearing account associated with payment channel A to perform accounting (e.g., record the deducted transaction amount, etc.), and uses payment channel A to send the previous transaction request, generating data such as response time and transaction status (success or failure) (i.e., the first transaction data), and records it in the corresponding transaction database.

[0052] Furthermore, historical transaction data of the first account corresponding to multiple transaction routing channels is obtained, and then a first data stream is generated based on the historical transaction data and the first transaction data of each first account. Specifically, the core accounting extraction module of the data extraction component extracts transaction records of clearing accounts associated with multiple transaction routing channels from the core system database of the bank's accounts (e.g., databases of other systems) and sends them to an open-source stream processing platform (e.g., Kafka) as the core data stream (i.e., the first data stream).

[0053] Furthermore, historical data from multiple transaction routing channels is acquired, and then a second data stream is generated based on the historical data and the second transaction data. Specifically, the payment data extraction module of the data extraction component extracts transaction records from multiple transaction routing channels from the database of the payment channel component (i.e., the channel's own database) and feeds them into an open-source stream processing platform (e.g., Kafka) as the payment data stream (i.e., the second data stream). These multiple transaction routing channels can be all transaction routing channels or only a subset of transaction routing channels that meet user needs; this embodiment does not impose any limitations.

[0054] Further, the target indicator data is calculated based on the first data stream and the second data stream. Specifically, in an optional embodiment, the target indicator includes at least one of the following: a first target indicator, a second target indicator, and a third target indicator. In the process of calculating the target indicator data based on the first data stream and the second data stream, firstly, the first account corresponding to each transaction data in the first data stream is determined. Then, based on a first preset time period, the transaction processing volume of each first account is calculated to obtain the first target indicator data corresponding to each transaction routing channel. Then, the transaction routing channel corresponding to the data of each transaction routing channel in the second data stream is determined. Then, based on a second preset time period, the weighted response time of each transaction routing channel is calculated to obtain the second target indicator data corresponding to each transaction routing channel. Then, based on the data of each second target indicator, the channel status of each transaction routing channel is determined to obtain the third target indicator data corresponding to each transaction routing channel. The channel status includes one of the following: open state and closed state.

[0055] Optionally, the first target indicator can be the real-time pressure on the clearing account, the second target indicator can be the weighted response time, and the third target indicator can be the real-time circuit breaker status.

[0056] Optionally, a near real-time computing component implemented using an open-source stream processing framework (e.g., Apache Flink) can be used to determine the first account corresponding to each transaction in the first data stream. Specifically, the core accounting module of the near real-time computing component consumes the core data stream. When it receives near real-time data from the core data stream, it categorizes the data according to the clearing accounts associated with each payment channel (i.e., transaction routing channel), thus determining the clearing account corresponding to each transaction.

[0057] Furthermore, based on the first preset time period, the transaction processing volume of each first account is calculated to obtain the data of the first target indicator corresponding to each transaction routing channel. Specifically, the core accounting calculation module periodically calculates the average TPS (transactions per second) of each clearing account in the most recent few seconds (which can be set according to requirements, for example, 5 seconds), and uses this data as the real-time pressure data of the clearing account of the payment channel corresponding to that clearing account (i.e., the data of the first target indicator).

[0058] Furthermore, the transaction routing channel corresponding to the data of each transaction routing channel in the second data stream is determined. Specifically, the payment data calculation module of the near real-time computing component consumes the payment data stream. When it receives the near real-time data in the payment data stream, it classifies the data according to each payment channel, that is, it determines the transaction routing channel corresponding to the data of each transaction routing channel.

[0059] Furthermore, based on the second preset time period, the weighted response time of each transaction routing channel is calculated to obtain the data of the second target indicator corresponding to each transaction routing channel. Specifically, for each transaction routing channel, the highest and lowest 5% of response times in the recent period are removed, and the average of the remaining transaction response times is used as the weighted response time data of the current payment channel (i.e., the data of the second target indicator).

[0060] Furthermore, based on the data of each second target indicator, the channel status of each transaction routing channel is determined, and the data of the third target indicator corresponding to each transaction routing channel is obtained. Specifically, when the weighted response time of a transaction routing channel is greater than the response time threshold configured by the system, the real-time circuit breaker status of that transaction routing channel is determined to be closed (i.e., the data of the third target indicator), meaning the channel has been circuit-broken. When the weighted response time of a transaction routing channel is less than or equal to the response time threshold configured by the system, the real-time circuit breaker status of that transaction routing channel is determined to be open, meaning the channel has not been circuit-broken.

[0061] Optionally, when the above calculations (weighted response time, real-time circuit breaker status, and real-time pressure on the clearing account) are completed, the corresponding values ​​in the near real-time indicator storage will be refreshed.

[0062] It should be noted that, in the above process, in addition to processing the transaction data of the payment system in near real-time, it is also possible to access the data flow of other related systems such as the core accounting system, to perform cross-system indicator calculations in more dimensions, and to enrich the judgment dimensions by using the data flow of other systems to assist in the calculation of related routing indicators, making the judgment results of the routing channel more accurate.

[0063] In one optional embodiment, during the process of determining the target transaction routing channel corresponding to the target transaction request from multiple first transaction routing channels based on target indicator data, firstly, based on third target indicator data, the multiple first transaction routing channels are filtered to obtain a set of first transaction routing channels. Then, based on the first target indicator data, the set of first transaction routing channels is filtered to obtain a set of second transaction routing channels. Finally, based on the second target indicator data, the set of second transaction routing channels is filtered to obtain the target transaction routing channel. Wherein, the transaction routing channels in the first transaction routing channel set are in an open state, the transaction processing volume of the first account corresponding to the transaction routing channel in the second transaction routing channel set is less than a preset threshold, and the target transaction routing channel is the transaction routing channel with the smallest weighted response time among the transaction routing channels in the second transaction routing channel set.

[0064] Optional, such as Figure 2As shown, after receiving the filtering results (i.e., multiple first transaction routing channels) from the traditional payment routing component, the near real-time routing component performs further filtering. Specifically, by querying the real-time circuit breaker status (i.e., the data of the third target indicator) of each payment channel in the business indicator support channel list (i.e., the first data table) in the near real-time indicator storage, payment channels with a real-time circuit breaker status of "closed" (i.e., the channel has been circuit-broken) are removed from the business indicator support channel list, leaving payment channels with a real-time circuit breaker status of "open" (i.e., the channel has not been circuit-broken) as the first transaction routing channel set.

[0065] Furthermore, query the real-time pressure values ​​of the clearing accounts of each payment channel in the first transaction routing channel set in the near real-time indicator storage (i.e., the data of the first target indicator), remove payment channels whose real-time pressure of the clearing account is greater than or equal to the account pressure threshold configured by the system, and leave the payment channels whose real-time pressure of the clearing account is less than the account pressure threshold configured by the system as the second transaction routing channel set.

[0066] Furthermore, the weighted response time values ​​of each payment channel in the second transaction routing channel set in the near real-time indicator storage (i.e., the data of the second target indicator) are queried, and the channel with the smallest value is selected as the routing channel result (i.e., the target transaction routing channel).

[0067] It should be noted that in the above process, dynamic determination of the target transaction routing channel was achieved. Near real-time data indicators were used as the determination indicators for the transaction routing channel, which improved the efficiency of transaction routing channel determination and increased the accuracy of determining the transaction routing channel.

[0068] In one optional embodiment, during the process of receiving a target transaction request and generating a first data table based on the target transaction request, the target transaction request is first received and multiple transaction routing channels are obtained. Then, based on the target institution information contained in the target transaction request, the multiple transaction routing channels are filtered to obtain a third set of transaction routing channels. Then, based on the transaction amount contained in the target transaction request, the third set of transaction routing channels is filtered to obtain a fourth set of transaction routing channels. Then, based on the transaction type information contained in the target transaction request, the fourth set of transaction routing channels is filtered to obtain a fifth set of transaction routing channels. Finally, the first data table is generated based on the fifth set of transaction routing channels.

[0069] Optional, such as Figure 2As shown, the process first involves preliminary screening using a traditional payment routing component. Specifically, the traditional payment routing component obtains multiple transaction routing channels (e.g., all payment channels currently connected to the system), matches the counterparty bank (i.e., the target institution) in the transaction with the list of banks supported by each channel, and retains the successfully matched payment channels as the third set of transaction routing channels.

[0070] Furthermore, the transaction amount in this transaction is matched with the limits supported by each payment channel in the third transaction routing channel set, and the payment channels that are successfully matched are retained as the fourth transaction routing channel set.

[0071] Furthermore, the transaction type in this transaction is matched with the transaction types supported by each payment channel in the fourth transaction routing channel set, and the successfully matched payment channels are retained as the fifth transaction routing channel set. Based on the fifth transaction routing channel set, a list of channels supported by business indicators (i.e., the first data table) is generated.

[0072] It should be noted that the above process enables the initial screening of transaction routing channels, providing a data foundation for further screening of the subsequent near real-time routing components.

[0073] Therefore, the technical solution of this invention achieves the goal of enriching the judgment dimensions of transaction routing channels with near real-time data and dynamically judging transaction routing channels, thereby improving the accuracy of determining transaction routing channels and solving the technical problem of poor accuracy in determining transaction routing channels by using fixed rules in the prior art.

[0074] Example 2

[0075] According to an embodiment of the present invention, an embodiment of a transaction routing channel determination device is provided, wherein, Figure 6 This is a schematic diagram of an optional transaction routing channel determination device according to an embodiment of the present invention, such as... Figure 6 As shown, the device includes: a processing module 601, configured to receive a target transaction request and generate a first data table based on the target transaction request, wherein the first data table includes at least data information of multiple first transaction routing channels; an acquisition module 602, configured to acquire data of target indicators corresponding to the multiple first transaction routing channels, wherein the target indicators are used to evaluate the quality of the multiple first transaction routing channels, and the data of the target indicators are calculated based on the first transaction data generated from the previous transaction request; and a determination module 603, configured to determine the target transaction routing channel corresponding to the target transaction request from the multiple first transaction routing channels based on the data of the target indicators.

[0076] It should be noted that the above-mentioned processing module 601, acquisition module 602 and determination module 603 correspond to steps S101 to S103 in the above embodiments. The three modules and the corresponding steps implement the same examples and application scenarios, but are not limited to the content disclosed in the above embodiment 1.

[0077] Optionally, the acquisition module includes: a first processing module, used to generate first transaction data and generate a first data stream based on the first transaction data after the previous transaction request has been processed; a first acquisition module, used to acquire second transaction data and generate a second data stream based on the second transaction data, wherein the second transaction data is the data of the transaction routing channel corresponding to the previous transaction request; and a first calculation module, used to calculate the target indicator data based on the first data stream and the second data stream.

[0078] Optionally, the first processing module includes: a second acquisition module, used to acquire historical transaction data of the first account corresponding to multiple transaction routing channels, wherein the transaction routing channel and the first account are in one-to-one correspondence; and a second processing module, used to generate a first data stream based on the historical transaction data and the first transaction data of each first account.

[0079] Optionally, the first acquisition module includes: a third acquisition module for acquiring historical data from multiple transaction routing channels; and a third processing module for generating a second data stream based on the historical data and the second transaction data.

[0080] Optionally, the target indicators include at least one of the following: a first target indicator, a second target indicator, and a third target indicator. The first calculation module includes: a first determining module, used to determine the first account corresponding to each transaction data in the first data stream; a second calculation module, used to calculate the transaction processing volume of each first account based on a first preset time period to obtain the data of the first target indicator corresponding to each transaction routing channel; a second determining module, used to determine the transaction routing channel corresponding to the data of each transaction routing channel in the second data stream; a third calculation module, used to calculate the weighted response time of each transaction routing channel based on the second preset time period to obtain the data of the second target indicator corresponding to each transaction routing channel; and a third determining module, used to determine the channel status of each transaction routing channel based on the data of each second target indicator to obtain the data of the third target indicator corresponding to each transaction routing channel, wherein the channel status includes one of the following: open state and closed state.

[0081] Optionally, the determining module includes: a fourth determining module, used to filter multiple first transaction routing channels based on the data of the third target indicator to obtain a first transaction routing channel set, wherein the channel status of the transaction routing channels in the first transaction routing channel set is open; a fifth determining module, used to filter the first transaction routing channel set based on the data of the first target indicator to obtain a second transaction routing channel set, wherein the transaction processing volume of the first account corresponding to the transaction routing channel in the second transaction routing channel set is less than a preset threshold; and a sixth determining module, used to filter the second transaction routing channel set based on the data of the second target indicator to obtain a target transaction routing channel, wherein the target transaction routing channel is the transaction routing channel with the smallest weighted response time among the transaction routing channels in the second transaction routing channel set.

[0082] Optionally, the processing module includes: a receiving module for receiving a target transaction request and obtaining multiple transaction routing channels; a fourth processing module for filtering the multiple transaction routing channels based on the target institution information contained in the target transaction request to obtain a third set of transaction routing channels; a fifth processing module for filtering the third set of transaction routing channels based on the transaction amount contained in the target transaction request to obtain a fourth set of transaction routing channels; a sixth processing module for filtering the fourth set of transaction routing channels based on the transaction type information contained in the target transaction request to obtain a fifth set of transaction routing channels; and a seventh processing module for generating a first data table based on the fifth set of transaction routing channels.

[0083] Example 3

[0084] According to another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer-readable storage medium, and the computer program is configured to execute the above-described method for determining the transaction routing channel when it is run.

[0085] Example 4

[0086] According to another aspect of the present invention, an electronic device is also provided, wherein, Figure 7 This is a schematic diagram of an optional electronic device according to an embodiment of the present invention, such as... Figure 7 As shown, the electronic device includes one or more processors; and a memory for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the program for running, wherein the program is configured to execute the aforementioned method for determining the transaction routing channel during runtime.

[0087] The devices mentioned in this article can be servers, PCs, tablets, mobile phones, etc.

[0088] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0089] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0090] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0091] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0092] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0093] If the integrated unit is implemented as 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. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0094] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for determining a transaction routing channel, characterized in that, include: Receive a target transaction request and generate a first data table based on the target transaction request, wherein the first data table includes at least data information of multiple first transaction routing channels; Obtain data of target indicators corresponding to the plurality of first transaction routing channels, wherein the target indicators are used to evaluate the quality of the plurality of first transaction routing channels, and the data of the target indicators are calculated based on the first transaction data generated from the previous transaction request; Based on the data of the target indicator, the target transaction routing channel corresponding to the target transaction request is determined from the plurality of first transaction routing channels; The process of obtaining target indicator data corresponding to the multiple first transaction routing channels includes: generating first transaction data upon completion of the previous transaction request processing, and generating a first data stream based on the first transaction data, wherein the first data stream is a core data stream including transaction records of clearing accounts associated with multiple transaction routing channels; obtaining second transaction data, and generating a second data stream based on the second transaction data, wherein the second transaction data is data of the transaction routing channel corresponding to the previous transaction request, and the second data stream is a payment data stream including transaction records of multiple transaction routing channels; and calculating the target indicator data based on the first data stream and the second data stream. The target indicators include at least one of the following: a first target indicator, a second target indicator, and a third target indicator. The first target indicator is used to characterize the transaction processing volume of the clearing account associated with each transaction routing channel calculated based on a first preset time period. The second target indicator is used to characterize the weighted response time of each transaction routing channel in the second data stream calculated based on a second preset time period. The third target indicator is used to characterize the channel status of each transaction routing channel determined based on the data of the second target indicator. The process of determining the target transaction routing channel corresponding to the target transaction request from the plurality of first transaction routing channels based on the data of the target indicator includes: filtering the plurality of first transaction routing channels based on the data of the third target indicator to obtain a first transaction routing channel set, wherein the channel status of the transaction routing channels in the first transaction routing channel set is open; filtering the first transaction routing channel set based on the data of the first target indicator to obtain a second transaction routing channel set, wherein the transaction processing volume of the first account corresponding to the transaction routing channel in the second transaction routing channel set is less than a preset threshold; and filtering the second transaction routing channel set based on the data of the second target indicator to obtain the target transaction routing channel, wherein the target transaction routing channel is the transaction routing channel with the smallest weighted response time among the transaction routing channels in the second transaction routing channel set.

2. The method according to claim 1, characterized in that, Based on the first transaction data, a first data stream is generated, including: Obtain historical transaction data of the first account corresponding to multiple transaction routing channels, wherein the transaction routing channels and the first accounts are in one-to-one correspondence; The first data stream is generated based on the historical transaction data of each first account and the first transaction data.

3. The method according to claim 2, characterized in that, Based on the second transaction data, a second data stream is generated, including: Obtain historical data of the multiple transaction routing channels; The second data stream is generated based on the historical data and the second transaction data.

4. The method according to claim 3, characterized in that, The data for calculating the target indicator based on the first data stream and the second data stream includes: Determine the first account corresponding to each transaction data in the first data stream; Based on the first preset time period, the transaction processing volume of each first account is calculated to obtain the data of the first target indicator corresponding to each transaction routing channel; Determine the transaction routing channel corresponding to the data in each transaction routing channel of the second data stream; Based on the second preset time period, the weighted response time of each transaction routing channel is calculated to obtain the data of the second target indicator corresponding to each transaction routing channel; Based on the data of each of the second target indicators, the channel status of each transaction routing channel is determined, and the data of the third target indicator corresponding to each transaction routing channel is obtained, wherein the channel status includes one of the following: open state and closed state.

5. The method according to claim 1, characterized in that, Receive a target transaction request and generate a first data table based on the target transaction request, including: Receive the target transaction request and obtain multiple transaction routing channels; Based on the target institution information contained in the target transaction request, the multiple transaction routing channels are filtered to obtain a third transaction routing channel set; Based on the transaction amount contained in the target transaction request, the third transaction routing channel set is filtered to obtain the fourth transaction routing channel set; Based on the transaction type information contained in the target transaction request, the fourth transaction routing channel set is filtered to obtain the fifth transaction routing channel set; The first data table is generated based on the fifth set of transaction routing channels.

6. A device for determining a transaction routing channel, characterized in that, include: A processing module is configured to receive a target transaction request and generate a first data table based on the target transaction request, wherein the first data table includes at least data information of multiple first transaction routing channels; The acquisition module is used to acquire data of target indicators corresponding to the plurality of first transaction routing channels, wherein the target indicators are used to evaluate the quality of the plurality of first transaction routing channels, and the data of the target indicators are calculated based on the first transaction data generated by the previous transaction request; The determination module is used to determine the target transaction routing channel corresponding to the target transaction request from the plurality of first transaction routing channels based on the data of the target indicator; The acquisition module includes: a first processing module, configured to generate the first transaction data and generate a first data stream based on the first transaction data after the previous transaction request has been processed, wherein the first data stream is a core data stream including transaction records of clearing accounts associated with multiple transaction routing channels; a first acquisition module, configured to acquire second transaction data and generate a second data stream based on the second transaction data, wherein the second transaction data is data of the transaction routing channel corresponding to the previous transaction request, and the second data stream is a payment data stream including transaction records of multiple transaction routing channels; and a first calculation module, configured to calculate the target indicator data based on the first data stream and the second data stream. The target indicators include at least one of the following: a first target indicator, a second target indicator, and a third target indicator. The first target indicator is used to characterize the transaction processing volume of the clearing account associated with each transaction routing channel calculated based on a first preset time period. The second target indicator is used to characterize the weighted response time of each transaction routing channel in the second data stream calculated based on a second preset time period. The third target indicator is used to characterize the channel status of each transaction routing channel determined based on the data of the second target indicator. The determining module includes: a fourth determining module, used to filter the plurality of first transaction routing channels based on the data of the third target indicator to obtain a first transaction routing channel set, wherein the channel status of the transaction routing channels in the first transaction routing channel set is open; a fifth determining module, used to filter the first transaction routing channel set based on the data of the first target indicator to obtain a second transaction routing channel set, wherein the transaction processing volume of the first account corresponding to the transaction routing channel in the second transaction routing channel set is less than a preset threshold; and a sixth determining module, used to filter the second transaction routing channel set based on the data of the second target indicator to obtain the target transaction routing channel, wherein the target transaction routing channel is the transaction routing channel with the smallest weighted response time among the transaction routing channels in the second transaction routing channel set.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the method for determining the transaction routing channel as described in any one of claims 1 to 5 when it is run.

8. An electronic device, characterized in that, The electronic device includes one or more processors; A memory for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to be configured to run the programs, wherein the programs are configured to execute the method for determining the transaction routing channel as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • A method and apparatus for determining a payment channel

    CN109447610A

  • Payment data transmission control method and device, electronic equipment and storage medium

    CN110942298A