Acquiring settlement matching rate determination methods, devices, equipment, media and procedures products
By obtaining transaction information from multiple merchant registration codes corresponding to a merchant's unique identifier, and calculating the total transaction amount to determine the acquiring settlement matching rate, the problem of the clearing system being unable to accurately monitor the overall fund settlement business and transaction status of merchants is solved, achieving a more accurate monitoring effect.
Patent Information
- Application Number
- CN202510639455.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-16
- Publication Date
- 2026-11-17
AI Technical Summary
The clearing system cannot accurately monitor the matching of a merchant's overall fund settlement business and transaction status because a merchant can register multiple merchant registration codes. As a result, the acquiring settlement matching rate calculated separately for each of the merchant registration codes cannot accurately reflect the merchant's overall fund settlement business and transaction status.
By obtaining transaction information from multiple merchant registration codes corresponding to a merchant's unique identifier, the total transaction amount of acquiring and settlement transaction information is calculated separately, and the merchant's acquiring and settlement matching rate is determined based on these amounts.
Accurate monitoring of the matching of merchants' overall fund settlement business and transaction status improves the accuracy of the clearing system's monitoring of merchants' fund settlement business and transaction status.
Smart Images

Figure CN123118087A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of financial technology, and in particular to a method, apparatus, equipment, medium and program product for determining the acquiring settlement matching rate. Background Technology
[0002] During a business transaction, the payment institution's payment system needs to send a request message to the clearing institution's clearing system. The request message includes information such as the payment institution's financial institution code, merchant registration code, and transaction amount. The request message includes an acquiring request message and a settlement request message.
[0003] The clearing system can, for any merchant registration code, calculate the total transaction amount of acquiring request messages corresponding to the financial institution code of a designated payment institution, and the total transaction amount of settlement request messages corresponding to the merchant registration code. Furthermore, based on the total transaction amounts of the acquiring and settlement request messages, the system calculates the acquiring and settlement matching rate of the merchant corresponding to the merchant registration code at the designated payment institution according to the matching rate formula, in order to monitor the matching of the merchant's fund settlement business and transaction status.
[0004] Since a merchant can register multiple merchant registration codes, the payment system can make acquiring or settlement requests based on any one of the merchant registration codes. The acquiring and settlement matching rate calculated by the clearing system for each of the merchant's multiple merchant registration codes cannot accurately represent the matching of the merchant's overall fund settlement business and transaction status. Therefore, the clearing system cannot accurately monitor the matching of the merchant's overall fund settlement business and transaction status. Summary of the Invention
[0005] This application provides a method, apparatus, equipment, medium, and program product for determining the acquiring settlement matching rate, in order to solve the problem that the clearing system cannot accurately monitor the matching of the overall fund settlement business and transaction status of merchants.
[0006] In a first aspect, this application provides a method for determining the acquiring settlement matching rate, applied to a first clearing system, comprising:
[0007] Obtain transaction information of merchants corresponding to the first payment system. The transaction information includes transaction information of at least one merchant registration code corresponding to the merchant's unique identifier. The transaction information includes acquiring transaction information and settlement transaction information.
[0008] The total transaction amount of the acquiring transaction information of the at least one merchant registration code is determined as the total acquiring amount of the merchant in the first payment system, and the total transaction amount of the settlement transaction information of the at least one merchant registration code is determined as the total settlement amount of the merchant in the first payment system.
[0009] Based on the total amount of acquiring transactions and the total amount of settlement, the acquiring and settlement matching rate of the merchant corresponding to the first clearing system in the first payment system is determined.
[0010] Optionally, before obtaining the transaction information of the merchant corresponding to the first payment system, the method further includes:
[0011] Obtain the transaction request from the first payment system, and determine the merchant registration code in the transaction request and the unique identifier of the merchant corresponding to the merchant registration code;
[0012] The code of the first payment system, the business type code, the transaction amount, and the merchant's unique identifier in the transaction request are stored as the transaction information. The business type code is used to identify whether the transaction information belongs to acquiring transaction information or settlement transaction information.
[0013] Optionally, before obtaining the transaction information of the merchant corresponding to the first payment system, the method further includes:
[0014] Obtain the transaction request from the first payment system, and store the code of the first payment system, the business type code, the transaction amount, and the merchant registration code in the transaction request as initial transaction information. The business type code is used to identify whether the initial transaction information belongs to acquiring transaction information or settlement transaction information.
[0015] The acquisition of transaction information of each merchant corresponding to the first payment system includes:
[0016] The at least one merchant registration code corresponding to the merchant's unique identifier is determined, and the initial transaction information including any one of the at least one merchant registration codes is determined as the transaction information.
[0017] Optionally, the transaction information includes the receiving account, and determining the merchant's acquiring and settlement matching rate in the first payment system based on the total acquiring amount and the total settlement amount includes:
[0018] The ratio of the minimum value between the total amount of acquiring transactions and the total amount of settlement for the merchant to the maximum value between the total amount of acquiring transactions and the total amount of settlement is determined as the acquiring and settlement matching rate of the merchant in the first payment system corresponding to the first clearing system. The total amount of settlement for the merchant is the total amount of transaction information in the settlement transaction information where the receiving account is a pre-stored registered account.
[0019] Optionally, it also includes:
[0020] The ratio of the sum of the minimum of the total acquiring amount and the total settlement amount of each merchant in the multiple merchants corresponding to the first payment system to the sum of the maximum of the total acquiring amount and the total settlement amount of each merchant in the multiple merchants is determined as the acquiring and settlement matching rate of the first payment institution.
[0021] Optionally, obtaining the transaction information of the merchant corresponding to the first payment system further includes:
[0022] Obtain transaction information of the merchant corresponding to the first payment system within a preset time range.
[0023] Optionally, the method further includes:
[0024] Send a request for assistance to the second clearing system. The request for assistance includes the unique identifier of the first payment system, the unique identifier of the merchant, and the preset time range.
[0025] Receive the second total acquiring amount and the second total settlement amount sent by the second clearing system;
[0026] The merchant's acquiring and settlement matching rate in the first payment system is determined based on the sum of the first total acquiring amount and the second total acquiring amount, and the sum of the first total settlement amount and the second total settlement amount.
[0027] Optionally, sending a request for assistance to the second clearing system includes:
[0028] The investigation request is encrypted using a one-way encryption algorithm and then sent to the second clearing system.
[0029] Secondly, this application provides an acquiring settlement matching rate determination device, comprising:
[0030] The acquisition module is used to acquire the transaction information of the merchant corresponding to the first payment system. The transaction information includes the transaction information of at least one merchant registration code corresponding to the unique identifier of the merchant. The transaction information includes acquiring transaction information and settlement transaction information.
[0031] The determining module is used to determine the total transaction amount of the acquiring transaction information of the at least one merchant registration code as the total acquiring amount of the merchant in the first payment system, and to determine the total transaction amount of the settlement transaction information of the at least one merchant registration code as the total settlement amount of the merchant in the first payment system.
[0032] The matching module is used to determine the merchant's acquiring and settlement matching rate in the first payment system based on the total acquiring amount and the total settlement amount.
[0033] Optionally, the acquiring settlement matching rate determination device may further include a storage module;
[0034] Optionally, before obtaining the transaction information of the merchant corresponding to the first payment system, the storage module is specifically used to: obtain the transaction request of the first payment system; determine the merchant registration code and the unique identifier of the merchant corresponding to the merchant registration code in the transaction request; and store the code of the first payment system, the business type code, the transaction amount and the unique identifier of the merchant in the transaction request as the transaction information, wherein the business type code is used to identify whether the transaction information belongs to acquiring transaction information or settlement transaction information.
[0035] Optionally, before obtaining the transaction information of the merchant corresponding to the first payment system, the storage module is specifically used to obtain the transaction request of the first payment system, and store the code of the first payment system, the business type code, the transaction amount and the merchant registration code in the transaction request as initial transaction information. The business type code is used to identify whether the initial transaction information belongs to acquiring transaction information or settlement transaction information.
[0036] Accordingly, the acquisition module is specifically used to determine the at least one merchant registration code corresponding to the merchant's unique identifier, and to determine the initial transaction information including any one of the at least one merchant registration codes as the transaction information.
[0037] Optionally, the transaction information includes a receiving account. The matching module is specifically used to determine the ratio of the minimum value of the total acquiring amount and the total settlement amount of the merchant to the maximum value of the total acquiring amount and the total settlement amount as the acquiring settlement matching rate of the merchant in the first payment system corresponding to the first clearing system. The total settlement amount is the total amount of the transaction information of the receiving account in the settlement transaction information that is a pre-stored registered account.
[0038] Optionally, the matching module is further configured to determine the acquiring and settlement matching rate of the first payment institution as the ratio of the sum of the minimum value of the total acquiring amount and the total settlement amount of each merchant among the multiple merchants corresponding to the first payment system to the sum of the maximum value of the total acquiring amount and the total settlement amount of each merchant among the multiple merchants.
[0039] Optionally, the acquisition module is specifically used to acquire transaction information of merchants corresponding to the first payment system within a preset time range.
[0040] Optionally, the acquiring settlement matching rate determination device may further include a communication module;
[0041] Optionally, the communication module is specifically used to: send a request for assistance to the second clearing system, the request including the unique identifier of the first payment system, the unique identifier of the merchant, and the preset time range; and receive the second total acquiring amount and the second total settlement amount sent by the second clearing system.
[0042] Accordingly, the matching module is further configured to determine the merchant's acquiring and settlement matching rate in the first payment system based on the sum of the first total acquiring amount and the second total acquiring amount, and the sum of the first total settlement amount and the second total settlement amount.
[0043] Optionally, the communication module is further configured to encrypt the investigation request based on a one-way encryption algorithm and send the encrypted investigation request to the second clearing system.
[0044] Thirdly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0045] The memory stores computer-executed instructions;
[0046] The processor executes computer execution instructions stored in the memory to implement the method described in the first aspect above and various possible designs of the first aspect.
[0047] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the method described in the first aspect and various possible designs of the first aspect.
[0048] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method described in the first aspect and various possible designs of the first aspect.
[0049] The acquiring and settlement matching rate determination method, apparatus, equipment, medium, and program products provided in this application allow a first clearing system to obtain transaction information of merchants corresponding to a first payment system. This transaction information includes transaction information for at least one merchant registration code corresponding to the merchant's unique identifier. The transaction information includes acquiring transaction information and settlement transaction information. The total transaction amount of the acquiring transaction information for at least one merchant registration code is determined as the merchant's total acquiring amount in the first payment system, and the total transaction amount of the settlement transaction information for at least one merchant registration code is determined as the merchant's total settlement amount in the first payment system. Based on the total acquiring amount and the total settlement amount, the acquiring and settlement matching rate of the merchant corresponding to the first clearing system in the first payment system is determined. In this method, the merchant's unique identifier corresponds to at least one merchant registration code. When a merchant has multiple merchant registration codes, these codes can be obtained based on the merchant's unique identifier. The total transaction amount of the acquiring transaction information and the total transaction amount of the settlement transaction information for each merchant registration code are then obtained to determine the acquiring and settlement matching rate of the merchant corresponding to the unique identifier, thereby accurately monitoring the matching of the merchant's overall fund settlement business and transaction status. Attached Figure Description
[0050] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0051] Figure 1 A flowchart illustrating a method for determining the acquiring settlement matching rate provided in an embodiment of this application;
[0052] Figure 2 A schematic diagram of a transaction request process provided for an embodiment of this application;
[0053] Figure 3 A flowchart illustrating a method for determining the acquiring settlement matching rate through a request for assistance, provided for an embodiment of this application;
[0054] Figure 4 This is a schematic diagram of the structure of an acquiring settlement matching rate determination device provided in an embodiment of this application;
[0055] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0056] The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to specific embodiments. Detailed Implementation
[0057] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0058] Since a merchant can register multiple merchant registration codes, the payment system can make acquiring or settlement requests based on any of these codes. For example, an acquiring request can be made using one merchant registration code, while a settlement request can be made using another. Therefore, the acquiring and settlement matching rates calculated separately for a merchant's multiple merchant registration codes by the clearing system cannot accurately represent the matching of the merchant's overall fund settlement business and transaction status. Consequently, the clearing system cannot accurately monitor the matching of a merchant's overall fund settlement business and transaction status.
[0059] In view of this, this application proposes a method for determining the acquiring and settlement matching rate. Each merchant is assigned a unique identifier, which corresponds to at least one merchant registration code. The clearing system can obtain the total transaction amount of acquiring transactions and the total transaction amount of settlement transactions for each of the at least one merchant registration code corresponding to the merchant's unique identifier. Furthermore, based on the total transaction amount of acquiring transactions and the total transaction amount of settlement transactions, the acquiring and settlement matching rate of the merchant corresponding to the unique identifier is determined. In this method, the merchant's unique identifier corresponds to at least one merchant registration code. When a merchant has multiple merchant registration codes, the system can obtain all of the merchant's multiple registration codes based on the unique identifier. Then, based on the transaction information of each merchant registration code, the system can obtain the total transaction amount of acquiring transactions and the total transaction amount of settlement transactions, and determine the acquiring and settlement matching rate of the merchant corresponding to the unique identifier. This allows for accurate monitoring of the matching of the merchant's overall fund settlement business and transaction status.
[0060] It should be understood that the acquiring settlement matching rate determination method of this application embodiment can be used in any scenario for determining the acquiring settlement matching rate. The executing entity of this application embodiment can be any device used for clearing, and the device is not limited to a specific implementation method, and can be implemented by software and / or hardware. Specifically, the device can be, for example, a system, electronic device, or processor. The following description takes a first clearing system as the executing entity.
[0061] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0062] Figure 1 This is a flowchart illustrating a method for determining the acquiring and settlement matching rate, provided as an embodiment of this application. Figure 1 As shown, the method for determining the acquiring settlement matching rate may include, for example, the following steps:
[0063] S101. Obtain the transaction information of the merchant corresponding to the first payment system. The transaction information includes the transaction information of at least one merchant registration code corresponding to the merchant's unique identifier.
[0064] Transaction information includes acquiring transaction information and settlement transaction information. Acquiring transaction refers to the process where a merchant accepts a consumer's payment request through point-of-sale (POS) devices, barcode scanners, or other payment methods, with the funds temporarily held by the acquiring institution. Settlement transaction is the process of transferring the collected funds to the merchant's account based on the acquiring transaction. Acquiring transaction information may include, for example, the consumer's payment account and the transaction amount, while settlement transaction information may include, for example, the receiving account number and the transaction amount.
[0065] The primary payment system is the system that provides payment services, such as Alipay and WeChat Pay. The primary clearing system is the system that performs clearing and settlement.
[0066] Transaction information refers to transaction-related information transmitted by the payment system. For example, transaction information can be obtained from transaction messages transmitted from the payment system to the clearing system. These transaction messages may include information such as the payment institution's financial institution code, the merchant's merchant registration code, and the transaction amount.
[0067] The transaction information corresponding to the first payment system is the information of transactions initiated by the first payment institution. Taking the acquisition of transaction information from the transaction messages transmitted from the payment system to the clearing system as an example, the first clearing system can select the transaction message whose financial institution code is the code of the first payment system from the transaction messages, and determine the information obtained from the transaction message as the transaction information corresponding to the first payment system.
[0068] A merchant's unique identifier can be used to distinguish different merchants, with each merchant corresponding to a unique identifier. For example, each merchant's unique identifier could be a unique number assigned to each merchant. For instance, a merchant's registration document number could be used as the merchant's unique identifier.
[0069] A merchant registration code is a merchant's identifier. Each merchant can register multiple merchant registration codes. Therefore, each merchant's unique identifier corresponds to at least one merchant registration code.
[0070] For example, the first clearing system can store some or all of the information in the request message sent by the receiving payment system as transaction information. Taking any merchant as an example, the first clearing system can determine the transaction information of the merchant registration code corresponding to the first payment system's code and the merchant registration code, based on the stored transaction information, according to the financial institution code and the merchant registration code.
[0071] The merchant registration code corresponding to the merchant's unique identifier can be obtained based on the mapping relationship between the merchant's unique identifier and the merchant registration code stored in the first clearing system. Transaction information can be stored in any way; for example, transaction information can be stored in a file system, or it can be stored in a database accessible to the first clearing system.
[0072] S102. The total transaction amount of acquiring transaction information of at least one merchant registration code is determined as the merchant's total acquiring amount in the first payment system, and the total transaction amount of settlement transaction information of at least one merchant registration code is determined as the merchant's total settlement amount in the first payment system.
[0073] The transaction information includes acquiring transaction information and settlement transaction information. Each transaction information includes a transaction amount. For example, at least one acquiring transaction information is obtained from the transaction information of the merchant corresponding to the first payment system, and the total transaction amount of the at least one acquiring transaction information is determined as the merchant's total acquiring amount in the first payment system. Similarly, at least one settlement transaction information is obtained from the transaction information of the merchant corresponding to the first payment system. Each settlement transaction information includes a transaction amount, and the total transaction amount of the at least one settlement transaction information is determined as the merchant's total settlement amount in the first payment system.
[0074] For example, the transaction information includes a business type code, which can be divided into quick, gateway, payment, and barcode based on the payment process. The first clearing institution can determine at least one acquiring transaction information from the transaction information of the merchant corresponding to the first payment system, where the business type code belongs to the deposit business type code, and at least one settlement transaction information from the transaction information where the business type code belongs to the withdrawal business type code.
[0075] S103. Based on the total acquiring amount and the total settlement amount, determine the acquiring and settlement matching rate of the merchant corresponding to the first clearing system in the first payment system.
[0076] One possible approach is for the first clearing system to determine the ratio of the total acquiring amount to the total settlement amount as the acquiring and settlement matching rate of the merchant in the first payment system.
[0077] One possible approach is for the first clearing system to identify settlement transaction information from at least one merchant registration code where the receiving account is a registered receiving account. The system then determines the total transaction amount of this type of settlement transaction information as the registered total settlement amount. Finally, the system determines the ratio of the minimum of the acquiring total amount and the registered total settlement amount to the total settlement amount as the acquiring settlement matching rate of the merchant in the first payment system.
[0078] In addition to obtaining the total settlement amount, the ratio of the minimum of the total acquiring amount and the total settlement amount to the maximum of the total acquiring amount and the total settlement amount can be determined as the acquiring and settlement matching rate of the merchant in the first payment system corresponding to the first clearing system.
[0079] The method for determining the acquiring and settlement matching rate in this application involves the first clearing system obtaining transaction information from merchants corresponding to the first payment system. This transaction information includes transaction information for at least one merchant registration code corresponding to the merchant's unique identifier. The transaction information includes acquiring transaction information and settlement transaction information. The total transaction amount of the acquiring transaction information for at least one merchant registration code is determined as the merchant's total acquiring amount in the first payment system, and the total transaction amount of the settlement transaction information for at least one merchant registration code is determined as the merchant's total settlement amount in the first payment system. Based on the total acquiring amount and the total settlement amount, the acquiring and settlement matching rate of the merchant corresponding to the first clearing system in the first payment system is determined. In this method, the merchant's unique identifier corresponds to at least one merchant registration code. If a merchant has multiple merchant registration codes, these codes can be obtained based on the merchant's unique identifier. The total transaction amount of the acquiring transaction information and the total transaction amount of the settlement transaction information for each merchant registration code are then obtained to determine the acquiring and settlement matching rate of the merchant corresponding to the unique identifier. This allows for accurate monitoring of the matching of the merchant's overall fund settlement business and transaction status.
[0080] The following is a detailed explanation of how to obtain the transaction information of the merchant corresponding to the first payment system in the method for determining the acquiring and settlement matching rate provided in the embodiments of this application.
[0081] One possible approach is that, before obtaining the transaction information of the merchant corresponding to the first payment system, the first clearing system can also obtain the transaction request of the first payment system, determine the merchant registration code and the unique identifier of the merchant corresponding to the merchant registration code in the transaction request, and store the code of the first payment system, the business type code, the transaction amount and the unique identifier of the merchant in the transaction request as transaction information. The business type code is used to identify whether the transaction information belongs to acquiring transaction information or settlement transaction information.
[0082] In this method, the first clearing system can obtain the transaction information of each merchant corresponding to the first payment system from the stored transaction information, based on the merchant's unique identifier and the first payment system's code in the transaction information.
[0083] One possible approach is to obtain the transaction request from the first payment system before acquiring the transaction information of the merchant corresponding to the first payment system. The code of the first payment system, the business type code, the transaction amount, and the merchant registration code in the transaction request are stored as initial transaction information. The business type code is used to identify whether the initial transaction information belongs to acquiring transaction information or settlement transaction information.
[0084] Optionally, by obtaining the transaction information of each merchant corresponding to the first payment system, it is possible to determine at least one merchant registration code corresponding to the merchant's unique identifier, and to determine the initial transaction information including any one of the at least one merchant registration codes as the transaction information.
[0085] Figure 2 This is a schematic diagram illustrating a transaction request process provided in an embodiment of this application. Figure 2 As shown, exemplarily, an acquiring transaction specifically includes the following steps:
[0086] S201. The first payment system sends a transaction request to the first clearing system through a transaction message.
[0087] A transaction request can be either an acquiring transaction request or a settlement transaction request. The transaction message corresponding to an acquiring transaction request is called an acquiring transaction message, and the transaction message corresponding to a settlement transaction request is called a settlement transaction message.
[0088] The acquiring transaction message may include the code of the first payment system, the merchant registration code, the business type code, the transaction account institution code, the account number to be deducted, and the transaction amount.
[0089] The settlement transaction message may include the code of the first payment system, the merchant registration code, the business type code, the transaction account institution code, the receiving account number, and the transaction amount.
[0090] The business type code can be any of the codes corresponding to payment methods such as express, gateway, payment, and barcode, or a code representing the transaction type, such as code 100001 for physical goods rental or purchase. The code of the first payment system can be the financial institution code of the first payment system. The transaction account institution code in the acquiring transaction message is used to indicate the account institution to which the deducted account belongs, and the transaction account institution code in the settlement transaction message is used to indicate the account institution to which the receiving account belongs.
[0091] S202, The first clearing system sends transaction messages to the account institution.
[0092] The first clearing system receives transaction messages sent by the first payment system, verifies the transaction messages, and forwards them to the account institution indicated by the transaction account institution code in the transaction message.
[0093] S203. The account institution sends the processing result to the first clearing system.
[0094] The account institution deducts funds from the account number to be deducted based on the acquiring transaction message and reports the processing result to the first clearing system. Alternatively, the account institution processes the payment into the account number based on the settlement transaction message and reports the processing result to the first clearing system.
[0095] In the first possible implementation, when the first clearing system receives the processing result from the account institution, if the result indicates successful deduction or crediting, then based on the merchant registration code in the transaction message, the unique identifier of the merchant corresponding to the merchant registration code in the transaction message is determined from the stored relationship between the merchant's unique identifier and the merchant registration code. Furthermore, the first clearing system stores the merchant's unique identifier, as well as the code of the first payment system, the business type code, and the transaction amount in the transaction message, as transaction information.
[0096] In the second possible implementation, if the first clearing system receives the processing result sent by the account institution and the processing result indicates that the deduction or crediting was successful, the code of the first payment system, the business type code, the transaction amount, and the merchant registration code in the transaction request can be stored as initial transaction information.
[0097] S204. The first clearing system sends the processing result to the first payment system.
[0098] Optionally, in the first possible implementation described above, the first clearing system can obtain the transaction information of each merchant corresponding to the first payment system from the stored transaction information, based on the merchant's unique identifier and the code of the first payment system in the transaction information.
[0099] Optionally, in the second possible implementation described above, the first clearing system can determine at least one merchant registration code corresponding to the merchant's unique identifier from the relationship between the stored merchant's unique identifier and the merchant registration code, and determine the initial transaction information including any one of the at least one merchant registration codes as transaction information.
[0100] After obtaining the transaction information of the merchant corresponding to the first payment system, the first clearing system can determine whether the transaction information is acquiring transaction information or settlement transaction information based on the business type code.
[0101] Optionally, the business category codes include codes corresponding to payment methods such as express, gateway, payment, and barcode, as well as codes representing transaction types. For example, codes based on payment methods include: 0001 (express), 0002 (gateway), 0003 (payment), and 0004 (barcode). Codes based on transaction types include: 100001 physical goods rental / purchase, 100002 financial product transactions, etc.
[0102] Optionally, the first clearing system determines whether the transaction information is acquiring transaction information or settlement transaction information based on the business type code. For example, among the codes representing transaction types, 0001 (Quick), 0002 (Gateway), and 0004 (Barcode) belong to deposits, and 0003 (Payment) belongs to withdrawals. Among the codes classified by payment method, codes belonging to acquiring transaction methods include: 100001 Physical Goods Rental and Purchase, 100002 Financial Product Transactions, etc., and codes belonging to settlement transaction methods include: 100002 Financial Product Transactions, etc.
[0103] The first clearing system identifies transaction information with business type codes, including codes for deposits and codes for acquiring transactions, as acquiring transaction information, and transaction information with business type codes, including codes for withdrawals and codes for settlement transactions, as settlement transaction information.
[0104] Furthermore, the first clearing system determines the total transaction amount in the acquiring transaction information as the merchant's total acquiring amount in the first payment system, and determines the total transaction amount in the settlement transaction information as the merchant's total settlement amount in the first payment system.
[0105] Optionally, the transaction information includes the receiving account. The first clearing system determines the merchant's acquiring and settlement matching rate in the first payment system based on the total acquiring amount and the total settlement amount. The ratio of the minimum value between the total acquiring amount and the merchant's registered settlement amount to the maximum value between the total acquiring amount and the total settlement amount can be used as the merchant's acquiring and settlement matching rate in the first payment system. The registered settlement amount is the total amount of the transaction information where the receiving account is a pre-stored registered account in the settlement transaction information. As shown in equation (1), the merchant's acquiring and settlement matching rate P1 in the first payment system can be expressed as:
[0106] Equation (1)
[0107] Optionally, the first clearing system can monitor the matching of a merchant's overall fund settlement business and transaction status based on the acquiring and settlement matching rate of each merchant in the first payment system. For example, if the acquiring and settlement matching rate of a merchant in the first clearing system is less than a first threshold, a mismatch between the merchant's overall fund settlement business and transaction status is determined.
[0108] Optionally, the first clearing system can determine the acquiring and settlement matching rate of the first payment institution by the ratio of the minimum sum of the total acquiring amount and the total settlement amount of each merchant among the multiple merchants corresponding to the first payment system to the maximum sum of the total acquiring amount and the total settlement amount of each merchant among the multiple merchants. As shown in equation (2), the acquiring and settlement matching rate P2 of the first payment institution can be expressed as:
[0109] Equation (2)
[0110] Optionally, the first clearing system can monitor the matching of fund settlement transactions and transaction details of multiple merchants transacting through the first payment institution based on the acquiring settlement matching rate of the first payment institution corresponding to the first clearing system. For example, if the acquiring settlement matching rate of a merchant corresponding to the first clearing system in the first payment system is less than a second threshold, a mismatch in fund settlement transactions and transaction details among multiple merchants transacting through the first payment institution is determined.
[0111] Optionally, the first clearing system can determine the acquiring and settlement matching rate of each merchant among multiple merchants corresponding to the first payment system in the first payment system. If the merchant's acquiring and settlement matching rate in the first payment system is greater than or equal to a third threshold, the merchant is determined to be a qualified merchant; if the merchant's acquiring and settlement matching rate in the first payment system is less than the third threshold, the merchant is determined to be a non-qualified merchant. Based on the number of qualified merchants, the matching status of fund settlement business and transaction status of multiple merchants conducting transactions through the first payment institution is determined. For example, if the proportion of qualified merchants is high, the matching status of fund settlement business and transaction status of multiple merchants conducting transactions through the first payment institution is determined; if the proportion of qualified merchants is low, the mismatch of fund settlement business and transaction status of multiple merchants conducting transactions through the first payment institution is determined.
[0112] Optionally, the first clearing system can obtain transaction information of merchants corresponding to the first payment system, and can also obtain transaction information of merchants corresponding to the first payment system within a preset time range.
[0113] For example, the first clearing system can periodically obtain transaction information of merchants corresponding to the first payment system. In this way, the first clearing system determines the time range of the current acquisition period according to the preset period duration, and obtains the transaction information of merchants corresponding to the first payment system within the determined time range.
[0114] For example, the first clearing system can respond to the user's settlement instruction, obtain the time range set in the user's settlement instruction, and further obtain the transaction information of the merchant corresponding to the first payment system within that time range.
[0115] Under this method, the first clearing system can obtain the matching rate of each merchant's acquiring and settlement in the first payment system within a preset time range, and monitor the matching of the overall fund settlement business and transaction status of the merchants within the preset time range.
[0116] The method for determining the acquiring and settlement matching rate in this application involves the first clearing system obtaining transaction information from merchants corresponding to the first payment system. This transaction information includes transaction information for at least one merchant registration code corresponding to the merchant's unique identifier. The transaction information includes acquiring transaction information and settlement transaction information. The total transaction amount of the acquiring transaction information for at least one merchant registration code is determined as the merchant's total acquiring amount in the first payment system, and the total transaction amount of the settlement transaction information for at least one merchant registration code is determined as the merchant's total settlement amount in the first payment system. Based on the total acquiring amount and the total settlement amount, the acquiring and settlement matching rate of the merchant corresponding to the first clearing system in the first payment system is determined. This method, based on the transaction information of at least one merchant registration code determined by the merchant's unique identifier, determines the acquiring and settlement matching rate of the merchant corresponding to the unique identifier, thereby improving the accuracy of monitoring the matching of the overall fund settlement business and transaction status of merchants.
[0117] The above describes the method for the first clearing system to determine the merchant's acquiring and settlement matching rate in the first payment system. The following describes how the first clearing system determines the merchant's acquiring and settlement matching rate in the first and second clearing systems through a query request.
[0118] Figure 3 This is a flowchart illustrating a method for determining the acquiring settlement matching rate through a request for assistance, as provided in this embodiment. Figure 3 As shown, the specific steps include:
[0119] S301. The first clearing system can send a request for assistance to the second clearing system.
[0120] The request for assistance includes the unique identifier of the first payment system, the unique identifier of the merchant, and a preset time range.
[0121] For example, the unique identifier of the first payment system may be the identity identification code of the first payment institution.
[0122] The request for assistance is used to instruct the second payment system to query the transaction information of merchants in the first payment institution within a preset time range.
[0123] In this method, the first clearing system sends a request for assistance to the second clearing system. The second clearing system can identify the first payment system based on the unique identifier of the first payment system in the request for assistance, and identify the merchant whose transaction information is to be queried based on the unique identifier of the merchant.
[0124] Optionally, when the first clearing system sends a request for assistance to the second clearing system, it may encrypt the request based on a one-way encryption algorithm and send the encrypted request to the second clearing system.
[0125] One-way encryption algorithms are encryption methods that convert input data of arbitrary length into hash values. For example, the first clearing system can encrypt the investigation request based on SM3 and send the encrypted investigation request to the second clearing system.
[0126] The assistance request is encrypted using a one-way encryption algorithm. The first clearing system sends the encrypted request to the second clearing system, enabling assistance between the two systems. Since the assistance request includes merchant information, the data transmitted between the first and second clearing systems is not the original merchant information. This ensures that merchant information is not leaked while simultaneously guaranteeing the data security of the assistance request.
[0127] S302, Receive the second total acquiring amount and the second total settlement amount sent by the second clearing system.
[0128] For example, based on the assistance request, the second clearing system retrieves the transaction information of the merchant corresponding to the first payment system from the transaction information stored in the second clearing system. When the assistance request is encrypted, taking the merchant's unique identifier as an example, the second clearing system can use the same encryption method for each merchant's unique identifier stored in its system, and compare the encrypted value with the value in the received assistance request to determine the merchant whose transaction information is to be queried.
[0129] For example, the second clearing system can obtain the second total acquiring amount and the second total settlement amount based on the acquiring settlement matching rate determination method provided in the embodiments of this application, and send the second total acquiring amount and the second total settlement amount to the first clearing system. Wherein, the second total acquiring amount is the total transaction amount of the acquiring transaction information in the settlement transaction information obtained by the second clearing system, and the second total settlement amount is the total transaction amount of the settlement transaction information in the settlement transaction information obtained by the second clearing system.
[0130] Optionally, the second clearing system can also obtain the second total settlement amount and send the second total acquiring amount, the second total settlement amount, and the second total settlement amount to the first clearing system. The second total settlement amount is the total amount of transactions for which the receiving account is a pre-stored registered account, as part of the settlement transaction information obtained by the second clearing system.
[0131] S303. Determine the merchant's acquiring and settlement matching rate in the first payment system based on the sum of the first total acquiring amount and the second total acquiring amount, and the sum of the first total settlement amount and the second total settlement amount.
[0132] For example, the first clearing system can determine the merchant's acquiring settlement matching rate P3 in the first payment system as shown in formula (3):
[0133] Equation (3)
[0134] The method for determining the merchant's acquiring and settlement matching rate in this application involves a first clearing system sending a request for assistance to a second clearing system. The first clearing system receives a second total acquiring amount and a second total settlement amount from the second clearing system. Based on the sum of the first total acquiring amount and the second total acquiring amount, and the sum of the first total settlement amount and the second total settlement amount, the merchant's acquiring and settlement matching rate in the first payment system is determined. The request for assistance includes a unique identifier for the first payment system, a unique identifier for the merchant, and a preset time range. This method, based on the shared unique identifier of the first payment system and the unique identifier of the merchant (both shared by the first and second clearing systems), can identify the first payment system corresponding to the unique identifier and the merchant corresponding to the unique identifier. Therefore, the first clearing system can send a request for assistance to the second clearing system, and based on the second total acquiring amount and the second total settlement amount sent by the second clearing system, determine the merchant's acquiring and settlement matching rate in the first payment system, thus improving the efficiency of the request for assistance.
[0135] The above describes the method embodiments of this application. The apparatus provided in the embodiments of this application will be described below.
[0136] Figure 4 This is a schematic diagram of a device for determining the acquiring and settlement matching rate, provided as an embodiment of this application. Figure 4 As shown, the acquiring settlement matching rate determination device 400 may include, for example, an acquisition module 401, a determination module 402, and a matching module 403. Optionally, it may also include a storage module and a communication module.
[0137] The acquisition module 401 is used to acquire the transaction information of the merchant corresponding to the first payment system. The transaction information includes the transaction information of at least one merchant registration code corresponding to the unique identifier of the merchant. The transaction information includes acquiring transaction information and settlement transaction information.
[0138] The determining module 402 is used to determine the total transaction amount of the acquiring transaction information of the at least one merchant registration code as the total acquiring amount of the merchant in the first payment system, and to determine the total transaction amount of the settlement transaction information of the at least one merchant registration code as the total settlement amount of the merchant in the first payment system.
[0139] The matching module 403 is used to determine the merchant's acquiring and settlement matching rate in the first payment system based on the total acquiring amount and the total settlement amount.
[0140] In one possible implementation, before obtaining the transaction information of the merchant corresponding to the first payment system, the storage module is specifically used to: obtain the transaction request of the first payment system; determine the merchant registration code and the unique identifier of the merchant corresponding to the merchant registration code in the transaction request; and store the code of the first payment system, the business type code, the transaction amount, and the unique identifier of the merchant in the transaction request as the transaction information, wherein the business type code is used to identify whether the transaction information belongs to acquiring transaction information or settlement transaction information.
[0141] In one possible implementation, before obtaining the transaction information of the merchant corresponding to the first payment system, the storage module is specifically used to obtain the transaction request of the first payment system, and store the code of the first payment system, the business type code, the transaction amount and the merchant registration code in the transaction request as initial transaction information. The business type code is used to identify whether the initial transaction information belongs to acquiring transaction information or settlement transaction information.
[0142] Accordingly, the acquisition module 401 is specifically used to determine the at least one merchant registration code corresponding to the merchant's unique identifier, and to determine the initial transaction information including any one of the at least one merchant registration codes as the transaction information.
[0143] In one possible implementation, the transaction information includes a receiving account, and the matching module 403 is specifically used to determine the ratio of the minimum value of the total acquiring amount and the total settlement amount of the merchant to the maximum value of the total acquiring amount and the total settlement amount as the acquiring settlement matching rate of the merchant in the first payment system corresponding to the first clearing system, wherein the total settlement amount is the total amount of the transaction information in the settlement transaction information for which the receiving account is a pre-stored registered account.
[0144] In one possible implementation, the matching module 403 is further configured to determine the acquiring and settlement matching rate of the first payment institution as the ratio of the sum of the minimum value of the total acquiring amount and the total settlement amount of each merchant among the multiple merchants corresponding to the first payment system to the sum of the maximum value of the total acquiring amount and the total settlement amount of each merchant among the multiple merchants.
[0145] One possible implementation is that the acquisition module 401 is specifically used to acquire the transaction information of the merchant corresponding to the first payment system within a preset time range.
[0146] In one possible implementation, the communication module is specifically used to: send a cooperation request to the second clearing system, the cooperation request including the unique identifier of the first payment system, the unique identifier of the merchant, and the preset time range; and receive the second total acquiring amount and the second total settlement amount sent by the second clearing system;
[0147] Accordingly, the matching module 403 is further configured to determine the merchant's acquiring and settlement matching rate in the first payment system based on the sum of the first total acquiring amount and the second total acquiring amount, and the sum of the first total settlement amount and the second total settlement amount.
[0148] In one possible implementation, the communication module is further configured to encrypt the investigation request based on a one-way encryption algorithm and send the encrypted investigation request to the second clearing system.
[0149] The acquiring settlement matching rate determination device provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0150] It should be understood that the above-described device embodiments are merely illustrative, and the device of this application can also be implemented in other ways. For example, the division of units / modules in the above embodiments is only a logical functional division, and there may be other division methods in actual implementation. For example, multiple units, modules, or components may be combined, or integrated into another system, or some features may be ignored or not executed.
[0151] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 5 As shown, the electronic device may include at least one processor 501 and a memory 502.
[0152] The memory 502 is used to store programs. Specifically, the program may include program code, which includes computer operation instructions.
[0153] Memory 502 may include high-speed RAM memory, and may also include non-volatile memory.
[0154] The processor 501 is used to execute computer execution instructions stored in the memory 502 to implement the method of the foregoing method embodiments. The processor 501 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0155] Optionally, the electronic device may also include a communication interface 503. In specific implementations, if the communication interface 503, the memory 502, and the processor 501 are implemented independently, the communication interface 503, the memory 502, and the processor 501 can be interconnected via a bus to complete communication between them.
[0156] Optionally, in a specific implementation, if the communication interface 503, memory 502, and processor 501 are integrated on a single chip, then the communication interface 503, memory 502, and processor 501 can communicate through an internal interface.
[0157] This application also provides a computer-readable storage medium, which may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), and a random access memory (RAM). Specifically, the computer-readable storage medium stores program instructions, which are used to implement the actions of the above-described method implementation.
[0158] This application also provides a computer program product, which includes a computer program that, when executed by a processor, performs the actions of the above-described method implementation.
[0159] Furthermore, unless otherwise specified, the functional units / modules in the various embodiments of this application can be integrated into one unit / module, or each unit / module can exist physically separately, or two or more units / modules can be integrated together. The integrated units / modules described above can be implemented in hardware or as software program modules.
[0160] When an integrated unit / module is implemented in hardware, the hardware can be digital circuits, analog circuits, etc. The physical implementation of the hardware structure includes, but is not limited to, transistors. Unless otherwise specified, the processor can be any suitable hardware processor, such as a CPU, GPU, FPGA, DSP, and ASIC, etc. Unless otherwise specified, the storage unit can be any suitable storage medium, such as Resistive Random Access Memory (RRAM), Dynamic Random Access Memory (DRAM), Static Random Access Memory (SRAM), Enhanced Dynamic Random Access Memory (EDRAM), High-Bandwidth Memory (HBM), Hybrid Memory Cube (HMC), etc.
[0161] If the integrated unit / module is implemented as a software program module and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, 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 memory 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 of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), and portable hard drives.
[0162] In the above embodiments, the descriptions of each embodiment have their own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments. The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as the combination of these technical features does not contradict each other, it should be considered within the scope of this specification.
[0163] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM and RAM.
Claims
1. A method for determining the acquiring settlement matching rate, applied to a first clearing system, characterized in that, include: Obtain transaction information of merchants corresponding to the first payment system. The transaction information includes transaction information of at least one merchant registration code corresponding to the merchant's unique identifier. The transaction information includes acquiring transaction information and settlement transaction information. The total transaction amount of the acquiring transaction information of the at least one merchant registration code is determined as the total acquiring amount of the merchant in the first payment system, and the total transaction amount of the settlement transaction information of the at least one merchant registration code is determined as the total settlement amount of the merchant in the first payment system. Based on the total amount of acquiring transactions and the total amount of settlement, the acquiring and settlement matching rate of the merchant corresponding to the first clearing system in the first payment system is determined.
2. The method according to claim 1, characterized in that, Before obtaining the transaction information of the merchant corresponding to the first payment system, the method further includes: Obtain the transaction request from the first payment system, and determine the merchant registration code in the transaction request and the unique identifier of the merchant corresponding to the merchant registration code; The code of the first payment system, the business type code, the transaction amount, and the merchant's unique identifier in the transaction request are stored as the transaction information. The business type code is used to identify whether the transaction information belongs to acquiring transaction information or settlement transaction information.
3. The method according to claim 1, characterized in that, Before obtaining the transaction information of the merchant corresponding to the first payment system, the method further includes: Obtain the transaction request from the first payment system, and store the code of the first payment system, the business type code, the transaction amount, and the merchant registration code in the transaction request as initial transaction information. The business type code is used to identify whether the initial transaction information belongs to acquiring transaction information or settlement transaction information. The acquisition of transaction information of each merchant corresponding to the first payment system includes: The at least one merchant registration code corresponding to the merchant's unique identifier is determined, and the initial transaction information including any one of the at least one merchant registration codes is determined as the transaction information.
4. The method according to any one of claims 1-3, characterized in that, The transaction information includes the receiving account. Determining the merchant's acquiring and settlement matching rate in the first payment system based on the total acquiring amount and the total settlement amount includes: The ratio of the minimum value between the total amount of acquiring transactions and the total amount of settlement for the merchant to the maximum value between the total amount of acquiring transactions and the total amount of settlement is determined as the acquiring and settlement matching rate of the merchant in the first payment system corresponding to the first clearing system. The total amount of settlement for the merchant is the total amount of transaction information in the settlement transaction information where the receiving account is a pre-stored registered account.
5. The method according to any one of claims 1-3, characterized in that, Also includes: The ratio of the sum of the minimum of the total acquiring amount and the total settlement amount of each merchant in the multiple merchants corresponding to the first payment system to the sum of the maximum of the total acquiring amount and the total settlement amount of each merchant in the multiple merchants is determined as the acquiring and settlement matching rate of the first payment institution.
6. The method according to any one of claims 1-3, characterized in that, The step of obtaining the transaction information of the merchant corresponding to the first payment system also includes: Obtain transaction information of the merchant corresponding to the first payment system within a preset time range.
7. The method according to claim 6, characterized in that, The method further includes: Send a request for assistance to the second clearing system. The request for assistance includes the unique identifier of the first payment system, the unique identifier of the merchant, and the preset time range. Receive the second total acquiring amount and the second total settlement amount sent by the second clearing system; The merchant's acquiring and settlement matching rate in the first payment system is determined based on the sum of the first total acquiring amount and the second total acquiring amount, and the sum of the first total settlement amount and the second total settlement amount.
8. The method according to claim 7, characterized in that, Sending a request for assistance to the second clearing system includes: The investigation request is encrypted using a one-way encryption algorithm and then sent to the second clearing system.
9. A device for determining the acquiring settlement matching rate, characterized in that, include: The acquisition module is used to acquire the transaction information of the merchant corresponding to the first payment system. The transaction information includes the transaction information of at least one merchant registration code corresponding to the unique identifier of the merchant. The transaction information includes acquiring transaction information and settlement transaction information. The determining module is used to determine the total transaction amount of the acquiring transaction information of the at least one merchant registration code as the total acquiring amount of the merchant in the first payment system, and to determine the total transaction amount of the settlement transaction information of the at least one merchant registration code as the total settlement amount of the merchant in the first payment system. The matching module is used to determine the merchant's acquiring and settlement matching rate in the first payment system based on the total acquiring amount and the total settlement amount.
10. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-8.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-8.
12. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method of any one of claims 1-8.
