Payment compensation method applied to transaction abnormity and related equipment
Through the automated payment compensation method, the system database and payment process node division rules are used to identify abnormal transaction links and calculate compensation amounts, which solves the problem of low efficiency of traditional payment compensation and achieves a more efficient and accurate payment compensation process.
Patent Information
- Application Number
- CN202411171683.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-12-03
AI Technical Summary
In the payment system, traditional payment compensation methods require manual intervention, resulting in high labor costs and low processing efficiency, making it difficult to accurately identify abnormal links and reasonably calculate the compensation amount.
By obtaining the payment compensation request from the user terminal, calling the system database and preset payment process node division rules, determining the abnormal transaction link, and calculating the compensation amount based on the compensation amount calculation model, obtaining the target payment channel that meets the compensation amount, and realizing automated payment Compensation operation.
Improve the accuracy, efficiency and safety of payment compensation, reduce the need for manual intervention, and reduce labor costs.
Smart Images

Figure CN119067673A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of transaction security technology, and in particular to a payment compensation method and related equipment applied to transaction anomalies. Background Art
[0002] In the payment system, when users encounter transaction anomalies and request compensation, how to accurately identify the abnormal links, reasonably calculate the compensation amount and efficiently complete the payment compensation is a complex technical challenge.
[0003] There is a payment compensation method available. When an abnormal transaction occurs, users often file complaints through customer service channels, and then the user is manually helped to handle the problem through manual intervention and verification, thereby achieving the purpose of payment compensation for the abnormal transaction.
[0004] However, the applicant found that traditional payment compensation methods require manual intervention and require close monitoring of abnormal transactions at all times, which leads to high labor costs and low payment compensation efficiency. Summary of the invention
[0005] The purpose of the embodiments of the present application is to propose a payment compensation method and related equipment for abnormal transactions, so as to solve the problems of high labor costs and low processing efficiency in traditional payment compensation methods.
[0006] In order to solve the above technical problems, the embodiment of the present application provides a payment compensation method applied to transaction abnormalities, which adopts the following technical solution:
[0007] Acquire a payment compensation request sent by a user terminal, wherein the payment compensation request includes a serial number;
[0008] Calling a system database, and obtaining transaction record information corresponding to the serial number in the system database;
[0009] Calling a preset payment process node division rule to obtain an abnormal transaction link corresponding to the transaction record information;
[0010] Calculate the compensation amount of the payment compensation request according to the abnormal transaction link and the compensation amount calculation model;
[0011] Obtain a list of currently available payment channels, and obtain a target payment channel that meets the compensation amount in the payment channel list;
[0012] Perform a payment compensation operation on the payment compensation request according to the target payment channel.
[0013] Furthermore, the step of calling a preset payment process node division rule to obtain an abnormal transaction link corresponding to the transaction record information specifically includes the following steps:
[0014] Determine the current transaction node of the transaction record information according to the payment process node division rule;
[0015] Determining expected payment status information corresponding to the current transaction node;
[0016] Acquire current payment status information in the abnormal transaction link, and compare the current payment status information with the expected payment status information to obtain a difference result;
[0017] The abnormal transaction link is confirmed according to the difference result.
[0018] Furthermore, the step of obtaining a list of currently available payment channels and obtaining a target payment channel that meets the compensation amount in the list of payment channels specifically includes the following steps:
[0019] Scoring the payment channels in the payment channel list according to a multi-factor scoring model to obtain a channel score;
[0020] The payment channel with the largest channel score value is used as the target payment channel.
[0021] Furthermore, the step of performing a payment compensation operation on the payment compensation request according to the target payment channel specifically includes the following steps:
[0022] Collecting the indicator data of the payment compensation operation in real time to obtain the original data stream;
[0023] Calculating the short-term fluctuation of each indicator of the original data stream according to the sliding time window to obtain the fluctuation value of each indicator;
[0024] Determine whether the fluctuation values of each of the indicators meet the preset indicator fluctuation threshold;
[0025] If the fluctuation value of at least one indicator does not meet the preset indicator fluctuation threshold, an early warning signal is output;
[0026] If the fluctuation values of the various indicators meet the preset indicator fluctuation thresholds, the warning signal is not output.
[0027] Furthermore, after the step of outputting a warning signal if the fluctuation value of at least one indicator does not meet the preset indicator fluctuation threshold, the following steps are also included:
[0028] Adjusting the execution strategy of the payment compensation operation, wherein the execution strategy includes one or more of reducing the concurrency of the payment compensation operation and reducing the scale of the payment compensation operation;
[0029] Collecting the current indicator data of the payment compensation operation in real time to obtain the current data stream;
[0030] Calculating the current fluctuation value of each indicator according to the current data flow, and confirming whether the current fluctuation value meets the preset indicator fluctuation threshold;
[0031] If the current fluctuation value meets the preset indicator fluctuation threshold, stop outputting the warning signal;
[0032] If the current fluctuation value does not meet the preset indicator fluctuation threshold, the payment compensation operation is suspended.
[0033] In order to solve the above technical problems, the embodiment of the present application further provides a payment compensation device applied to abnormal transactions, which adopts the following technical solution:
[0034] A request acquisition module, used to acquire a payment compensation request sent by a user terminal, wherein the payment compensation request includes a serial number;
[0035] A transaction data acquisition module, used to call a system database and acquire transaction record information corresponding to the serial number in the system database;
[0036] A transaction link confirmation module, used to call a preset payment process node division rule to obtain an abnormal transaction link corresponding to the transaction record information;
[0037] A compensation amount acquisition module, used to calculate the compensation amount of the payment compensation request according to the abnormal transaction link and the compensation amount calculation model;
[0038] A payment channel acquisition module, used to acquire a list of currently available payment channels, and acquire a target payment channel that meets the compensation amount from the payment channel list;
[0039] The payment compensation module is used to perform a payment compensation operation on the payment compensation request according to the target payment channel.
[0040] Furthermore, the transaction link confirmation module includes:
[0041] A transaction node confirmation submodule, used to determine the current transaction node of the transaction record information according to the payment process node division rule;
[0042] A payment status confirmation submodule, used to determine expected payment status information corresponding to the current transaction node;
[0043] The payment status comparison submodule is used to obtain the current payment status information in the abnormal transaction link, and compare the current payment status information with the expected payment status information to obtain a difference result;
[0044] The transaction link confirmation submodule is used to confirm the abnormal transaction link according to the difference result.
[0045] Furthermore, the payment channel acquisition module includes:
[0046] A scoring submodule, used for scoring the payment channels in the payment channel list according to a multi-factor scoring model to obtain a channel score;
[0047] The payment channel acquisition submodule is used to take the payment channel with the largest channel score value as the target payment channel.
[0048] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:
[0049] The method comprises a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the payment compensation method applied to transaction abnormalities as described above when executing the computer-readable instructions.
[0050] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:
[0051] The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps of the payment compensation method applied to transaction anomalies as described above are implemented.
[0052] The present application provides a payment compensation method for abnormal transactions, including: obtaining a payment compensation request sent by a user terminal, wherein the payment compensation request includes a serial number; calling a system database, and obtaining transaction record information corresponding to the serial number in the system database; calling a preset payment process node division rule to obtain an abnormal transaction link corresponding to the transaction record information; calculating the compensation amount of the payment compensation request according to the abnormal transaction link and the compensation amount calculation model; obtaining a list of currently available payment channels, and obtaining a target payment channel that meets the compensation amount in the payment channel list; and performing a payment compensation operation on the payment compensation request according to the target payment channel. Compared with the prior art, the present application effectively improves the accuracy, efficiency and security of payment compensation. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0054] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;
[0055] Figure 2 This is a flow chart of the implementation of the payment compensation method for transaction abnormality provided in the first embodiment of the present application;
[0056] Figure 3 It is a structural diagram of a payment compensation device for abnormal transactions provided in Embodiment 2 of the present application;
[0057] Figure 4 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION
[0058] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0059] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0060] 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 accompanying drawings.
[0061] like Figure 1As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0062] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0063] The terminal devices 101, 102, and 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, desktop computers, etc.
[0064] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .
[0065] It should be noted that the payment compensation method for transaction anomalies provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the payment compensation device for transaction anomalies is generally arranged in the server / terminal device.
[0066] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0067] Embodiment 1
[0068] Continue to refer Figure 2 , shows a flow chart of an embodiment of a payment compensation method for transaction abnormality according to the present application. The payment compensation method for transaction abnormality includes: step S201, step S202, step S203, step S204, step S205 and step S206.
[0069] In step S201, a payment compensation request sent by a user terminal is obtained, wherein the payment compensation request includes a serial number.
[0070] In the embodiments of the present application, the user terminal refers to a terminal device used to execute the image processing method for preventing document abuse provided by the present application. The user terminal can be a mobile terminal such as a mobile phone, a smart phone, a laptop computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, etc., as well as a fixed terminal such as a digital TV, a desktop computer, etc. It should be understood that the examples of user terminals here are only for the convenience of understanding and are not used to limit the present application.
[0071] In step S202, the system database is called to obtain transaction record information corresponding to the serial number in the system database.
[0072] In an embodiment of the present application, the system database stores relevant data information of all transactions. The present application can obtain data information related to the transaction in the system database based on the serial number, which is the unique identifier of the transaction. Specifically, the transaction record information includes detailed information such as the transaction serial number, payment channel, payment method, payment amount, account balance, payment time, and transaction counterparty information.
[0073] In step S203, the preset payment process node division rule is called to obtain the abnormal transaction link corresponding to the transaction record information.
[0074] In an embodiment of the present application, according to the preset payment process node division rules, the current transaction steps are parsed to obtain the specific position of the current node, and the current node position is compared with the preset payment process to determine the current node position.
[0075] In step S204, the compensation amount for paying the compensation request is calculated according to the abnormal transaction link and the compensation amount calculation model.
[0076] In an embodiment of the present application, the present application presets a compensation amount calculation model, which can select applicable compensation amount calculation rules and corresponding calculation formulas for different transaction node locations. The compensation amount of the above-mentioned transaction record information can be calculated according to the applicable compensation amount calculation rules and corresponding calculation formulas. Specifically, the transaction record is obtained, and by analyzing the transaction record, abnormal transaction links such as payment failure, refund delay, etc. are identified to obtain the specific abnormal transaction type; according to the abnormal transaction type, the transaction data interface is called to obtain the original transaction amount and obtain the transaction amount; through the user information database, the user level is queried to obtain the user level information as the subsequent compensation ratio An important parameter for calculation; determine the party responsible for the exception based on the transaction record, judge whether the exception is caused by the user, merchant or platform problem, and determine the information of the responsible party; call the timestamp data, calculate the duration of the abnormal state, and obtain the abnormal duration as an important parameter for calculating the compensation ratio; through the transaction history data, count the transaction frequency of users or merchants on the platform, and obtain the transaction frequency information as an important parameter for calculating the compensation ratio; call the compensation rule engine according to the information such as the exception type, user level, responsible party, abnormal duration and transaction frequency, calculate the compensation ratio, and obtain the compensation ratio data; use the compensation ratio data, multiply it by the transaction amount, calculate the compensation amount, and obtain the compensation amount.
[0077] In step S205, a list of currently available payment channels is obtained, and a target payment channel that meets the compensation amount is obtained from the list of payment channels.
[0078] In an embodiment of the present application, based on the calculated compensation amount, a list of currently available payment channels is obtained to obtain all channels that meet the payment channel availability.
[0079] In step S206, a payment compensation operation is performed on the payment compensation request according to the target payment channel.
[0080] In an embodiment of the present application, a payment compensation method for abnormal transactions is provided, including: obtaining a payment compensation request sent by a user terminal, wherein the payment compensation request includes a serial number; calling a system database, and obtaining transaction record information corresponding to the serial number in the system database; calling a preset payment process node division rule to obtain an abnormal transaction link corresponding to the transaction record information; calculating the compensation amount of the payment compensation request according to the abnormal transaction link and the compensation amount calculation model; obtaining a list of currently available payment channels, and obtaining a target payment channel that meets the compensation amount in the payment channel list; and performing a payment compensation operation on the payment compensation request according to the target payment channel. Compared with the prior art, the present application effectively improves the accuracy, efficiency and security of payment compensation.
[0081] Continue reading Figure 3, showing Figure 2 A flowchart of a specific implementation of step S** in FIG. 1 , for ease of explanation, only the part related to the present application is shown.
[0082] In some optional implementations of the embodiments of the present application, the above step S203 specifically includes the following steps:
[0083] Determine the current transaction node of the transaction record information according to the payment process node division rule;
[0084] Determine the expected payment status information corresponding to the current transaction node;
[0085] Obtain the current payment status information in the abnormal transaction link, and compare the current payment status information with the expected payment status information to obtain the difference result;
[0086] Confirm the abnormal transaction links based on the difference results.
[0087] In an embodiment of the present application, according to the preset payment process node division rules, the current transaction steps are parsed to obtain the specific position of the current node, and the current node position is compared with the preset payment process to determine the current node position.
[0088] In an embodiment of the present application, by obtaining the current transaction status and the payment status information, the payment status of the current transaction is compared with the expected payment status to determine whether there is a difference between the two.
[0089] In an embodiment of the present application, if there is a difference between the current transaction status and the expected payment status, the specific content of the difference is further analyzed based on the difference information, and each link in the payment process is gradually analyzed to determine the specific link where the payment failure occurred.
[0090] In some optional implementations of the embodiments of the present application, the above step S205 specifically includes the following steps:
[0091] The payment channels in the payment channel list are scored according to the multi-factor scoring model to obtain a channel score;
[0092] The payment channel with the largest channel score value is taken as the target payment channel.
[0093] In an embodiment of the present application, a multi-factor scoring model is used to comprehensively calculate the handling fees, arrival time, user experience score and brand reputation score of each payment channel to generate a comprehensive score; according to the comprehensive scoring results, all qualified payment channels are sorted to determine the payment channel with the highest comprehensive score; if the payment channel with the highest comprehensive score is determined, the payment channel is selected as the payment channel used for this compensation.
[0094] In some optional implementations of the embodiments of the present application, the estimated time for the funds of each payment channel to arrive at the other party's account can be determined by the payment channel arrival time, and channels with too long arrival time can be excluded.
[0095] In some optional implementation methods of the embodiments of the present application, the user experience of the payment channel can also be scored based on the user experience of the payment channel, and the payment channels that meet the limit requirements and have a reasonable arrival time can be scored to obtain a scoring result; if the user experience score of the payment channel is high, the brand reputation of the payment channel is obtained and a brand reputation score is performed.
[0096] In some optional implementations of the embodiments of the present application, the above step S206 specifically includes the following steps:
[0097] Collect indicator data of payment compensation operations in real time to obtain the original data stream;
[0098] Calculate the short-term fluctuation of each indicator of the original data stream according to the sliding time window to obtain the fluctuation value of each indicator;
[0099] Determine whether the fluctuation value of each indicator meets the preset indicator fluctuation threshold;
[0100] If the fluctuation value of at least one indicator does not meet the preset indicator fluctuation threshold, an early warning signal is output;
[0101] If the fluctuation values of each indicator meet the preset indicator fluctuation threshold, no warning signal will be output.
[0102] In an embodiment of the present application, the original data stream is obtained by real-time acquisition of indicator data such as transaction processing speed and transaction success rate in the system; according to the sliding time window size set to 1 minute or 5 minutes, the average value and standard deviation of the transaction processing speed and success rate in each time window are obtained; the set abnormal fluctuation threshold is used to detect the transaction processing speed and success rate in each time window to determine whether there is a fluctuation exceeding the threshold; if it is detected that the fluctuation of the transaction processing speed or the transaction success rate exceeds the preset abnormal fluctuation threshold, then the risk warning mechanism is triggered.
[0103] In some optional implementations of the embodiments of the present application, after the step of outputting a warning signal if the fluctuation value of at least one indicator does not meet the preset indicator fluctuation threshold, the following steps are also included:
[0104] Adjusting the execution strategy of the payment compensation operation, wherein the execution strategy includes one or more of reducing the concurrency of the payment compensation operation and reducing the scale of the payment compensation operation;
[0105] Collect the current indicator data of payment compensation operations in real time to obtain the current data stream;
[0106] Calculate the current fluctuation value of each indicator based on the current data flow, and confirm whether the current fluctuation value meets the preset indicator fluctuation threshold;
[0107] If the current fluctuation value meets the preset indicator fluctuation threshold, the warning signal output will stop;
[0108] If the current fluctuation value does not meet the preset indicator fluctuation threshold, the compensation payment operation will be suspended.
[0109] In an embodiment of the present application, the execution strategy of the compensation task is adjusted according to the detected abnormal situation, and specific measures such as reducing concurrency, reducing task scale or suspending the task are selected; by continuously monitoring the execution status of the adjusted compensation task, indicator data such as the transaction processing speed and transaction success rate of the adjusted task are collected in real time to obtain the real-time execution status of the adjusted task; and it is determined whether the fluctuations in the transaction processing speed and success rate of the adjusted task have returned to normal.
[0110] In an embodiment of the present application, if the indicator returns to the normal range and lasts for a certain period of time, it is determined that the risk has been lifted; if it is determined that the risk has been lifted, the compensation task is restored to the normal execution state based on the compensation task recovery conditions, and the concurrency and task scale are adjusted back to the original settings; the transaction processing speed and success rate and other indicator data after the normal execution state is restored are obtained, and are re-included in the sliding time window for monitoring to ensure real-time collection and detection and maintain stable operation of the system.
[0111] In the embodiment of the present application, if the indicator does not return to the normal range, it means that the payment compensation operation has certain risks and needs to be suspended.
[0112] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0113] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0114] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0115] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0116] Embodiment 2
[0117] Further references Figure 3 , as a response to the above Figure 2 The present application provides an embodiment of a payment compensation device for abnormal transactions. Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0118] like Figure 3 As shown, the payment compensation device 200 applied to transaction abnormality in the embodiment of the present application includes:
[0119] The request acquisition module 210 is used to acquire the payment compensation request sent by the user terminal, wherein the payment compensation request includes a serial number;
[0120] The transaction data acquisition module 220 is used to call the system database and obtain the transaction record information corresponding to the serial number in the system database;
[0121] The transaction link confirmation module 230 is used to call the preset payment process node division rule to obtain the abnormal transaction link corresponding to the transaction record information;
[0122] The compensation amount acquisition module 240 is used to calculate the compensation amount of the compensation request according to the abnormal transaction link and the compensation amount calculation model;
[0123] The payment channel acquisition module 250 is used to acquire a list of currently available payment channels, and acquire a target payment channel that meets the compensation amount in the payment channel list;
[0124] The payment compensation module 260 is used to perform a payment compensation operation on the payment compensation request according to the target payment channel.
[0125] In an embodiment of the present application, a payment compensation device 200 applied to transaction abnormality is provided, including: a request acquisition module 210, used to acquire a payment compensation request sent by a user terminal, wherein the payment compensation request includes a serial number; a transaction data acquisition module 220, used to call a system database, and acquire transaction record information corresponding to the serial number in the system database; a transaction link confirmation module 230, used to call a preset payment process node division rule to acquire an abnormal transaction link corresponding to the transaction record information; a compensation amount acquisition module 240, used to calculate the compensation amount of the payment compensation request according to the abnormal transaction link and the compensation amount calculation model; a payment channel acquisition module 250, used to acquire a list of currently available payment channels, and acquire a target payment channel that meets the compensation amount in the payment channel list; a payment compensation module 260, used to perform a payment compensation operation on the payment compensation request according to the target payment channel. Compared with the prior art, the present application effectively improves the accuracy, efficiency and security of payment compensation.
[0126] In some optional implementations of the embodiments of the present application, the transaction link confirmation module includes:
[0127] The transaction node confirmation submodule is used to determine the current transaction node of the transaction record information according to the payment process node division rule;
[0128] The payment status confirmation submodule is used to determine the expected payment status information corresponding to the current transaction node;
[0129] The payment status comparison submodule is used to obtain the current payment status information in the abnormal transaction link, and compare the current payment status information with the expected payment status information to obtain the difference result;
[0130] The transaction link confirmation submodule is used to confirm abnormal transaction links based on the difference results.
[0131] In some optional implementations of the embodiments of the present application, the payment channel acquisition module includes:
[0132] The scoring submodule is used to score the payment channels in the payment channel list according to the multi-factor scoring model to obtain channel scores;
[0133] The payment channel acquisition submodule is used to select the payment channel with the largest channel score value as the target payment channel.
[0134] To solve the above technical problems, the present application also provides a computer device. Figure 4 , Figure 4 This is a basic structural block diagram of a computer device according to an embodiment of the present application.
[0135] The computer device 300 includes a memory 310, a processor 320, and a network interface 330 that are interconnected and communicated through a system bus. It should be noted that the figure only shows a computer device 300 having components 310-330, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital processors (DSPs), embedded devices, etc.
[0136] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.
[0137] The memory 310 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 310 can be an internal storage unit of the computer device 300, such as a hard disk or memory of the computer device 300. In other embodiments, the memory 310 can also be an external storage device of the computer device 300, such as a plug-in hard disk equipped on the computer device 300, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card, etc. Of course, the memory 310 can also include both the internal storage unit of the computer device 300 and its external storage device. In the embodiment of the present application, the memory 310 is generally used to store the operating system and various application software installed on the computer device 300, such as computer-readable instructions for payment compensation methods for abnormal transactions, etc. In addition, the memory 310 can also be used to temporarily store various data that have been output or are to be output.
[0138] The processor 320 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 320 is generally used to control the overall operation of the computer device 300. In the embodiment of the present application, the processor 320 is used to run the computer-readable instructions stored in the memory 310 or process data, such as running the computer-readable instructions of the payment compensation method applied to transaction abnormalities.
[0139] The network interface 330 may include a wireless network interface or a wired network interface. The network interface 330 is generally used to establish a communication connection between the computer device 300 and other electronic devices.
[0140] The computer equipment provided by this application effectively improves the accuracy, efficiency and security of payment compensation.
[0141] The present application also provides another embodiment, namely, providing a computer-readable storage medium, which stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the payment compensation method applied to transaction anomalies as described above.
[0142] The computer-readable storage medium provided by this application effectively improves the accuracy, efficiency and security of payment compensation.
[0143] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0144] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.
Claims
1. A payment compensation method applied to abnormal transactions, characterized in that: The steps include: Acquire a payment compensation request sent by a user terminal, wherein the payment compensation request includes a serial number; Calling a system database, and obtaining transaction record information corresponding to the serial number in the system database; Calling a preset payment process node division rule to obtain an abnormal transaction link corresponding to the transaction record information; Calculate the compensation amount of the payment compensation request according to the abnormal transaction link and the compensation amount calculation model; Obtain a list of currently available payment channels, and obtain a target payment channel that meets the compensation amount in the payment channel list; Perform a payment compensation operation on the payment compensation request according to the target payment channel.
2. The payment compensation method for abnormal transactions according to claim 1, characterized in that: The step of calling a preset payment process node division rule to obtain an abnormal transaction link corresponding to the transaction record information specifically includes the following steps: Determine the current transaction node of the transaction record information according to the payment process node division rule; Determining expected payment status information corresponding to the current transaction node; Acquire current payment status information in the abnormal transaction link, and compare the current payment status information with the expected payment status information to obtain a difference result; The abnormal transaction link is confirmed according to the difference result.
3. The payment compensation method for abnormal transactions according to claim 1, characterized in that: The step of obtaining a list of currently available payment channels, and obtaining a target payment channel that meets the compensation amount in the list of payment channels, specifically includes the following steps: Scoring the payment channels in the payment channel list according to a multi-factor scoring model to obtain a channel score; The payment channel with the largest channel score value is used as the target payment channel.
4. The payment compensation method for abnormal transactions according to claim 1, characterized in that: The step of performing a payment compensation operation on the payment compensation request according to the target payment channel specifically includes the following steps: Collecting the indicator data of the payment compensation operation in real time to obtain the original data stream; Calculating the short-term fluctuation of each indicator of the original data stream according to the sliding time window to obtain the fluctuation value of each indicator; Determine whether the fluctuation values of each of the indicators meet the preset indicator fluctuation threshold; If the fluctuation value of at least one indicator does not meet the preset indicator fluctuation threshold, an early warning signal is output; If the fluctuation values of the various indicators meet the preset indicator fluctuation thresholds, the warning signal is not output.
5. The payment compensation method for abnormal transactions according to claim 4, characterized in that: After the step of outputting a warning signal if the fluctuation value of at least one indicator does not meet the preset indicator fluctuation threshold, the following steps are also included: Adjusting the execution strategy of the payment compensation operation, wherein the execution strategy includes one or more of reducing the concurrency of the payment compensation operation and reducing the scale of the payment compensation operation; Collecting the current indicator data of the payment compensation operation in real time to obtain the current data stream; Calculating the current fluctuation value of each indicator according to the current data flow, and confirming whether the current fluctuation value meets the preset indicator fluctuation threshold; If the current fluctuation value meets the preset indicator fluctuation threshold, stop outputting the warning signal; If the current fluctuation value does not meet the preset indicator fluctuation threshold, the payment compensation operation is suspended.
6. A payment compensation device for abnormal transactions, characterized in that: include: A request acquisition module, used to acquire a payment compensation request sent by a user terminal, wherein the payment compensation request includes a serial number; A transaction data acquisition module, used to call a system database and acquire transaction record information corresponding to the serial number in the system database; A transaction link confirmation module, used to call a preset payment process node division rule to obtain an abnormal transaction link corresponding to the transaction record information; A compensation amount acquisition module, used to calculate the compensation amount of the payment compensation request according to the abnormal transaction link and the compensation amount calculation model; A payment channel acquisition module, used to acquire a list of currently available payment channels, and acquire a target payment channel that meets the compensation amount from the payment channel list; The payment compensation module is used to perform a payment compensation operation on the payment compensation request according to the target payment channel.
7. The payment compensation device for abnormal transactions according to claim 6, characterized in that: The transaction link confirmation module includes: A transaction node confirmation submodule, used to determine the current transaction node of the transaction record information according to the payment process node division rule; A payment status confirmation submodule, used to determine expected payment status information corresponding to the current transaction node; The payment status comparison submodule is used to obtain the current payment status information in the abnormal transaction link, and compare the current payment status information with the expected payment status information to obtain a difference result; The transaction link confirmation submodule is used to confirm the abnormal transaction link according to the difference result.
8. The payment compensation device for abnormal transactions according to claim 6, characterized in that: The payment channel acquisition module includes: A scoring submodule, used for scoring the payment channels in the payment channel list according to a multi-factor scoring model to obtain a channel score; The payment channel acquisition submodule is used to take the payment channel with the largest channel score value as the target payment channel.
9. A computer device comprising a memory and a processor, characterized in that: The memory stores computer-readable instructions, and when the processor executes the computer-readable instructions, the steps of the payment compensation method applied to transaction abnormalities as described in any one of claims 1 to 5 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the steps of the payment compensation method for transaction abnormalities as described in any one of claims 1 to 5.
Citation Information
Cited By
Payment state determination method and device, storage medium and electronic equipment
CN119887215A
