Transaction request response method and device, storage medium and electronic equipment

By detecting the transaction response status and account tolerance, correcting the transaction settlement operation solves the problem of low response efficiency of transaction requests, improves the response efficiency of transaction requests and the fault tolerance of the system, and reduces the impact of regulatory risks and customer experience.

CN118537124APending Publication Date: 2024-08-23INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410542518.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The response efficiency of transaction requests in the existing technology is low, resulting in reduced regulatory risks and customer experience, and there is a lack of effective solutions.

Method used

Detect the response status between the target user's user account and the target account of the trading product, correct the transaction settlement operation according to the account tolerance, and ensure the accuracy and efficiency of asset settlement.

Benefits of technology

It improves the efficiency of transaction request response, reduces asset settlement errors caused by transaction failures, and enhances the system's adaptability and fault tolerance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537124A
    Figure CN118537124A
Patent Text Reader

Abstract

The invention discloses a transaction request response method and device, a storage medium and electronic equipment. Relates to the field of financial science and technology, and the method comprises the steps: detecting a response state of a target transaction in a process of carrying out the target transaction between a user account of a target user and a target account of a transaction product; under the condition that the response state is used for indicating that a transaction fault occurs in the execution process of the target transaction, the account tolerance of the target account is detected according to the account information of the target account, and the account tolerance is used for indicating the tolerance degree of the target account to an asset settlement error caused by the transaction fault in the transaction; and according to the account tolerance, a target settlement operation executed in the target transaction is corrected, and the target settlement operation is used for performing settlement on user assets stored in the user account. Through the method and the device, the problem of relatively low transaction request response efficiency in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of financial technology, and specifically, to a method, device, storage medium and electronic device for responding to a transaction request. Background Art

[0002] In the context of the transformation of the platform and architecture under the host, abnormal situations in business systems and infrastructures occur from time to time, resulting in reduced stability of the host and an increase in suspicious scenarios for responding to transaction requests. In related technologies, the stock logic is generally closed through intraday reversals, intraday suspicious account inquiries, and the addition of end-of-day reconciliation functions. However, the above three mechanisms are all post-event solutions, but in the event of a transaction failure in a transaction request, it will cause regulatory risks. Intraday reversals and intraday suspicious account inquiries require the client to trigger a retransmission of the transaction, while end-of-day reconciliation will cause funds to be frozen. Therefore, the transaction mechanisms in related technologies have the problem of reducing the efficiency of responding to transaction requests and reducing customer experience.

[0003] Currently, no effective solution has been proposed to address the problem of low efficiency in responding to transaction requests in related technologies. Summary of the invention

[0004] The main purpose of the present application is to provide a transaction request response method, device, storage medium and electronic device to solve the problem of low efficiency of transaction request response in related technologies.

[0005] In order to achieve the above object, according to one aspect of the present application, a method for responding to a transaction request is provided, the method comprising:

[0006] During a target transaction between a user account of a target user and a target account of a transaction product, detecting a response status of the target transaction, wherein the response status is used to indicate whether a transaction failure occurs during the execution of the target transaction;

[0007] In the case where the response status indicates that a transaction failure has occurred during the execution of the target transaction, detecting the account tolerance of the target account according to the account information of the target account, wherein the account tolerance is used to indicate the tolerance of the target account to asset settlement errors caused by the transaction failure in the transaction;

[0008] A target settlement operation executed in the target transaction is modified according to the account tolerance, wherein the target settlement operation is used to settle user assets stored in the user account.

[0009] Optionally, the correcting the target settlement operation executed in the target transaction according to the account tolerance includes: when the account tolerance is used to indicate that the tolerance of the target account for asset settlement errors caused by transaction failures in the transaction is lower than or equal to the target tolerance, performing a first correction operation corresponding to the settlement status of the target settlement operation on the target settlement operation according to the settlement status of the target settlement operation, and obtaining a first correction settlement operation with a settlement status of settlement failure; when the account tolerance is used to indicate that the tolerance of the target account for asset settlement errors caused by transaction failures in the transaction is higher than the target tolerance, performing a second correction operation corresponding to the settlement status on the target settlement operation according to the settlement status of the target settlement operation, and obtaining a second correction settlement operation with a settlement status of settlement success.

[0010] Optionally, performing a first correction operation corresponding to the settlement status of the target settlement operation on the target settlement operation according to the settlement status of the target settlement operation to obtain a first correction settlement operation with a settlement status of settlement failure includes: detecting the transaction status of the target transaction, wherein the transaction status is used to indicate whether the user account and the target account have successfully conducted the target transaction; when the transaction status is used to indicate that the user account and the target account have not successfully conducted the target transaction, determining the target settlement operation as the first correction settlement operation, and recording a first operation log in the user account indicating that the settlement status of the first correction settlement operation is settlement failure; when the transaction status indicates that the user account of the target user and the target account of the transaction product have successfully conducted the target transaction, performing a hedging operation on the target transaction to obtain a first reference transaction, wherein the settlement operation in the first reference transaction is the first correction settlement operation; and recording a second operation log in the user account indicating that the settlement status of the first correction settlement operation is settlement failure.

