TWI701631B - Method and device for fund recovery - Google Patents

Method and device for fund recovery Download PDF

Info

Publication number
TWI701631B
TWI701631B TW104142097A TW104142097A TWI701631B TW I701631 B TWI701631 B TW I701631B TW 104142097 A TW104142097 A TW 104142097A TW 104142097 A TW104142097 A TW 104142097A TW I701631 B TWI701631 B TW I701631B
Authority
TW
Taiwan
Prior art keywords
recovery
arrears
details
application
fund
Prior art date
Application number
TW104142097A
Other languages
Chinese (zh)
Other versions
TW201638854A (en
Inventor
紀大松
Original Assignee
香港商阿里巴巴集團服務有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 香港商阿里巴巴集團服務有限公司 filed Critical 香港商阿里巴巴集團服務有限公司
Publication of TW201638854A publication Critical patent/TW201638854A/en
Application granted granted Critical
Publication of TWI701631B publication Critical patent/TWI701631B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes

Abstract

本申請提供一種資金追償的方法,包括:接收並保存業務系統發送的欠款明細;篩選滿足追償申請條件的欠款明細,生成追償申請單;根據追償申請單進行資金操作;按照預置的資金回填規則,將獲得的資金分配給用於生成追償申請單的欠款明細。透過本申請的技術方案,不再需要每個業務系統分別實現追償功能,避免了大量的重複勞動,提高了業務系統和支付系統的性能。 This application provides a method for fund recovery, including: receiving and saving the details of arrears sent by the business system; screening the details of arrears that meet the requirements of the recovery application to generate a recovery application; performing fund operations according to the recovery application; and following the preset funds Backfill rules, allocate the funds obtained to the arrears details used to generate the recovery application. Through the technical solution of this application, it is no longer necessary for each business system to implement the recovery function separately, avoiding a large amount of duplication of labor, and improving the performance of the business system and the payment system.

Description

資金追償的方法及裝置 Method and device for fund recovery

本申請關於資料處理領域,尤其關於一種資金追償的方法及裝置。 This application relates to the field of data processing, in particular to a method and device for fund recovery.

隨著互聯網支付的日益普及,透過第三方支付系統進行的各種業務層出不窮。在一些業務場景中,業務系統在特定條件下會為用戶或商戶先行墊付資金,然後透過支付系統向預授權的帳戶進行資金追償。 With the increasing popularity of Internet payment, various businesses through third-party payment systems emerge in endlessly. In some business scenarios, the business system will advance funds for users or merchants under certain conditions, and then recover funds from pre-authorized accounts through the payment system.

例如,當具有極速退款資質的用戶退貨時,處理退貨的業務系統可以從商戶的保證金帳戶中先行將需要退還的款項透過支付系統支付給使用者,然後向支付系統提交追償申請,請求支付系統從商戶的預授權帳戶中追償保證金不足的部分。 For example, when a user who is qualified for a fast refund returns a product, the business system that handles the return can first pay the refundable money to the user through the payment system from the merchant’s margin account, and then submit a recovery application to the payment system to request the payment system Recover the insufficient margin from the merchant’s pre-authorized account.

現有技術中,每個業務系統分別進行各自的資金追償,這樣每個業務系統都需要實現資金追償的功能,造成了大量的重複勞動。另外,支付系統在針對某個業務系統的追償請求進行資金操作時,需要對一些與欠款金額或帳戶金額相關的變數加鎖;隨著進行追償請求的業務系統數 量的增加,資金操作因這些變數處於加鎖狀態而失敗的可能性也不斷提高,重複進行追償請求會降低業務系統和支付系統的性能。 In the prior art, each business system performs its own fund recovery, so that each business system needs to realize the function of fund recovery, causing a lot of duplication of labor. In addition, the payment system needs to lock some variables related to the amount of arrears or the account amount when performing fund operations in response to the recovery request of a certain business system; as the number of business systems making the recovery request With the increase of the amount, the possibility of capital operation failure due to the locked state of these variables is also increasing. Repeated claims for compensation will reduce the performance of the business system and the payment system.

有鑑於此,本申請提供一種資金追償的方法,包括:接收並保存業務系統發送的欠款明細;篩選滿足追償申請條件的欠款明細,生成追償申請單;根據追償申請單進行資金操作;按照預置的資金回填規則,將獲得的資金分配給用於生成追償申請單的欠款明細。 In view of this, this application provides a method of fund recovery, including: receiving and saving the arrears details sent by the business system; screening the arrears details that meet the requirements of the recovery application to generate a recovery application form; performing fund operations according to the recovery application form; The preset fund backfilling rules allocate the obtained funds to the arrears details used to generate the recovery application.

本申請還提供了一種資金追償的裝置,包括:欠款明細接收單元,用於接收並保存業務系統發送的欠款明細;追償申請生成單元,用於篩選滿足追償申請條件的欠款明細,生成追償申請單;資金操作單元,用於根據追償申請單進行資金操作;資金分配單元,用於按照預置的資金回填規則,將獲得的資金分配給用於生成追償申請單的欠款明細。 This application also provides a device for fund recovery, including: arrears details receiving unit, used to receive and save the arrears details sent by the business system; recovery application generating unit, used to screen the arrears details that meet the requirements of the recovery application, and generate The application form for recovery; the fund operation unit is used to perform fund operations according to the application form for recovery; the fund allocation unit is used to allocate the obtained funds to the arrears details used to generate the application form for recovery in accordance with preset fund backfilling rules.

由以上技術方案可見,本申請的實施例透過將各個業務系統的欠款明細集中後統一進行追償,不再需要每個業務系統分別實現追償功能,避免了大量的重複勞動,提高了業務系統的性能;根據欠款明細生成追償申請單後進行 統一的資金操作避免了針對支付系統的來自多個業務系統的大量併發追償申請,降低了支付系統的負荷。 It can be seen from the above technical solutions that the embodiment of the present application collects the arrears of each business system and then collects it in a unified manner. It is no longer necessary for each business system to implement the recovery function separately, avoiding a large amount of duplication of labor, and improving the performance of the business system. Performance; based on the arrears details to generate a recovery application form The unified fund operation avoids a large number of concurrent claims for the payment system from multiple business systems and reduces the load on the payment system.

圖1是現有技術中一種實現資金追償的網路結構圖;圖2是本申請實施例中一種實現資金追償的網路結構示例圖;圖3是本申請實施例中另一種實現資金追償的網路結構示例圖;圖4是本申請實施例中一種資金追償方法的流程圖;圖5是本申請應用示例中一種追償系統的功能模組示意圖;圖6是的一種伺服器的硬體結構圖;圖7是本申請實施例提供的一種資金追償的裝置的邏輯結構圖。 Figure 1 is a diagram of a network structure for realizing fund recovery in the prior art; Figure 2 is an example diagram of a network structure for realizing fund recovery in an embodiment of this application; Figure 3 is another network structure for realizing fund recovery in an embodiment of this application Road structure example diagram; Figure 4 is a flowchart of a fund recovery method in an embodiment of this application; Figure 5 is a schematic diagram of functional modules of a recovery system in an application example of this application; Figure 6 is a hardware structure diagram of a server Figure 7 is a logical structure diagram of a fund recovery device provided by an embodiment of this application.

現有技術中,每個需要進行資金追償的業務系統都包括用於追償的軟體模組,如圖1所示,這些軟體模組透過與支付系統交互來實現所在業務系統的資金追償。本申請的實施例提出一種新的資金追償方法,透過統一的追償機制來為各個業務系統提供資金追償介面,不再需要由每個業務系統分別實現追償功能。 In the prior art, each business system that requires fund recovery includes software modules for recovery. As shown in Figure 1, these software modules interact with the payment system to achieve fund recovery in the business system where they are located. The embodiment of the application proposes a new fund recovery method, which provides a fund recovery interface for each business system through a unified recovery mechanism, and it is no longer necessary for each business system to realize the recovery function separately.

本申請實施例中的追償方法可以獨立運行在邏輯伺服 器(如虛擬機器、伺服器集群等)或物理伺服器上,例如,在圖2所示網路中,應用本申請實施例的追償系統連接在業務系統和支付系統之間,為業務系統實現資金追償。本申請實施例中的追償方法也可以作為支付系統中的一個組成部分來運行,例如圖3所示的網路中為多個業務系統進行追償的軟體模組。為表述方便,以下將運行本申請實施例方法的主體稱為追償系統。 The compensation method in the embodiment of this application can run independently on the logic servo Server (such as virtual machines, server clusters, etc.) or physical servers, for example, in the network shown in Figure 2, the application of the recovery system of the embodiment of the application is connected between the business system and the payment system to implement the business system Fund recovery. The compensation method in the embodiment of the present application can also be run as a component of the payment system, such as a software module that performs compensation for multiple business systems in the network shown in FIG. 3. For the convenience of presentation, the main body that runs the method of the embodiment of the present application is referred to as the recovery system below.

本實施例中,資金追償方法的流程如圖4所示。 In this embodiment, the flow of the fund recovery method is shown in FIG. 4.

步驟410,接收並保存業務系統發送的欠款明細。 Step 410: Receive and save the arrears details sent by the business system.

當業務系統發生需要進行資金追償的業務項目時,生成欠款明細發送給追償系統。欠款明細的格式通用於各個業務系統,每條欠款明細包括欠款金額、以及扣款的預授權帳戶或者其他用來確定從哪個預授權帳戶扣款的資訊,此外還可以包括其他資訊,如業務類型、欠款發生的時間、追償時限等。欠款明細中的具體內容可以根據實際應用場景的需要來確定。 When a business item that requires fund recovery occurs in the business system, the arrears details are generated and sent to the recovery system. The format of arrears details is commonly used in various business systems. Each arrears details includes the amount of arrears, and the pre-authorized account for deduction or other information used to determine which pre-authorized account to deduct from, and can also include other information. Such as the type of business, the time of occurrence of arrears, and the time limit for recovery. The specific content in the arrears details can be determined according to the needs of actual application scenarios.

各個業務系統可以隨時將生成的欠款明細發送給追償系統,也可以以一定時間為週期、或以一定欠款明細條數為週期向追償系統發送欠款明細。追償系統保存從各個業務系統收到的欠款明細。 Each business system can send the generated arrears details to the recovery system at any time, or send the arrears details to the recovery system in a certain period of time or a certain number of arrears. The recovery system saves the details of the arrears received from each business system.

步驟420,篩選滿足追償申請條件的欠款明細,生成追償申請單。 Step 420: Screen the details of arrears that meet the requirements of the recovery application, and generate a recovery application form.

管理員可以設置並保存追償申請條件,追償系統讀取這些追償申請條件,在從業務系統接收的欠款明細中將符 合追償申請條件的欠款明細篩選出來,根據篩選出的欠款明細生成追償申請單。 The administrator can set and save the recovery application conditions. The recovery system reads these recovery application conditions and will match them in the arrears details received from the business system. The details of arrears that meet the requirements of the recovery application are screened out, and a recovery application form is generated based on the screened details of arrears.

通常可以利用欠款明細中的內容來設置追償申請條件,例如,追償申請條件可以是欠款時間條件、業務類型條件、或欠款金額條件,也可以是以上各個條件的組合。具體而言,追償申請條件可以是欠款時間為某個月,可以是欠款金額小於某個設定值,可以是設定業務類型和欠款時間為設定區間等等。 Generally, you can use the content of the arrears details to set the conditions for the application for recovery. For example, the conditions for the application for recovery can be arrears time conditions, business type conditions, or arrears amount conditions, or a combination of the above conditions. Specifically, the application condition for recovery can be that the arrears period is a certain month, the arrears amount is less than a certain set value, the business type and the arrears period are set as a set interval, and so on.

在一些應用場景中,可以預置調度規則,由追償系統按照調度規則,從欠款明細中篩選滿足追償申請條件的明細條目,來生成追償申請單。例如,調度規則可以包括設定的時間頻率和設定的預授權帳戶數量,當調度週期到時,追償系統從滿足追償申請條件的欠款明細中取出針對設定數量的預授權帳戶的欠款明細,用取出的欠款明細來生成追償申請單。 In some application scenarios, scheduling rules can be preset, and the recovery system will filter the detailed items that meet the requirements of the recovery application from the list of arrears according to the scheduling rules to generate a recovery application form. For example, the scheduling rule can include the set time frequency and the set number of pre-authorized accounts. When the scheduling period is up, the recovery system will take out the details of the arrears for the set number of pre-authorized accounts from the arrears details that meet the requirements of the recovery application. Take out the details of arrears to generate a recovery application form.

追償申請單中包括追償系統透過支付系統追索資金所需的資訊,如預授權帳戶、以及某一個預授權帳戶在本次追償中需要追償的總金額。在追償系統將篩選出的欠款明細生成追償申請單的過程中,可以將針對一個預授權帳戶的多個欠款明細的欠款金額進行匯總,這樣追償系統與支付系統之間只需進行一次資金操作即可完成多個欠款明細的追償,減少了支付系統的操作,提高了支付系統的性能。 The recovery application form includes the information required by the recovery system to recover funds through the payment system, such as a pre-authorized account and the total amount of a pre-authorized account that needs to be recovered in this recovery. When the recovery system generates a recovery application form from the selected arrears details, the amount of arrears for multiple arrears details of a pre-authorized account can be summarized, so that only once between the recovery system and the payment system Funding operations can complete the recovery of multiple arrears details, which reduces the operation of the payment system and improves the performance of the payment system.

步驟430,根據追償申請單進行資金操作。 Step 430: Perform fund operations according to the recovery application form.

根據追償申請單,追償系統向支付系統提出追償申請,與支付系統之間進行資金操作,獲得追償資金。提出追償申請以及資金操作的過程可以參照現有技術來進行,不再贅述。 According to the recovery application form, the recovery system submits a recovery application to the payment system, conducts fund operations with the payment system, and obtains recovery funds. The process of filing an application for reimbursement and fund operation can be carried out with reference to the existing technology, and will not be repeated.

步驟440,按照預置的資金回填規則,將獲得的資金分配給用於生成追償申請單的欠款明細。 Step 440: According to the preset fund backfilling rules, the obtained funds are allocated to the arrears details used to generate the recovery application form.

如果預授權帳戶中的餘額小於在一次追償申請中該預授權帳戶需要扣除的總金額,這次追償將無法獲得足額的資金。根據實際應用的需求,對這種情況可以扣除預授權帳戶中能夠扣除的最大金額,也可以不扣除。 If the balance in the pre-authorized account is less than the total amount that needs to be deducted from the pre-authorized account in a recovery application, the full amount of funds will not be obtained for this recovery. According to actual application requirements, the maximum amount that can be deducted in the pre-authorized account can be deducted or not deducted in this case.

對獲得的追償資金,追償系統按照預置的資金回填規則分配給用於生成追償申請單的欠款明細。資金回填規則可以根據實際應用的需求來設置,例如,可以是優先償還欠款時間長的欠款明細,可以是優先償還欠款金額小的欠款明細,或者還可以是優先償還設定業務類型的欠款明細。 For the obtained recovery funds, the recovery system allocates the arrears details used to generate the recovery application form according to the preset fund backfilling rules. The fund backfilling rules can be set according to actual application requirements. For example, it can be the priority to pay back the arrears for a long time, the priority to repay the arrears with a small amount, or the priority to repay the set business type Details of arrears.

在一種實現中,可以將分配到足額資金的欠款明細從追償系統保存的欠款明細中刪除,並將未分配到足額資金的欠款明細的欠款金額修改為還未追償到的數額,這樣每次生成追償申請單時,從所有保存的欠款明細中進行篩選即可。 In one implementation, the arrears details allocated to the full amount of funds can be deleted from the arrears details stored in the recovery system, and the arrears of the arrears details that are not allocated to the full amount of funds can be modified to those that have not been recovered Amount, so that every time a recovery application form is generated, it can be filtered from all the stored arrears details.

在另一種實現中,可以為每條欠款明細設置追償狀態,包括未追償、已追償和部分追償三種,其中,未追償表示該條欠款明細尚未用於生成追償申請單或者曾經用於 生成追償申請單但未被分配追償資金;已追償表示該條欠款明細已經獲得足額追償資金;部分追償表示該條欠款明細已被分配追償資金但尚未足額,對部分追償的欠款明細還需記錄已分配的金額或者還需追償的欠款金額。在這種實現中,生成追償申請單前,在追償狀態為未追償或部分追償的欠款明細中篩選滿足追償申請條件的欠款明細;當根據追償申請單獲得資金後,如果追償系統分配給某條欠款明細的資金足額,則將這條欠款明細的追償狀態更改為已追償;如果不足額則將這條欠款明細的追償狀態更改為部分追償,並記錄或更新已分配的金額或者還需追償的欠款金額。 In another implementation, the recovery status can be set for each arrears list, including three types: unrecovered, recovered and partially recovered. Among them, unrecovered means that the arrears list has not been used to generate a recovery application or has been used A recovery application form is generated but the recovery funds have not been allocated; already recovered means that the arrears details of this article have been fully recovered; partial recovery means that the arrears details of this article have been allocated but not yet in full, and partial recovery of the arrears The details also need to record the amount that has been allocated or the amount of arrears still to be recovered. In this realization, before generating a claim form, select the arrears that meet the requirements of the claim in the list of arrears whose claim status is unrecovered or partially recovered; when funds are obtained according to the claim form, if the recovery system allocates funds to If the amount of arrears is sufficient, the recovery status of this arrears list is changed to recovered; if the amount is insufficient, the recovery status of this arrears list is changed to partial recovery, and the allocated amount is recorded or updated The amount or the amount of arrears still to be recovered.

本實施例中,透過將各個業務系統的欠款明細集中後統一進行追償,不再需要每個業務系統分別實現追償功能,避免了大量的重複勞動,提高了業務系統的性能;根據欠款明細生成追償申請單後進行資金操作避免了針對支付系統的大量併發追償申請,降低了支付系統的負荷,提高了支付系統的性能。 In this embodiment, by centralizing the arrears details of each business system and then uniformly recovering, it is no longer necessary for each business system to implement the recovery function separately, avoiding a large amount of duplication of labor, and improving the performance of the business system; according to the arrears details Performing fund operations after generating the recovery application form avoids a large number of concurrent recovery applications for the payment system, reduces the load of the payment system, and improves the performance of the payment system.

追償系統可以對追償申請和資金分配的過程進行記錄。為了便於業務系統瞭解追償的具體情況,追償系統可以生成根據獲得資金的分配結果生成對應於欠款明細的追償明細,記錄一條欠款明細進行了幾次追償,每次獲得的金額是多少,以及其他資訊,如追償時間等。一條欠款明細對應於一條追償明細(例如一次足額追償的情形)或一條以上的追償明細(例如多次部分追償的情形)。 The recovery system can record the process of recovery application and fund allocation. In order to facilitate the business system to understand the specific situation of the recovery, the recovery system can generate the recovery details corresponding to the arrears according to the distribution results of the obtained funds, record how many times an arrears has been recovered, and the amount of each time obtained, and Other information, such as recovery time, etc. One item of arrears details corresponds to one item of recovery item (for example, one-time full recovery) or more than one item of recovery item (for example, multiple partial recovery).

追償系統可以採用多工或多執行緒的方式,來生成追償申請單以及進行資金操作。為了避免不同的任務或執行緒同時對同一條欠款明細進行追償,生成追償申請單前,在未被標記為追償中的欠款明細中篩選滿足追償申請條件的欠款明細;當篩選出用於生成追償申請單的欠款明細後,追償系統將這些欠款明細標記為追償中;在將獲得的資金分配給欠款明細後,清除這條欠款明細的追償中標記。這樣,在一個執行緒或任務從發起到完成對一條欠款明細的追償操作時,可以確保這條欠款明細不會被其他執行緒或任務選中。 The recovery system can adopt a multi-tasking or multi-threading method to generate a recovery application form and perform fund operations. In order to avoid different tasks or execution threads from recovering the same arrears details at the same time, before generating a recovery application form, filter the arrears details that meet the requirements of the recovery application from the arrears details that have not been marked as recovering; After generating the arrears details of the recovery application form, the recovery system will mark these arrears details as being recovered; after allocating the funds obtained to the arrears details, clear the mark in the recovery of the arrears details. In this way, when a thread or task is from initiation to completion of the recovery operation for an arrears detail, it can be ensured that this arrears detail will not be selected by other threads or tasks.

在本申請的一個應用示例中,運行本申請實施例中追償方法的追償系統包括4個功能模組:追償設置模組、欠款登記模組、調度模組和追償執行模組,如圖5所示。 In an application example of this application, the recovery system that runs the recovery method in the embodiment of this application includes 4 functional modules: a recovery setting module, a debt registration module, a scheduling module, and a recovery execution module, as shown in Figure 5. Shown.

追償設置模組向管理員提供介面,由管理員對追償系統所採用的追償申請條件、資金回填規則和調度規則進行設置。其中,調度規則包括以怎樣的頻率和幅度進行追償,比如每10分鐘追償20個預授權帳戶;追償申請條件包括按欠款時間、業務類型、欠款明細條數、最大申請金額、是否部分追償等條件來篩選欠款明細以生成追償申請單,如將當月未追償完成的欠款明細形成追償申請單;資金回填規則用於確定如何將根據追償申請單獲得的資金分配到用於生成追償申請單的欠款明細,或者說在部分追償的情況下優先償還哪些欠款明細。 The recovery setting module provides an interface to the administrator, who sets the recovery application conditions, fund backfill rules and scheduling rules adopted by the recovery system. Among them, the scheduling rules include the frequency and magnitude of the recovery, such as recovering 20 pre-authorized accounts every 10 minutes; the recovery application conditions include the time of arrears, the type of business, the number of arrears details, the maximum application amount, and whether partial recovery Wait for conditions to filter the details of arrears to generate a recovery application. For example, form the details of arrears that have not been recovered in the current month into a recovery application; the fund backfill rules are used to determine how to allocate the funds obtained from the recovery application to generate a recovery application The details of the arrears of the bill, or the details of which arrears are paid first in the case of partial recovery.

當業務系統發生墊資或保證金使用等需要進行追償的 業務時,向追償系統發送消息,登記欠款明細。欠款登記模組接收並保存來自業務系統的欠款明細,每條欠款明細包括已追償、未追償、部分追償三個追償狀態,處於部分追償狀態的欠款明細還會記錄已追償金額;處於追償過程中的欠款明細還會被追償執行模組標記為追償中。 When the business system requires advancement or use of margin, etc., it needs to be recovered When doing business, send a message to the recovery system to register the details of arrears. The arrears registration module receives and saves the arrears details from the business system. Each arrears list includes three recovery statuses: recovered, unrecovered, and partially recovered. The arrears in the partial recovery status will also record the amount of recovery; The details of arrears in the process of recovery will also be marked as being recovered by the recovery execution module.

調度模組根據預置的調度規則,調用追償執行模組來進行追償。 The scheduling module calls the compensation execution module to perform compensation according to the preset scheduling rules.

當追償執行模組被調用時,從追償狀態為未追償或部分追償、並且未被標記為追償中的欠款明細中篩選出滿足追償申請條件的欠款明細,根據篩選出的欠款明細生成追償申請單,追償申請單中記錄需要追償各個預授權帳戶的金額、以及追償的總金額。追償執行模組按照追償申請單向支付系統發起追償申請,進行真實的資金操作,如轉帳、凍結等。追償申請可能部分成功,即如果帳戶餘額不足,則按實際帳戶餘額進行追償。獲得追償資金後,根據預置的資金回填規則,追償執行模組將獲得的資金分配給用於生成追償申請單的欠款明細,將這些欠款明細的追償中標記清除,並生成追償明細。追償明細對應於欠款明細,透過追償明細可以查找到對應的欠款明細,同時透過欠款明細也可以查找到對應的一條到多條追償明細。根據資金分配的結果,追償執行模組更新用於生成追償申請單的欠款明細的追償狀態,若欠款金額足額分配,則將欠款明細的追償狀態改為已追償;未足額分配則將欠款明細的追償狀態改為部分追償,並更新欠款明細的已追償金額。 When the recovery execution module is called, the arrears details that meet the requirements of the recovery application are selected from the list of arrears that have the status of unrecovered or partially recovered and are not marked as recovering, and are generated based on the selected arrears details The application form for recovery, the application form for recovery records the amount to be recovered for each pre-authorized account and the total amount of recovery. The recovery execution module initiates a recovery application to the payment system according to the recovery application form, and performs real fund operations such as transfer and freezing. The recovery application may be partially successful, that is, if the account balance is insufficient, the actual account balance will be used for recovery. After obtaining the recovery funds, according to the preset fund backfilling rules, the recovery execution module allocates the obtained funds to the arrears details used to generate the recovery application form, clears the repayment of these arrears details, and generates the recovery details. The recovery details correspond to the arrears details. You can find the corresponding arrears details through the arrears details. At the same time, you can also find one or more corresponding recovery details through the arrears details. According to the result of the fund allocation, the recovery execution module updates the recovery status of the arrears details used to generate the recovery application. If the arrears are allocated in full, the recovery status of the arrears details is changed to recovered; under allocation Then change the recovery status of the arrears details to partial recovery, and update the recovered amount of the arrears details.

與上述流程實現對應,本申請的實施例還提供了一種資金追償的裝置。該裝置可以獨立應用在伺服器上,也可以應用在支付系統所在的伺服器上。該裝置均可以透過軟體實現,也可以透過硬體或者軟硬體結合的方式實現。以軟體實現為例,作為邏輯意義上的裝置,該裝置是透過所在伺服器的CPU將對應的電腦程式指令讀取到記憶體中運行形成的。從硬體層面而言,除了圖6所示的CPU、記憶體以及非揮發性記憶體之外,該裝置所在的伺服器通常還包括用於實現網路通信功能的板卡等其他硬體。 Corresponding to the foregoing process implementation, the embodiment of the present application also provides a device for recovering funds. The device can be used independently on the server or on the server where the payment system is located. The device can be implemented through software, or through hardware or a combination of software and hardware. Taking software implementation as an example, as a logical device, the device is formed by reading the corresponding computer program instructions into the memory through the CPU of the server where it is located. From a hardware perspective, in addition to the CPU, memory, and non-volatile memory shown in Figure 6, the server where the device is located usually includes other hardware such as boards for implementing network communication functions.

圖7所示為本實施例提供的一種資金追償的裝置,從功能上劃分,包括欠款明細接收單元、追償申請生成單元、資金操作單元和資金分配單元,其中:欠款明細接收單元用於接收並保存業務系統發送的欠款明細;追償申請生成單元用於篩選滿足追償申請條件的欠款明細,生成追償申請單;資金操作單元用於根據追償申請單進行資金操作;資金分配單元用於按照預置的資金回填規則,將獲得的資金分配給用於生成追償申請單的欠款明細。 Figure 7 shows a fund recovery device provided by this embodiment, which is functionally divided, including arrears detail receiving unit, recovery application generating unit, fund operation unit, and fund distribution unit. Among them: the arrears detail receiving unit is used for Receive and save the details of arrears sent by the business system; the recovery application generating unit is used to screen the details of arrears that meet the requirements of the recovery application and generate a recovery application form; the fund operation unit is used to perform fund operations according to the recovery application form; the fund allocation unit is used to According to the preset fund backfilling rules, the funds obtained are allocated to the arrears details used to generate the recovery application.

可選的,所述追償申請生成單元具體用於:根據預置的調度規則,篩選滿足追償申請條件的欠款明細,生成追償申請單。 Optionally, the recovery application generating unit is specifically configured to: according to preset scheduling rules, filter the details of arrears that meet the conditions of the recovery application, and generate a recovery application form.

可選的,所述欠款明細的追償狀態包括未追償、已追償和部分追償;所述追償申請生成單元具體用於:篩選滿足追償申請條件、並且追償狀態為未追償或部分追償的欠款明細,生成追償申請單;所述裝置還包括:追償狀態維 護單元,用於當分配給某條欠款明細的資金足額時,將所述欠款明細的追償狀態更改為已追償;當不足額時將所述欠款明細的追償狀態更改為部分追償。 Optionally, the recovery status of the arrears details includes unrecovered, recovered, and partial recovery; the recovery application generating unit is specifically configured to: select the arrears that meet the requirements of the recovery application and whose recovery status is unrecovered or partially recovered Details, generate a claim form; the device also includes: a claim status dimension The protection unit is used to change the recovery status of the arrears list to recovered when the funds allocated to a certain arrears list is full; when the amount is insufficient, change the recovery status of the arrears list to partial recovery .

可選的,所述裝置還包括:追償明細單元,用於根據獲得資金的分配結果生成對應於欠款明細的追償明細;一條或一條以上的追償明細對應於一條欠款明細。 Optionally, the device further includes: a recovery detail unit for generating a recovery detail corresponding to the arrears detail according to the distribution result of the obtained funds; one or more recovery detail corresponds to one arrears detail.

可選的,所述追償申請生成單元具體用於:篩選滿足追償申請條件、並且欠款明細未被標記為追償中的欠款明細,生成追償申請單;所述裝置還包括追償中標記單元和標記清除單元,其中:追償中標記單元用於將篩選出來用於生成追償申請單的欠款明細標記為追償中;標記清除單元用於在將獲得的資金分配給欠款明細後,清除所述用於生成追償申請單的欠款明細的追償中標記。 Optionally, the recovery application generating unit is specifically configured to: filter the arrears details that meet the conditions of the recovery application and the arrears details are not marked as the arrears under recovery, and generate a recovery application form; the device further includes a marking unit under recovery and The mark clearing unit, wherein: the in-recovery marking unit is used to mark the arrears details screened out for generating the application for recovery as being recovered; the mark clearing unit is used to clear the arrears details after allocating the obtained funds to the arrears details Used to generate the arrears details of the recovery application form and mark in recovery.

從以上各種方法和裝置的實施方式中可以看出,相對於現有技術中在各個業務系統上分別實現資金追償的功能,本申請的實施例透過將各個業務系統的欠款明細集中後統一進行追償,不再需要每個業務系統分別實現追償功能,避免了大量的重複勞動;統一進行資金操作避免了針對支付系統的大量併發追償申請導致的請求不成功,提高了業務系統和支付系統的性能。 It can be seen from the implementation of the various methods and devices above that, compared to the function of realizing fund recovery on each business system in the prior art, the embodiment of this application collects the arrears details of each business system and then performs the recovery in a unified manner. , It is no longer necessary for each business system to implement the recovery function separately, avoiding a large amount of repetitive labor; unified fund operation avoids unsuccessful requests caused by a large number of concurrent recovery applications for the payment system, and improves the performance of the business system and the payment system.

在一個典型的配置中,計算設備包括一個或多個處理器(CPU)、輸入/輸出介面、網路介面和記憶體。 In a typical configuration, the computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.

記憶體可能包括電腦可讀媒體中的非永久性記憶體,隨機存取記憶體(RAM)和/或非揮發性記憶體等形式, 如唯讀記憶體(ROM)或快閃記憶體(flash RAM)。記憶體是電腦可讀媒體的示例。 Memory may include non-permanent memory, random access memory (RAM) and/or non-volatile memory in computer-readable media. Such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.

電腦可讀媒體包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存媒體的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可擦除可程式設計唯讀記憶體(EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁片儲存或其他磁性存放裝置或任何其他非傳輸媒體,可用於儲存可以被計算設備訪問的資訊。按照本文中的界定,電腦可讀媒體不包括暫存電腦可讀媒體(transitory media),如調製的資料信號和載波。 Computer-readable media includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. 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), and other types of random access memory (RAM) , Read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only CD-ROM (CD-ROM), digital multi-function Optical discs (DVD) or other optical storage, magnetic cassette tapes, tape-to-disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.

還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個......”限定的要素,並不排除在包括所述要素的過程、方法、商品或者設備中還存在另外的相同要素。 It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, product or equipment including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or include elements inherent to this process, method, commodity, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity or equipment including the element.

本領域技術人員應明白,本申請的實施例可提供為方法、系統或電腦程式產品。因此,本申請可採用完全硬體實施例、完全軟體實施例或結合軟體和硬體方面的實施例的形式。而且,本申請可採用在一個或多個其中包含有電腦可用程式碼的電腦可用儲存媒體(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的電腦程式產品的形式。 Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, this application may adopt the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware. Moreover, this application can be in the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer-usable program codes .

以上所述僅為本申請的較佳實施例而已,並不用以限制本申請,凡在本申請的精神和原則之內,所做的任何修改、等同替換、改進等,均應包含在本申請保護的範圍之內。 The above are only the preferred embodiments of this application and are not intended to limit this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in this application Within the scope of protection.

Claims (8)

一種用於電子商務支付系統中的資金追償的方法,其特徵在於,包括:追償系統接收並保存從多個業務系統發送的多條欠款明細,其中,每條欠款明細設置有追償狀態,其包括未追償、已追償和部分追償;該追償系統根據預置的調度規則,從該多個業務系統接收的該多條欠款明細中篩選出滿足追償申請條件並且追償狀態為未追償或部分追償的欠款明細生成追償申請單,其中該追償申請條件包括以下各項之一或兩項及以上的組合:欠款時間條件、業務類型條件、欠款金額條件,以及其中該調度規則包括設定的時間頻率和設定的預授權帳戶數量;該追償系統根據追償申請單與支付系統之間進行資金操作,獲得追償資金;該追償系統按照預置的資金回填規則,將獲得的追償資金分配給用於生成追償申請單的欠款明細,其中,如果分配給某條欠款明細的資金足額,將該欠款明細的追償狀態更改為已追償;如果不足額則將該欠款明細的追償狀態更改為部分追償。 A method for fund recovery in an e-commerce payment system, which is characterized in that it includes: the recovery system receives and saves multiple arrears details sent from multiple business systems, wherein each arrears details is set with a recovery status, It includes unrecovered, recovered and partly recovered; the recovery system selects from the multiple arrears details received by the multiple business systems according to the preset scheduling rules to meet the recovery application conditions and the recovery status is unrecovered or partial The details of the arrears to be recovered generate a recovery application form, where the application conditions for recovery include one or a combination of two or more of the following: arrears time condition, business type condition, arrear amount condition, and the scheduling rules include setting The time frequency and the number of pre-authorized accounts set; the recovery system performs fund operations between the recovery application form and the payment system to obtain recovery funds; the recovery system distributes the acquired recovery funds to users in accordance with preset fund backfill rules To generate the arrears details of the recovery application form, in which, if the funds allocated to a certain arrears details are sufficient, the recovery status of the arrears details is changed to recovered; if the amount is insufficient, the recovery status of the arrears details Change to partial recovery. 根據申請專利範圍第1項所述的方法,其中,該方法還包括:根據獲得資金的分配結果生成對應於欠款明細的追償明細;一條或一條以上的追償明細對應於一條欠款明細。 The method according to item 1 of the scope of patent application, wherein the method further includes: generating a recovery detail corresponding to the arrears detail according to the distribution result of the obtained funds; one or more recovery detail corresponding to one arrears detail. 根據申請專利範圍第1項所述的方法,其中,該方法還包括:將篩選出來用於生成追償申請單的欠款明細標記為追償中;在將獲得的資金分配給欠款明細後,清除該用於生成追償申請單的欠款明細的追償中標記。 According to the method described in item 1 of the scope of patent application, the method further includes: marking the arrears details screened out for generating the recovery application as being recovered; after allocating the obtained funds to the arrears details, clearing This is used to generate the arrears details of the recovery application form and mark in recovery. 根據申請專利範圍第1項所述的方法,其中,該追償申請單包括單個預授權帳戶所需追償的總金額。 According to the method described in item 1 of the scope of patent application, the claim form includes the total amount of a single pre-authorized account. 根據申請專利範圍第1項所述的方法,其中,該資金回填規則包括以下各項之一:優先償還欠款時間長的欠款明細、優先償還欠款金額小的欠款明細、優先償還設定業務類型的欠款明細。 According to the method described in item 1 of the scope of patent application, the fund backfilling rules include one of the following: priority repayment details of arrears for a long time, priority repayment details of arrears with a small amount, and priority repayment settings Details of the arrears of the business type. 一種用於電子商務支付系統中的資金追償的裝置,其特徵在於,包括:欠款明細接收單元,用於接收並保存從多個業務系統發送的多條欠款明細,其中,每條欠款明細的追償狀態包括未追償、已追償和部分追償;追償申請生成單元,用於從該多個業務系統接收的該多條欠款明細中,根據預置的調度規則,篩選出滿足追償申請條件並且追償狀態為未追償或部分追償的欠款明細生成追償申請單,其中該追償申請條件包括以下各項之一或兩項及以上的組合:欠款時間條件、業務類型條件、欠款金額條件,以及其中該調度規則包括設定的時間頻率和設定的預授權帳戶數量; 資金操作單元,用於根據追償申請單進行資金操作;資金分配單元,用於按照預置的資金回填規則,將獲得的資金分配給用於生成追償申請單的欠款明細;追償狀態維護單元,用於當分配給某條欠款明細的資金足額時,將該欠款明細的追償狀態更改為已追償;當不足額時將該欠款明細的追償狀態更改為部分追償。 A device for recovering funds in an e-commerce payment system is characterized by comprising: arrears details receiving unit for receiving and storing multiple arrears details sent from multiple business systems, wherein each arrears The recovery status of the details includes unrecovered, recovered and partially recovered; the recovery application generating unit is used to select the multiple arrears details received from the multiple business systems according to the preset scheduling rules to meet the recovery application conditions And the recovery status is unrecovered or partially recovered arrears details to generate a recovery application form, where the recovery application conditions include one or a combination of two or more of the following: arrears time condition, business type condition, arrears amount condition , And the scheduling rules include the set time frequency and the set number of pre-authorized accounts; The fund operation unit is used to perform fund operations according to the recovery application form; the fund allocation unit is used to allocate the obtained funds to the arrears details used to generate the recovery application form according to the preset fund backfilling rules; the recovery status maintenance unit, It is used to change the recovery status of the arrears detail to recovered when the funds allocated to a certain arrears detail is full; when it is insufficient, change the recovery status of the arrears detail to partial recovery. 根據申請專利範圍第6項所述的裝置,其中,該裝置還包括:追償明細單元,用於根據獲得資金的分配結果生成對應於欠款明細的追償明細;一條或一條以上的追償明細對應於一條欠款明細。 The device according to item 6 of the scope of patent application, wherein the device further includes: a recovery detail unit, configured to generate a recovery detail corresponding to the arrears detail according to the distribution result of the obtained fund; one or more recovery detail corresponds to A detail of arrears. 根據申請專利範圍第6項所述的裝置,其中,該裝置還包括:追償中標記單元,用於將篩選出來用於生成追償申請單的欠款明細標記為追償中;標記清除單元,用於在將獲得的資金分配給欠款明細後,清除該用於生成追償申請單的欠款明細的追償中標記。 The device according to item 6 of the scope of patent application, wherein the device further includes: a reclaiming marking unit, which is used to mark the arrears details screened out and used to generate a recourse application form as being reclaimed; and a mark clearing unit for After allocating the obtained funds to the arrears details, clear the mark in the recovery of the arrears details used to generate the claim form.
TW104142097A 2015-04-16 2015-12-15 Method and device for fund recovery TWI701631B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510181317.4A CN106157015A (en) 2015-04-16 2015-04-16 The method and device of fund recovery
CN201510181317.4 2015-04-16

Publications (2)

Publication Number Publication Date
TW201638854A TW201638854A (en) 2016-11-01
TWI701631B true TWI701631B (en) 2020-08-11

Family

ID=57126346

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104142097A TWI701631B (en) 2015-04-16 2015-12-15 Method and device for fund recovery

Country Status (3)

Country Link
CN (1) CN106157015A (en)
TW (1) TWI701631B (en)
WO (1) WO2016168509A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110298644B (en) * 2019-05-27 2023-11-14 创新先进技术有限公司 Account additional money method, account additional money device, server and readable storage medium
CN112581078A (en) * 2020-12-02 2021-03-30 五八到家有限公司 Method and device for processing violation data of worker and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8010090B2 (en) * 2002-08-09 2011-08-30 Accenture Global Services Limited Mobile collection application
US20120109820A1 (en) * 2009-09-23 2012-05-03 Scott Galit Computer-Implemented Methods, Computer Program Products, and Systems for Enhanced Loan Product Repayments
US8380613B2 (en) * 2008-07-09 2013-02-19 Shacom.Com Inc. From indirect finance to direct finance debt-clearing system and method
US20140188716A1 (en) * 2012-12-31 2014-07-03 Volker Neuwirth Automated first party debt collection system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1973295A (en) * 2004-02-26 2007-05-30 鹫兴产株式会社 Debt reduction method and device thereof
US8346638B2 (en) * 2005-10-26 2013-01-01 Capital One Financial Corporation Systems and methods for processing transaction data to perform a merchant chargeback
CN102567875A (en) * 2011-11-04 2012-07-11 姜晓越 Third-party-dominant electronic debt repayment method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8010090B2 (en) * 2002-08-09 2011-08-30 Accenture Global Services Limited Mobile collection application
US8380613B2 (en) * 2008-07-09 2013-02-19 Shacom.Com Inc. From indirect finance to direct finance debt-clearing system and method
US20120109820A1 (en) * 2009-09-23 2012-05-03 Scott Galit Computer-Implemented Methods, Computer Program Products, and Systems for Enhanced Loan Product Repayments
US20140188716A1 (en) * 2012-12-31 2014-07-03 Volker Neuwirth Automated first party debt collection system

Also Published As

Publication number Publication date
WO2016168509A1 (en) 2016-10-20
CN106157015A (en) 2016-11-23
TW201638854A (en) 2016-11-01

Similar Documents

Publication Publication Date Title
US11170437B2 (en) Blockchain-based financing
US11961067B2 (en) Splittable security token
US20200193428A1 (en) Blockchain-based payment withholding and agreement signing method, apparatus, and electronic device
CN106651303B (en) Intelligent contract processing method and system based on template
US20120246646A1 (en) Method, system and apparatus for calculating chargeback for virtualized computing resources
CN110008018A (en) A kind of batch tasks processing method, device and equipment
US11107076B1 (en) Automatic transaction-based verification of account ownership
US11087371B2 (en) Blockchain-based invoice creation method apparatus, and electronic device
US10733583B2 (en) Blockchain-based withholding operations
TW201903662A (en) Data object display method and device
CN109615362A (en) A kind of splitting of values method, device and equipment
TWI701631B (en) Method and device for fund recovery
WO2022247964A1 (en) Receipt processing method and apparatus, electronic device, and storage medium
CN107392582B (en) Method and device for realizing resource transfer and method and device for realizing collection and payment
TW201802739A (en) Invoice title information change method, device and invoice management system
US20160034895A1 (en) Personalized budgets for financial services
CN109614263B (en) Disaster tolerance data processing method, device and system
TW202013277A (en) Subscription risk quantization method, withholding risk quantization method, apparatuses and devices
CN110175900A (en) A kind of buffering benefit account method and device
CN112449021B (en) Internet resource screening method and device
CN109359132B (en) Data processing method, device and system
CN117333186A (en) Acquisition method of credit information and establishment method and device of credit management and control rule
CN111669341A (en) Internet resource scheduling method and device
CN109961363A (en) Account checking method and device
WO2013189011A1 (en) Method and apparatus for transaction processing