[0011] Optionally, performing the hedging operation on the target transaction includes: detecting an initial transaction direction of the target transaction in the user account and the target account; determining a transaction direction opposite to the initial transaction direction as a target transaction direction; and conducting transactions between the user account and the target account according to the target transaction direction.

[0012] Optionally, performing a second correction operation corresponding to the settlement status on the target settlement operation according to the settlement status of the target settlement operation to obtain a second correction settlement operation with a settlement status of successful settlement includes: detecting the transaction status of the target transaction, wherein the transaction status is used to indicate whether the user account and the target account have successfully conducted the target transaction; when the transaction status is used to indicate that the user account and the target account have successfully conducted the target transaction, determining the target settlement operation as the second correction settlement operation, and recording a third operation log in the user account indicating that the settlement status of the second correction settlement operation is successful settlement; when the transaction status indicates that the user account of the target user and the target account of the transaction product have not successfully conducted the target transaction, initiating the target transaction again between the user account and the target account to obtain a second reference transaction, wherein the settlement operation in the second reference transaction is the second correction settlement operation; and recording a fourth operation log in the user account indicating that the settlement status of the second correction settlement operation is successful settlement.

[0013] Optionally, detecting the account tolerance of the target account based on the account information of the target account includes: detecting the account type of the target account, wherein the account information includes the account type, and the account type includes a financial product account and a financial institution account; when the account type of the target account is the financial product account, determining the account tolerance to indicate that the target account's tolerance for asset settlement errors caused by transaction failures in transactions is lower than or equal to a target tolerance; when the account type of the target account is the financial institution account, determining the account tolerance to indicate that the target account's tolerance for asset settlement errors caused by transaction failures in transactions is higher than the target tolerance.

[0014] Optionally, detecting the response status of the target transaction includes: receiving transaction information returned by the target account in response to the target transaction; if an error code is carried in the transaction information, or if the transaction information is not received after a time threshold, determining the response status to indicate that a transaction failure has occurred during the execution of the target transaction.

[0015] In order to achieve the above object, according to another aspect of the present application, a device for responding to a transaction request is provided, the device comprising:

[0016] A first detection module, configured to detect a response status of a target transaction during a target transaction between a user account of a target user and a target account of a transaction product, wherein the response status is used to indicate whether a transaction failure occurs during the execution of the target transaction;

[0017] A second detection module is used to detect the account tolerance of the target account according to the account information of the target account when the response status indicates that a transaction failure has occurred during the execution of the target transaction, wherein the account tolerance is used to indicate the tolerance of the target account to asset settlement errors caused by the transaction failure in the transaction;

[0018] A correction module is used to correct the target settlement operation executed in the target transaction according to the account tolerance, wherein the target settlement operation is used to settle the user assets stored in the user account.

[0019] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.

[0020] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0021] According to another embodiment of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0022] Through this application, the following steps are adopted: in the process of performing a target transaction between the user account of the target user and the target account of the transaction product, the response status of the target transaction is detected, wherein the response status is used to indicate whether a transaction failure has occurred during the execution of the target transaction; in the case where the response status is used to indicate that a transaction failure has occurred during the execution of the target transaction, the account tolerance of the target account is detected according to the account information of the target account, wherein the account tolerance is used to indicate the tolerance of the target account for asset settlement errors caused by transaction failures in the transaction; the target settlement operation executed in the target transaction is corrected according to the account tolerance, wherein the target settlement operation is used to settle the user assets stored in the user account. A corresponding processing strategy is formulated according to the account tolerance of the target account where the target transaction occurs, and the system can adaptively trigger the correction process for target accounts with different account tolerances, solving the problem of low efficiency of transaction request response in the related technology. Thus, the effect of improving the efficiency of transaction request response is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0024] Figure 1 is a flowchart of a method for responding to a transaction request provided in an embodiment of the present application;

[0025] Figure 2 is a schematic diagram of a working process of a first correction operation according to an embodiment of the present application;

[0026] Figure 3 is a schematic diagram of a working process of a second correction operation according to an embodiment of the present application;

[0027] Figure 4 is a schematic diagram of a device for responding to a transaction request according to an embodiment of the present application;

[0028] Figure 5 It is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0029] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

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

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

[0032] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set up between this system and relevant users or institutions. Before obtaining relevant information, the user is provided with a corresponding operation entrance for the user to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered.

[0033] The present invention is described below in conjunction with preferred implementation steps. Figure 1 is a flow chart of a method for responding to a transaction request provided in an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:

[0034] Step S101, during a target transaction between a user account of a target user and a target account of a transaction product, detecting a response status of the target transaction, wherein the response status is used to indicate whether a transaction failure occurs during the execution of the target transaction;

[0035] Step S102, when the response status indicates that a transaction failure has occurred during the execution of the target transaction, detecting the account tolerance of the target account according to the account information of the target account, wherein the account tolerance is used to indicate the tolerance of the target account to asset settlement errors caused by the transaction failure in the transaction;

[0036] Step S103, modifying the target settlement operation executed in the target transaction according to the account tolerance, wherein the target settlement operation is used to settle the user assets stored in the user account.

[0037] In the technical solution provided in the above step S101, the above target account may be, but is not limited to, the account where the transaction product to be traded by the user is located, such as: the user account of the target user, the user account of the non-target user, the product account, etc.

[0038] Optionally, in this embodiment, the user account of the target user may be, but is not limited to, used to store currency that allows the user to perform transaction operations. The target user may be, but is not limited to, determine the target account of the target transaction in response to the transaction request, for example, in the case where the transaction request requests the sale of the transaction product owned by the target user, the target account is an account used to store the transaction product owned by the user.

[0039] Alternatively, when the transaction request is used to purchase a transaction product for a target user, the target account is an account that can use the currency stored in the user account to trade for the transaction product. The account that can use the currency stored in the user account to trade for the transaction product may include, but is not limited to: a user account of a non-target user, a product account, etc.

[0040] Optionally, in this embodiment, during the target transaction between the user account of the target user and the target account of the transaction product, the response status of the target transaction can be obtained in real time, but is not limited to, to determine whether a transaction failure occurs during the execution of the target transaction.

[0041] In an exemplary embodiment, the response status of the target transaction can be detected in the following manner but is not limited to: receiving transaction information returned by the target account in response to the target transaction; when an error code is carried in the transaction information, or when the transaction information is not received after a time threshold, determining the response status is used to indicate that a transaction failure has occurred during the execution of the target transaction.

[0042] Optionally, in this embodiment, during the process of the target transaction between the user account of the target user and the target account of the transaction product, the target account may be used, but not limited to, to respond to the target transaction and return transaction information. In the case where the transaction information carries an error code, the response status is determined to indicate that a transaction failure occurred during the execution of the target transaction. Alternatively, in the case where the transaction information is not received after a time threshold, the response status is still determined to indicate that a transaction failure occurred during the execution of the target transaction. Alternatively, in the case where the transaction information does not carry an error code, the response status is determined to indicate that no transaction failure occurred during the execution of the target transaction.

[0043] In the technical solution provided in the above step S102, the target account corresponding to each transaction request can be determined, and the account tolerance of the target account can be determined based on the account information of the target account, for example, when the account information of the target account indicates that the target account is a personal account, the account tolerance of the target account can be considered to be high, but not limited to. Or, when the account information of the target account indicates that the target account is a public account, in order to ensure the security of other people's accounts, the account tolerance of the target account can be considered to be low, but not limited to.

[0044] In an exemplary embodiment, the account tolerance of the target account can be detected based on the account information of the target account in the following manner, but is not limited to: detecting the account type of the target account, wherein the account information includes the account type, and the account type includes a financial product account and a financial institution account; when the account type of the target account is the financial product account, determining the account tolerance to indicate that the target account's tolerance for asset settlement errors caused by transaction failures in transactions is lower than or equal to a target tolerance; when the account type of the target account is the financial institution account, determining the account tolerance to indicate that the target account's tolerance for asset settlement errors caused by transaction failures in transactions is higher than the target tolerance.

[0045] In the technical solution provided in the above step S103, the target settlement operation executed in the target transaction is corrected according to the account tolerance, which may include, but is not limited to: when the account tolerance is used to indicate that the tolerance of the target account to the asset settlement error caused by the transaction failure in the transaction is higher than the threshold, ensuring that the target settlement operation can be successfully executed. Or, when the account tolerance is used to indicate that the tolerance of the target account to the asset settlement error caused by the transaction failure in the transaction is lower than the threshold, ensuring that the target settlement operation is not successfully executed and restored to the original state.

[0046] In an exemplary embodiment, the target settlement operation executed in the target transaction can be corrected according to the account tolerance in the following manner, but is not limited to: when the account tolerance is used to indicate that the tolerance of the target account to asset settlement errors caused by transaction failures in the transaction is lower than or equal to the target tolerance, a first correction operation corresponding to the settlement status of the target settlement operation is performed on the target settlement operation according to the settlement status of the target settlement operation, and a first correction settlement operation with a settlement status of settlement failure is obtained; when the account tolerance is used to indicate that the tolerance of the target account to asset settlement errors caused by transaction failures in the transaction is higher than the target tolerance, a second correction operation corresponding to the settlement status is performed on the target settlement operation according to the settlement status of the target settlement operation, and a second correction settlement operation with a settlement status of settlement success is obtained.

[0047] Optionally, in this embodiment, when the account tolerance is used to indicate that the tolerance of the target account to asset settlement errors caused by transaction failures in the transaction is lower than or equal to the target tolerance, the settlement status of the target settlement operation is corrected to settlement failure. Alternatively, when the account tolerance is used to indicate that the tolerance of the target account to asset settlement errors caused by transaction failures in the transaction is higher than the target tolerance, the settlement status of the target settlement operation is corrected to settlement success.

[0048] In an exemplary embodiment, the first correction operation corresponding to the settlement status of the target settlement operation is performed on the target settlement operation according to the settlement status of the target settlement operation, so as to obtain the first correction settlement operation whose settlement status is settlement failure. The transaction status of the target transaction is detected, wherein the transaction status is used to indicate whether the user account and the target account have successfully conducted the target transaction. When the transaction status is used to indicate that the user account and the target account have not successfully conducted the target transaction, the target settlement operation is determined to be the first correction settlement operation, and a first operation log indicating that the settlement status of the first correction settlement operation is settlement failure is recorded in the user account. When the transaction status indicates that the user account of the target user and the target account of the transaction product have successfully conducted the target transaction, a hedging operation is performed on the target transaction to obtain a first reference transaction, wherein the settlement operation in the first reference transaction is the first correction settlement operation. A second operation log indicating that the settlement status of the first correction settlement operation is settlement failure is recorded in the user account.

[0049] Optionally, in this embodiment, the account status of the user account and the account status of the target account may be obtained separately, but not limited to, to detect whether the account status of the user account and the account status of the target account are in a state of completing the target transaction, and to determine whether the user account and the target account have successfully carried out the target transaction according to the above state, for example: when the account status of the user account and the account status of the target account match, and both are in the state of completing the target transaction, it is determined that the user account and the target account have successfully carried out the target transaction. Alternatively, in other states, it is considered that the user account and the target account have not successfully carried out the target transaction, etc.

[0050] Optionally, in this embodiment, the above hedging operation can be but is not limited to being used to offset the last executed target transaction by executing a transaction in the opposite direction, so that the user account and the target account are restored to the state before the execution of the above target transaction.

[0051] In an exemplary embodiment, the hedging operation on the target transaction can be performed in the following manner but is not limited to: detecting the initial transaction direction of the target transaction in the user account and the target account; determining a transaction direction opposite to the initial transaction direction as the target transaction direction; and conducting transactions between the user account and the target account according to the target transaction direction.

[0052] Optionally, in this embodiment, the hedging operation is a trading operation that is opposite to the target trading direction and has completely consistent trading parameters.

[0053] In an exemplary embodiment, an example of a working process of a first correction operation is provided. Figure 2 is a schematic diagram of a working process of a first correction operation according to an embodiment of the present application, such as Figure 2 As shown, the target account is a financial product account, and the first correction operation can be performed in the following ways but is not limited to:

[0054] When the transaction information returned by the user account after calling the target interface carries an error code indicating that a transaction failure has occurred, the user account may, but is not limited to, handle the transaction in the direction of failure, that is, send information indicating the transaction failure to the target account of the transaction product and infer that the transaction has failed;

[0055] The target account responds to the information initiated by the user account indicating the transaction failure, detects whether the original transaction is successful, and performs a reversal operation if the original transaction is successful; or determines that the original transaction does not exist if the original transaction does not exist;

[0056] Finally, the user account initiates an asynchronous doubtful account query. If the doubtful account query status is failed or has been reversed, it ends normally; or, if the doubtful account query status is successful, a first reference transaction is obtained for initiating a reversal transaction.

[0057] In an exemplary embodiment, the second correction operation corresponding to the settlement status of the target settlement operation is performed on the target settlement operation according to the settlement status of the target settlement operation, so as to obtain the second correction settlement operation with a settlement status of successful settlement: detecting the transaction status of the target transaction, wherein the transaction status is used to indicate whether the user account and the target account have successfully conducted the target transaction; when the transaction status is used to indicate that the user account and the target account have successfully conducted the target transaction, determining the target settlement operation as the second correction settlement operation, and recording a third operation log indicating that the settlement status of the second correction settlement operation is successful settlement in the user account; when the transaction status indicates that the user account of the target user and the target account of the transaction product have not successfully conducted the target transaction, initiating the target transaction again between the user account and the target account to obtain a second reference transaction, wherein the settlement operation in the second reference transaction is the second correction settlement operation; and recording a fourth operation log indicating that the settlement status of the second correction settlement operation is successful settlement in the user account.

[0058] In an exemplary embodiment, an example of a working process of a second correction operation is provided. Figure 3 is a schematic diagram of a working process of a second correction operation according to an embodiment of the present application, such as Figure 3 As shown, the target account is a financial institution account, and the second correction operation can be performed in the following ways, but is not limited to:

[0059] When the transaction information returned by the user account after calling the target interface carries an error code indicating that a transaction failure has occurred, the target account processes the transaction in the direction of success, i.e., sends the information indicating that the transaction was successful to the target account of the transaction product, and presumes that the transaction is successful;

[0060] The target account responds to the information indicating the success of the transaction initiated by the user account, detects whether the original transaction is successful, and returns information indicating the success of the transaction if the original transaction is successful; or, if the original transaction does not exist, re-initiates a target transaction;

[0061] The user account initiates an asynchronous doubtful account query. If the doubtful account query status is successful, it ends normally; or, if the doubtful account query status is failed, a second reference transaction is obtained by initiating another target transaction.

[0062] The response method of the transaction request provided by the embodiment of the present application detects the response status of the target transaction during the process of the target transaction between the user account of the target user and the target account of the transaction product, wherein the response status is used to indicate whether a transaction failure has occurred during the execution of the target transaction; in the case where the response status is used to indicate that a transaction failure has occurred during the execution of the target transaction, the account tolerance of the target account is detected according to the account information of the target account, wherein the account tolerance is used to indicate the tolerance of the target account for the asset settlement error caused by the transaction failure in the transaction; the target settlement operation executed in the target transaction is corrected according to the account tolerance, wherein the target settlement operation is used to settle the user assets stored in the user account. A corresponding processing strategy is formulated according to the account tolerance of the target account where the target transaction occurs, and the system can adaptively trigger the correction process for the target account with different account tolerances, thereby solving the problem of low efficiency of the transaction request response in the related art. Thus, the effect of improving the efficiency of the transaction request response is achieved.

[0063] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0064] The embodiment of the present application also provides a transaction request response device. It should be noted that the transaction request response device of the embodiment of the present application can be used to execute the transaction request response method provided in the embodiment of the present application. The transaction request response device provided in the embodiment of the present application is introduced below.

[0065] Figure 4 Schematic diagram of a response device for a transaction request according to an embodiment of the present application. Figure 4 As shown, the device comprises:

[0066] A first detection module 41 is used to detect a response status of a target transaction during a target transaction between a user account of a target user and a target account of a transaction product, wherein the response status is used to indicate whether a transaction failure occurs during the execution of the target transaction;

[0067] A second detection module 42 is configured to detect the account tolerance of the target account according to the account information of the target account when the response status indicates that a transaction failure has occurred during the execution of the target transaction, wherein the account tolerance is used to indicate the tolerance of the target account to asset settlement errors caused by the transaction failure in the transaction;

[0068] The correction module 43 is used to correct the target settlement operation executed in the target transaction according to the account tolerance, wherein the target settlement operation is used to settle the user assets stored in the user account.

[0069] Optionally, in the transaction request response device provided in the embodiment of the present application, the correction module includes:

[0070] A first correction unit is configured to, when the account tolerance is used to indicate that the tolerance of the target account to asset settlement errors caused by transaction failures in a transaction is lower than or equal to a target tolerance, perform a first correction operation corresponding to the settlement status of the target settlement operation on the target settlement operation according to the settlement status of the target settlement operation, so as to obtain a first correction settlement operation whose settlement status is settlement failure;

[0071] A second correction unit is used to perform a second correction operation corresponding to the settlement status on the target settlement operation according to the settlement status of the target settlement operation, when the account tolerance is used to indicate that the tolerance of the target account to asset settlement errors caused by transaction failures in the transaction is higher than the target tolerance, so as to obtain a second correction settlement operation with a settlement status of successful settlement.

[0072] Optionally, in the response device for transaction requests provided in the embodiment of the present application, the first correction unit is further used to: detect the transaction status of the target transaction, wherein the transaction status is used to indicate whether the user account and the target account have successfully conducted the target transaction; when the transaction status is used to indicate that the user account and the target account have not successfully conducted the target transaction, determine the target settlement operation as the first correction settlement operation, and record in the user account a first operation log indicating that the settlement status of the first correction settlement operation is a settlement failure; when the transaction status indicates that the user account of the target user and the target account of the transaction product have successfully conducted the target transaction, perform a hedging operation on the target transaction to obtain a first reference transaction, wherein the settlement operation in the first reference transaction is the first correction settlement operation; and record in the user account a second operation log indicating that the settlement status of the first correction settlement operation is a settlement failure.

[0073] Optionally, in the response device for transaction requests provided in an embodiment of the present application, the first correction unit is also used to: detect an initial transaction direction of the target transaction in the user account and the target account; determine a transaction direction opposite to the initial transaction direction as a target transaction direction; and conduct transactions between the user account and the target account according to the target transaction direction.

[0074] Optionally, in the response device for transaction requests provided in the embodiment of the present application, the second correction unit is further used to: detect the transaction status of the target transaction, wherein the transaction status is used to indicate whether the user account and the target account have successfully conducted the target transaction; when the transaction status is used to indicate that the user account and the target account have successfully conducted the target transaction, determine the target settlement operation as the second correction settlement operation, and record in the user account a third operation log indicating that the settlement status of the second correction settlement operation is a successful settlement; when the transaction status indicates that the user account of the target user and the target account of the transaction product have not successfully conducted the target transaction, initiate the target transaction again between the user account and the target account to obtain a second reference transaction, wherein the settlement operation in the second reference transaction is the second correction settlement operation; and record in the user account a fourth operation log indicating that the settlement status of the second correction settlement operation is a successful settlement.

[0075] Optionally, in the transaction request response device provided in the embodiment of the present application, the second detection module includes:

[0076] a detection unit, configured to detect an account type of the target account, wherein the account information includes the account type, and the account type includes a financial product account and a financial institution account;

[0077] A first determining unit is used to determine, when the account type of the target account is the financial product account, that the account tolerance is used to indicate that the tolerance of the target account to asset settlement errors caused by transaction failures in transactions is lower than or equal to a target tolerance;

[0078] The second determining unit is used to determine, when the account type of the target account is the financial institution account, that the account tolerance is used to indicate that the tolerance of the target account to asset settlement errors caused by transaction failures in transactions is higher than a target tolerance.

[0079] Optionally, in the transaction request response device provided in the embodiment of the present application, the first detection module includes:

[0080] A receiving unit, configured to receive transaction information returned by the target account in response to the target transaction;

[0081] The third determining unit is used to determine that the response status indicates that a transaction failure has occurred during the execution of the target transaction when an error code is carried in the transaction information or the transaction information is not received after a time threshold has passed.

[0082] The response device for transaction request provided by the embodiment of the present application detects the response status of the target transaction during the process of performing the target transaction between the user account of the target user and the target account of the transaction product, wherein the response status is used to indicate whether a transaction failure has occurred during the execution of the target transaction; in the case where the response status is used to indicate that a transaction failure has occurred during the execution of the target transaction, the account tolerance of the target account is detected according to the account information of the target account, wherein the account tolerance is used to indicate the tolerance of the target account for the asset settlement error caused by the transaction failure in the transaction; the target settlement operation executed in the target transaction is corrected according to the account tolerance, wherein the target settlement operation is used to settle the user assets stored in the user account. A corresponding processing strategy is formulated according to the account tolerance of the target account where the target transaction occurs, and the system can adaptively trigger the correction process for the target account with different account tolerances, thereby solving the problem of low efficiency of transaction request response in the related art. Thus, the effect of improving the efficiency of transaction request response is achieved.

[0083] The transaction request response device includes a processor and a memory. The above modules, units, etc. are stored in the memory as program units, and the processor executes the above program units stored in the memory to realize corresponding functions.

[0084] The processor contains a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the efficiency of transaction request response can be improved by adjusting kernel parameters.

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

[0086] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the method for responding to the transaction request is implemented.

[0087] An embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes the method for responding to the transaction request when running.

[0088] like Figure 5 As shown, an embodiment of the present invention provides an electronic device, the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program:

[0089] During a target transaction between a user account of a target user and a target account of a transaction product, detecting a response status of the target transaction, wherein the response status is used to indicate whether a transaction failure occurs during the execution of the target transaction;

[0090] In the case where the response status indicates that a transaction failure has occurred during the execution of the target transaction, detecting the account tolerance of the target account according to the account information of the target account, wherein the account tolerance is used to indicate the tolerance of the target account to asset settlement errors caused by the transaction failure in the transaction;

[0091] A target settlement operation executed in the target transaction is modified according to the account tolerance, wherein the target settlement operation is used to settle user assets stored in the user account.

[0092] Optionally, the correcting the target settlement operation executed in the target transaction according to the account tolerance includes: when the account tolerance is used to indicate that the tolerance of the target account for asset settlement errors caused by transaction failures in the transaction is lower than or equal to the target tolerance, performing a first correction operation corresponding to the settlement status of the target settlement operation on the target settlement operation according to the settlement status of the target settlement operation, and obtaining a first correction settlement operation with a settlement status of settlement failure; when the account tolerance is used to indicate that the tolerance of the target account for asset settlement errors caused by transaction failures in the transaction is higher than the target tolerance, performing a second correction operation corresponding to the settlement status on the target settlement operation according to the settlement status of the target settlement operation, and obtaining a second correction settlement operation with a settlement status of settlement success.

[0093] Optionally, performing a first correction operation corresponding to the settlement status of the target settlement operation on the target settlement operation according to the settlement status of the target settlement operation to obtain a first correction settlement operation with a settlement status of settlement failure includes: detecting the transaction status of the target transaction, wherein the transaction status is used to indicate whether the user account and the target account have successfully conducted the target transaction; when the transaction status is used to indicate that the user account and the target account have not successfully conducted the target transaction, determining the target settlement operation as the first correction settlement operation, and recording a first operation log in the user account indicating that the settlement status of the first correction settlement operation is settlement failure; when the transaction status indicates that the user account of the target user and the target account of the transaction product have successfully conducted the target transaction, performing a hedging operation on the target transaction to obtain a first reference transaction, wherein the settlement operation in the first reference transaction is the first correction settlement operation; and recording a second operation log in the user account indicating that the settlement status of the first correction settlement operation is settlement failure.

[0094] Optionally, performing the hedging operation on the target transaction includes: detecting an initial transaction direction of the target transaction in the user account and the target account; determining a transaction direction opposite to the initial transaction direction as a target transaction direction; and conducting transactions between the user account and the target account according to the target transaction direction.

[0095] Optionally, performing a second correction operation corresponding to the settlement status on the target settlement operation according to the settlement status of the target settlement operation to obtain a second correction settlement operation with a settlement status of successful settlement includes: detecting the transaction status of the target transaction, wherein the transaction status is used to indicate whether the user account and the target account have successfully conducted the target transaction; when the transaction status is used to indicate that the user account and the target account have successfully conducted the target transaction, determining the target settlement operation as the second correction settlement operation, and recording a third operation log in the user account indicating that the settlement status of the second correction settlement operation is successful settlement; when the transaction status indicates that the user account of the target user and the target account of the transaction product have not successfully conducted the target transaction, initiating the target transaction again between the user account and the target account to obtain a second reference transaction, wherein the settlement operation in the second reference transaction is the second correction settlement operation; and recording a fourth operation log in the user account indicating that the settlement status of the second correction settlement operation is successful settlement.

[0096] Optionally, detecting the account tolerance of the target account based on the account information of the target account includes: detecting the account type of the target account, wherein the account information includes the account type, and the account type includes a financial product account and a financial institution account; when the account type of the target account is the financial product account, determining the account tolerance to indicate that the target account's tolerance for asset settlement errors caused by transaction failures in transactions is lower than or equal to a target tolerance; when the account type of the target account is the financial institution account, determining the account tolerance to indicate that the target account's tolerance for asset settlement errors caused by transaction failures in transactions is higher than the target tolerance.

[0097] Optionally, detecting the response status of the target transaction includes: receiving transaction information returned by the target account in response to the target transaction; if an error code is carried in the transaction information, or if the transaction information is not received after a time threshold, determining the response status to indicate that a transaction failure has occurred during the execution of the target transaction.

[0098] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0099] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing the following method steps:

[0100] During a target transaction between a user account of a target user and a target account of a transaction product, detecting a response status of the target transaction, wherein the response status is used to indicate whether a transaction failure occurs during the execution of the target transaction;

[0101] In the case where the response status indicates that a transaction failure has occurred during the execution of the target transaction, detecting the account tolerance of the target account according to the account information of the target account, wherein the account tolerance is used to indicate the tolerance of the target account to asset settlement errors caused by the transaction failure in the transaction;

[0102] A target settlement operation executed in the target transaction is modified according to the account tolerance, wherein the target settlement operation is used to settle user assets stored in the user account.

[0103] Optionally, the correcting the target settlement operation executed in the target transaction according to the account tolerance includes: when the account tolerance is used to indicate that the tolerance of the target account for asset settlement errors caused by transaction failures in the transaction is lower than or equal to the target tolerance, performing a first correction operation corresponding to the settlement status of the target settlement operation on the target settlement operation according to the settlement status of the target settlement operation, and obtaining a first correction settlement operation with a settlement status of settlement failure; when the account tolerance is used to indicate that the tolerance of the target account for asset settlement errors caused by transaction failures in the transaction is higher than the target tolerance, performing a second correction operation corresponding to the settlement status on the target settlement operation according to the settlement status of the target settlement operation, and obtaining a second correction settlement operation with a settlement status of settlement success.

[0104] Optionally, performing a first correction operation corresponding to the settlement status of the target settlement operation on the target settlement operation according to the settlement status of the target settlement operation to obtain a first correction settlement operation with a settlement status of settlement failure includes: detecting the transaction status of the target transaction, wherein the transaction status is used to indicate whether the user account and the target account have successfully conducted the target transaction; when the transaction status is used to indicate that the user account and the target account have not successfully conducted the target transaction, determining the target settlement operation as the first correction settlement operation, and recording a first operation log in the user account indicating that the settlement status of the first correction settlement operation is settlement failure; when the transaction status indicates that the user account of the target user and the target account of the transaction product have successfully conducted the target transaction, performing a hedging operation on the target transaction to obtain a first reference transaction, wherein the settlement operation in the first reference transaction is the first correction settlement operation; and recording a second operation log in the user account indicating that the settlement status of the first correction settlement operation is settlement failure.

[0105] Optionally, performing the hedging operation on the target transaction includes: detecting an initial transaction direction of the target transaction in the user account and the target account; determining a transaction direction opposite to the initial transaction direction as a target transaction direction; and conducting transactions between the user account and the target account according to the target transaction direction.

[0106] Optionally, performing a second correction operation corresponding to the settlement status on the target settlement operation according to the settlement status of the target settlement operation to obtain a second correction settlement operation with a settlement status of successful settlement includes: detecting the transaction status of the target transaction, wherein the transaction status is used to indicate whether the user account and the target account have successfully conducted the target transaction; when the transaction status is used to indicate that the user account and the target account have successfully conducted the target transaction, determining the target settlement operation as the second correction settlement operation, and recording a third operation log in the user account indicating that the settlement status of the second correction settlement operation is successful settlement; when the transaction status indicates that the user account of the target user and the target account of the transaction product have not successfully conducted the target transaction, initiating the target transaction again between the user account and the target account to obtain a second reference transaction, wherein the settlement operation in the second reference transaction is the second correction settlement operation; and recording a fourth operation log in the user account indicating that the settlement status of the second correction settlement operation is successful settlement.

[0107] Optionally, detecting the account tolerance of the target account based on the account information of the target account includes: detecting the account type of the target account, wherein the account information includes the account type, and the account type includes a financial product account and a financial institution account; when the account type of the target account is the financial product account, determining the account tolerance to indicate that the target account's tolerance for asset settlement errors caused by transaction failures in transactions is lower than or equal to a target tolerance; when the account type of the target account is the financial institution account, determining the account tolerance to indicate that the target account's tolerance for asset settlement errors caused by transaction failures in transactions is higher than the target tolerance.

[0108] Optionally, detecting the response status of the target transaction includes: receiving transaction information returned by the target account in response to the target transaction; if an error code is carried in the transaction information, or if the transaction information is not received after a time threshold, determining the response status to indicate that a transaction failure has occurred during the execution of the target transaction.

[0109] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0110] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0111] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0112] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0113] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0114] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0115] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0116] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0117] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0118] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for responding to a transaction request, characterized in that: include: During a target transaction between a user account of a target user and a target account of a transaction product, detecting a response status of the target transaction, wherein the response status is used to indicate whether a transaction failure occurs during the execution of the target transaction; In the case where the response status indicates that a transaction failure has occurred during the execution of the target transaction, detecting the account tolerance of the target account according to the account information of the target account, wherein the account tolerance is used to indicate the tolerance of the target account to asset settlement errors caused by the transaction failure in the transaction; A target settlement operation executed in the target transaction is modified according to the account tolerance, wherein the target settlement operation is used to settle user assets stored in the user account.

2. The method according to claim 1, characterized in that The modifying the target settlement operation executed in the target transaction according to the account tolerance includes: In a case where the account tolerance is used to indicate that the tolerance of the target account to asset settlement errors caused by transaction failures in a transaction is lower than or equal to the target tolerance, a first correction operation corresponding to the settlement status of the target settlement operation is performed on the target settlement operation according to the settlement status of the target settlement operation to obtain a first correction settlement operation whose settlement status is settlement failure; In a case where the account tolerance is used to indicate that the target account's tolerance for asset settlement errors caused by transaction failures in a transaction is higher than the target tolerance, a second correction operation corresponding to the settlement status is performed on the target settlement operation according to the settlement status of the target settlement operation to obtain a second correction settlement operation with a settlement status of successful settlement.

3. The method according to claim 2, characterized in that The performing a first correction operation corresponding to the settlement status of the target settlement operation on the target settlement operation according to the settlement status of the target settlement operation to obtain a first correction settlement operation with a settlement status of settlement failure, includes: Detecting a transaction status of the target transaction, wherein the transaction status is used to indicate whether the user account and the target account have successfully performed the target transaction; In a case where the transaction status indicates that the target transaction between the user account and the target account has not been successfully performed, determining the target settlement operation as the first revised settlement operation, and recording a first operation log in the user account indicating that the settlement status of the first revised settlement operation is settlement failure; When the transaction status indicates that the user account of the target user and the target account of the transaction product have successfully conducted the target transaction, a hedging operation is performed on the target transaction to obtain a first reference transaction, wherein the settlement operation in the first reference transaction is the first revised settlement operation; and a second operation log is recorded in the user account to indicate that the settlement status of the first revised settlement operation is settlement failure.

4. The method according to claim 3, characterized in that The performing the hedging operation on the target transaction includes: Detecting an initial transaction direction of the target transaction in the user account and the target account; determining a transaction direction opposite to the initial transaction direction as a target transaction direction; The transaction is performed between the user account and the target account according to the target transaction direction.

5. The method according to claim 2, characterized in that: The performing a second correction operation corresponding to the settlement status on the target settlement operation according to the settlement status of the target settlement operation to obtain a second correction settlement operation with a settlement status of successful settlement, includes: Detecting a transaction status of the target transaction, wherein the transaction status is used to indicate whether the user account and the target account have successfully performed the target transaction; In a case where the transaction status is used to indicate that the target transaction has been successfully performed between the user account and the target account, determining the target settlement operation as the second revised settlement operation, and recording a third operation log in the user account indicating that the settlement status of the second revised settlement operation is successful settlement; When the transaction status indicates that the target transaction has not been successfully conducted between the user account of the target user and the target account of the transaction product, the target transaction is initiated again between the user account and the target account to obtain a second reference transaction, wherein the settlement operation in the second reference transaction is the second revised settlement operation; and a fourth operation log is recorded in the user account to indicate that the settlement status of the second revised settlement operation is a successful settlement.

6. The method according to claim 1, characterized in that The detecting the account tolerance of the target account according to the account information of the target account includes: Detecting the account type of the target account, wherein the account information includes the account type, and the account type includes a financial product account and a financial institution account; In a case where the account type of the target account is the financial product account, determining the account tolerance is used to indicate that the tolerance of the target account to asset settlement errors caused by transaction failures in a transaction is lower than or equal to a target tolerance; In the case where the account type of the target account is the financial institution account, determining the account tolerance is used to indicate that the tolerance of the target account to asset settlement errors caused by transaction failures in transactions is higher than the target tolerance.

7. The method according to claim 1, characterized in that The detecting the response status of the target transaction includes: Receiving transaction information returned by the target account in response to the target transaction; In the case where an error code is carried in the transaction information, or the transaction information is not received after a time threshold has passed, determining the response status is used to indicate that a transaction failure has occurred during the execution of the target transaction.

8. A transaction request response device, characterized in that: include: A first detection module is used to detect a response status of a target transaction during a target transaction between a user account of a target user and a target account of a transaction product, wherein the response status is used to indicate whether a transaction failure occurs during the execution of the target transaction; A second detection module is used to detect the account tolerance of the target account according to the account information of the target account when the response status indicates that a transaction failure has occurred during the execution of the target transaction, wherein the account tolerance is used to indicate the tolerance of the target account to asset settlement errors caused by the transaction failure in the transaction; A correction module is used to correct the target settlement operation executed in the target transaction according to the account tolerance, wherein the target settlement operation is used to settle the user assets stored in the user account.

9. A processor, characterized in that: The processor is used to run a program, wherein the program executes the method according to any one of claims 1 to 7 when running.

10. An electronic device, characterized in that: The invention comprises one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any one of claims 1 to 7.