Data processing method and data processing system

By sending reconciliation files, judging the liquidation mode, and adjusting virtual account balances in the data processing system, the risk of long return paths and short payments under autonomous and non-autonomous liquidation modes is solved, and the system is adapted to government funds in multiple places. Efficiency and accuracy of fund transfer for payment.

CN114708075BActive Publication Date: 2024-10-18CHINA UNIONPAY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111540209.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-16
Publication Date
2024-10-18
Estimated Expiration
2041-12-16

AI Technical Summary

Technical Problem

In the existing technology, the autonomous clearing model and the non-autonomous clearing model have problems in the industry payment business, such as long fund return paths, high risk of short payment by the clearing agency, and the inability to adapt to multi-regional government fund payment scenarios.

Method used

Designed a data processing method and system that can process financial data between the first system and the second system, by sending reconciliation files, judging the liquidation mode, adjusting the virtual account balance, judging whether the balance is sufficient and executing fund transfers. Adapt to autonomous and non-autonomous clearing models to ensure the accuracy and safety of fund transfers.

Benefits of technology

It realizes the processing of both autonomous and non-autonomous clearing modes, reduces the return path of funds, avoids short payment by clearing agencies, is suitable for multi-regional government fund payment scenarios, and improves the efficiency and accuracy of fund transfers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114708075B_ABST
    Figure CN114708075B_ABST
Patent Text Reader

Abstract

The present invention relates to a data processing method and a system thereof. The method comprises: sending a reconciliation file from a first system to a second system; judging whether the liquidation mode of the second system is an autonomous liquidation mode or a non-autonomous liquidation mode; when judging that it is an autonomous liquidation mode, adjusting the balance of a pre-set virtual account based on the reconciliation file, and when judging that it is a non-autonomous liquidation mode, adjusting the balance of a pre-set virtual account based on a reconciliation result file for the reconciliation file returned from the second system; when receiving a data transfer instruction from the second system, the second system judges whether the balance of the virtual account is sufficient to meet the transfer amount in the data transfer instruction; and if the balance meets the transfer amount, executing the data transfer from the first system to the second system. According to the present invention, the reconciliation and fund transfer requirements of the autonomous liquidation mode and the non-autonomous mode can be processed simultaneously through a unified process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to computer technology, and in particular to a data processing method and a data processing system. Background Art

[0002] There are two modes in the industry payment business of the prior art: autonomous clearing mode and non-autonomous clearing mode. For the industry payment business in the autonomous clearing mode, the clearing result is subject to the clearing result of the clearing institution, and the funds are directly transferred to the industry party account after the clearing institution completes the clearing. For the industry payment business in the non-autonomous clearing mode, the industry party sends the fund deduction information to the clearing institution through a message, and the clearing institution transfers the funds to the industry party account based on the fund deduction result of the industry party.

[0003] Problems with the voluntary liquidation model and the non-voluntary liquidation model include:

[0004] (1) For the existing self-liquidation industry collection business, the clearing results of the clearing agency shall prevail. After the end-of-day clearing is completed, the funds will be directly transferred to the industry party's account. For transactions with unclear account cancellation status in online transactions, if the industry party is ultimately unable to cancel the account, the path for the funds to be returned to the cardholder is very long. This is especially true for government funds such as social security fees and taxes. Once the funds are transferred to the treasury, it is very troublesome to return them.

[0005] (2) For the existing industry investigation and payment business of the non-autonomous clearing model, the industry party's account cancellation results are the basis, and the industry party completes the fund transfer from the specific account of the clearing institution through messages. The general practice lacks the necessary verification of the account balance, which can easily lead to a shortfall in the clearing institution in the event of an erroneous transfer by the industry party;

[0006] (3) For the collection and payment business of the same type of industry institutions, usually only one settlement mode can be adapted for fund settlement and transfer. For government fund payment, for example, because the systems of the tax bureaus in each province are independently built and deployed, the requirements of different places are also different. There is no universal processing solution that can adapt to all scenarios. Summary of the invention

[0007] In view of the above problems, the present invention aims to provide a data processing method and a data processing system that can take into account both the autonomous liquidation mode and the non-autonomous liquidation mode.

[0008] The data processing method and data processing system of the present invention can be applied to scenarios where data processing is performed on business data such as reconciliation files, transaction files, and clearing files.

[0009] A data processing method according to one aspect of the present invention is used for processing financial data between a first system and a second system, and is characterized in that the data processing method comprises:

[0010] A data sending step, sending the reconciliation file from the first system to the second system;

[0011] a mode determination step, wherein the first system determines whether the liquidation mode of the second system is an autonomous liquidation mode or a non-autonomous mode;

[0012] a data adjustment step, in which, when it is determined in the mode determination step that the second system is in autonomous liquidation mode, the first system adjusts the balance of the preset virtual account based on the reconciliation file; and, in which, when it is determined in the mode determination step that the second system is in non-autonomous liquidation mode, the first system adjusts the balance of the preset virtual account based on a reconciliation result file for the reconciliation file returned from the second system;

[0013] a balance determination step, in which, when receiving a data transfer instruction from the second system, the first system determines whether the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction; and

[0014] The data processing step is to execute the data transfer from the first system to the second system if it is determined in the balance determination step that the balance of the virtual account satisfies the transfer amount in the data transfer instruction.

[0015] Optionally, in the data adjustment step, when it is determined in the mode determination step that the second system is in autonomous liquidation mode, the first system generates a virtual account increase file based on the reconciliation file and adjusts the balance of the preset virtual account based on the virtual account increase file;

[0016] When it is determined in the mode determination step that the second system is in non-autonomous liquidation mode, the first system generates a virtual account adjustment file based on the reconciliation result file based on the reconciliation file returned from the second system, and increases the balance of the pre-set virtual account based on the virtual account adjustment file.

[0017] Optionally, in the data adjustment step, if the second system is judged to be in non-autonomous liquidation mode in the mode judgment, the first system readjusts the reconciliation file based on the reconciliation result file based on the reconciliation file returned from the second system to generate a readjusted reconciliation result file, generates a virtual account adjustment file according to the adjusted reconciliation result file, and adjusts the balance of the pre-set virtual account based on the virtual account adjustment file.

[0018] Optionally, in the data processing step, if it is determined in the balance judgment step that the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction in the transfer instruction, the balance of the virtual account corresponding to the transfer amount is first reduced, and then the data transfer from the first system to the second system is executed.

[0019] Optionally, in the data processing step, if it is determined in the balance determination step that the balance of the virtual account is insufficient to satisfy the transfer amount in the data transfer instruction in the transfer instruction, the data transfer from the first system to the second system is refused.

[0020] Optionally, the adjusting the balance of the preset virtual account based on the virtual account adjustment file adopts an incremental adjustment method.

[0021] Optionally, before the data sending step, the method further includes:

[0022] Data generation step: the first system generates a reconciliation file;

[0023] A file determination step, in which the first system determines whether the reconciliation file is a redone reconciliation file, and if it is a redone reconciliation file, continues with the following data pre-adjustment step, otherwise jumps to the mode determination step;

[0024] The data pre-adjustment step is to search for the corresponding original file based on the redo reconciliation file, and adjust the balance of the virtual account based on the original file.

[0025] Optionally, in the data pre-adjustment step, the balance of the virtual account is reduced based on the original file.

[0026] A data processing system according to one aspect of the present invention comprises: a first system and a second system, wherein the first system comprises:

[0027] A data sending module, used for sending a reconciliation file to the second system;

[0028] A mode determination module, used to determine whether the liquidation mode of the second system is an autonomous liquidation mode or a non-autonomous mode;

[0029] a data adjustment module, for adjusting the balance of the pre-set virtual account based on the reconciliation file when the mode judgment module determines that the mode is in autonomous liquidation mode, and for adjusting the balance of the pre-set virtual account based on the reconciliation result file for the reconciliation file returned from the second system when the mode judgment module determines that the mode is in non-autonomous liquidation mode;

[0030] a balance determination module, for determining whether the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction when receiving a data transfer instruction from the first system to the second system from the second system; and

[0031] The data processing module is configured to execute data transfer from the first system to the second system if the balance determination module determines that the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction in the transfer instruction, wherein the second system includes:

[0032] A data receiving module, used for receiving a reconciliation file from the first system;

[0033] a reconciliation processing module, configured to generate a reconciliation result file for the reconciliation file and send the reconciliation result file to the first system; and

[0034] The instruction sending module is used to send a data transfer instruction to the first system.

[0035] Optionally, the first system further comprises:

[0036] Data generation module, used to generate reconciliation files;

[0037] A file determination module, used to determine whether the reconciliation file is a redone reconciliation file; and

[0038] The data pre-adjustment module is used to search for the corresponding original file based on the redone reconciliation file, and adjust the balance of the virtual account based on the original file.

[0039] Optionally, in the data pre-adjustment module, the balance of the virtual account is reduced based on the original file.

[0040] A data processing system according to one aspect of the present invention is characterized by comprising:

[0041] Data sending module, used to send reconciliation files;

[0042] A mode determination module, used for determining whether the settlement mode of the target object receiving the reconciliation file is an autonomous settlement mode or a non-autonomous settlement mode;

[0043] a data adjustment module, for adjusting the balance of a preset virtual account based on the reconciliation file when the mode judgment module determines that the target object is in autonomous liquidation mode, and for adjusting the balance of a preset virtual account based on a reconciliation result file for the reconciliation file returned from the target object when the mode judgment module determines that the target object is in non-autonomous liquidation mode;

[0044] a balance determination module, which, when receiving a data transfer instruction from the target object, is used to determine whether the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction; and

[0045] a data processing module, for executing data transfer if the balance determination module determines that the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction in the transfer instruction,

[0046] Optionally, in the data adjustment module, when it is judged to be an autonomous liquidation mode, a virtual account adjustment file is generated based on the reconciliation file and the balance of a pre-set virtual account is adjusted based on the virtual account adjustment file; when it is judged to be a non-autonomous liquidation mode, a virtual account adjustment file is generated based on a reconciliation result file based on the reconciliation file returned from the target object and the balance of the pre-set virtual account is adjusted based on the virtual account adjustment file.

[0047] Optionally, the adjusting the balance of the preset virtual account based on the virtual account adjustment file adopts an incremental adjustment method.

[0048] Optionally, further comprising:

[0049] Data generation module, used to generate reconciliation files;

[0050] A file determination module, used to determine whether the reconciliation file is a redone reconciliation file; and

[0051] The data pre-adjustment module is used to search for the corresponding original file based on the redone reconciliation file, and adjust the balance of the virtual account based on the original file.

[0052] Optionally, in the data pre-adjustment module, the balance of the virtual account is reduced based on the original file.

[0053] A computer-readable medium according to one aspect of the present invention stores a computer program thereon, wherein the computer program implements the data processing method when executed by a processor.

[0054] A computer device according to one aspect of the present invention comprises a storage module, a processor, and a computer program stored in the storage module and executable on the processor, wherein the processor implements the data processing method when executing the computer program.

[0055] According to the present invention, a processing method that takes two settlement modes into consideration at the same time can be provided, and while unifying the process, excessive error processing can be avoided as much as possible. The scope of application of the present invention is mainly industry payment business with an industry settlement mode, including but not limited to social security payment, tax payment, and water, electricity, and coal industry bill payment. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 It is a flowchart showing the data processing method of the present invention.

[0057] Figure 2 It is a flowchart of a data processing method according to a specific embodiment of the present invention.

[0058] Figure 3 It is a block diagram showing the structure of the data processing system of the present invention. DETAILED DESCRIPTION

[0059] The following describes some of the various embodiments of the present invention, which are intended to provide a basic understanding of the present invention, but are not intended to identify the key or decisive elements of the present invention or to limit the scope of protection.

[0060] For brevity and illustrative purposes, the principles of the present invention are described herein mainly with reference to its exemplary embodiments. However, those skilled in the art will readily appreciate that the same principles are equally applicable to and can be implemented in all types of data processing methods and data processing systems, and any such changes do not depart from the true spirit and scope of this patent application.

[0061] Moreover, in the following description, reference is made to the accompanying drawings, which illustrate specific exemplary embodiments. Electrical, mechanical, logical and structural changes may be made to these embodiments without departing from the spirit and scope of the present invention. In addition, although the features of the present invention are disclosed in conjunction with only one of several implementations / embodiments, this feature may be combined with one or more other features of other implementations / embodiments as may be desirable and / or advantageous for any given or identifiable function. Therefore, the following description should not be regarded as limiting, and the scope of the present invention is defined by the appended claims and their equivalents.

[0062] Terms such as “having” and “including” indicate that in addition to the units (modules) and steps directly and explicitly stated in the specification and claims, the technical solution of the present invention does not exclude the situation where it has other units (modules) and steps that are not directly or explicitly stated.

[0063] Some technical terms that will appear in the present invention are explained below.

[0064] (1) Seizure and collection mode

[0065] The usual payment and inspection model consists of an industry party and a payment entity. The industry party generates bill information regularly. The business processing party must first inquire about the user's bill information from the industry party. After the user completes the payment, the industry party's account settlement interface must be called to complete the account settlement processing of the bill. At the end of the day, the funds will be aggregated and settled to the industry party. Common water, electricity, coal, social security, tax payments, etc. all belong to this model.

[0066] (2) Autonomous liquidation model

[0067] For clearing agency A, its clearing results have universal credibility. All other external agencies recognize A's clearing results and use them as the basis for fund transfer. Errors in the accounts are adjusted by other external agencies themselves. For clearing agency A, this model can be considered as autonomous clearing.

[0068] (3) Non-autonomous liquidation model

[0069] For clearing institution A, its clearing results do not have universal credibility. For institution B, it requires that the funds transferred by institution A be based on the results issued by institution B, and A will adjust the erroneous accounts on its own. In this case, for clearing institution A, institution B is a non-autonomous liquidation.

[0070] (4) Long

[0071] The phenomenon that the actual inventory funds are greater than the book cash in the fund collection and payment business, for this article, the write-off status of the industry party is unknown to the clearing agency due to network or technical reasons, and can only be confirmed through the end-of-day reconciliation. In order to avoid the situation where the cardholder's funds cannot be recovered after being returned, usually for transactions in unknown status, the clearing agency will withhold the cardholder's funds to maintain the long funds for the day.

[0072] (5) Short

[0073] In fund collection and payment business, the actual balance of funds is less than the cash on the books. For this article, since the settlement between the clearing agency and the industry party may adopt a non-autonomous clearing model, once the industry party makes an error in the transfer and over-transfers, it will cause capital loss to the clearing agency, that is, short payment.

[0074] First, the data processing method of the present invention is described.

[0075] Figure 1 It is a flowchart showing the data processing method of the present invention.

[0076] The data processing method of the present invention is used to process financial data between a first system and a second system. The data processing method of the present invention comprises:

[0077] Data sending step S100: sending a reconciliation file, such as a daily reconciliation file, from the first system to the second system;

[0078] Mode determination step S200: the first system determines whether the liquidation mode of the second system is an autonomous liquidation mode or a non-autonomous mode; data adjustment step S300: when the second system is determined to be in autonomous liquidation mode in the mode determination step, the first system adjusts the balance of the pre-set virtual account based on the reconciliation file; when the second system is determined to be in non-autonomous liquidation mode in the mode determination step, the first system adjusts the balance of the pre-set virtual account based on the reconciliation result file for the reconciliation file returned from the second system;

[0079] Balance determination step S400: when receiving a data transfer instruction from the second system, the second system determines whether the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction; and

[0080] Data processing step S500: If it is determined in the balance determination step that the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction, data transfer from the first system to the second system is executed.

[0081] In the mode determination step S200, the first system determines whether the liquidation mode of the second system is an autonomous liquidation mode or a non-autonomous liquidation mode, for example, by detecting a configuration file.

[0082] Among them, in the data adjustment step S300, when the first system determines that the second system is in the autonomous liquidation mode in the mode judgment step S200, the first system generates a virtual account adjustment file based on the reconciliation file and adjusts the balance of the pre-set virtual account based on the virtual account adjustment file. When the first system determines that the second system is in the non-autonomous liquidation mode in the mode judgment step, the first system waits for the reconciliation result file based on the reconciliation file returned from the second system within the time range T, generates a virtual account adjustment file based on the reconciliation result file, and then adjusts the balance of the pre-set virtual account based on the virtual account adjustment file. Among them, in the data processing step S500, if it is determined in the balance judgment step that the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction in the transfer instruction (for example, the balance of the virtual account is greater than or equal to the transfer amount in the data transfer instruction), the balance of the virtual account corresponding to the transfer amount is first reduced, and then the data transfer from the first system to the second system is executed; if the payment amount in the data transfer instruction in the transfer instruction is not satisfied (for example, the balance of the virtual account is less than the payment amount in the data transfer instruction), the data transfer instruction is directly rejected to avoid a short payment situation in the first system.

[0083] Here, the virtual account is a concept that is not bound to the physical account. Its main function is to judge whether the funds (i.e. data) can be transferred. For example, there are 10 million funds in the physical account, but the amount that can be transferred on the same day for social security business may be only 1 million. In this case, the amount on the virtual account will only be 1 million. The virtual account represents the control limit of an industry. The initial limit is 0 for new business and should be the actual unpaid amount of the industry for existing business.

[0084] Wherein, the adjustment of the balance of the preset virtual account based on the virtual account adjustment file adopts an incremental adjustment method.

[0085] In addition, for transactions with errors and omissions, the first institution supports resending and processing the reconciliation file within T+15 days. The file name of the original reconciliation file will be marked in the resent reconciliation file. When the first system receives the resent reconciliation file, it will first perform the reverse operation of the virtual account to reduce the increase amount recorded in the original reconciliation file, and then repeat the above-mentioned data sending step S100 to data adjustment step S300 according to the new reconciliation file to complete the increase of the virtual account.

[0086] In particular, the present invention also has the following settings: the data processing method of the present invention adopts two-party reconciliation processing in data processing. In order to improve data processing efficiency, the present invention divides the overall processing flow into three steps: second system reconciliation and issuance (i.e. data sending step S100), reconciliation file processing and adjustment file generation (i.e. data adjustment step S300), and virtual account adjustment (i.e. balance judgment step S400), and it is set that each of these three steps can be re-run step by step. In this way, in the event of a system error, it can be re-run from the middle step without having to start from the beginning, thereby improving processing efficiency.

[0087] As an example, the first system in the data processing method of the present invention is a clearing institution, and the second system is an industry institution. The data processing method and data processing system of the present invention can be applied to industry payment businesses with industry write-off modes, including but not limited to social security payment, tax payment, water, electricity, coal industry bill payment, etc.

[0088] Next, a data processing method according to a specific embodiment of the present invention is described. In this specific embodiment, the first system is a clearing institution, and the second system is an industry institution.

[0089] Figure 2 It is a flowchart of a data processing method according to a specific embodiment of the present invention.

[0090] like Figure 2 As shown, a data processing method according to a specific embodiment of the present invention includes:

[0091] Step S1: After receiving the daily reconciliation file generated at the end of the day, the financial processing system of the clearing institution forwards the reconciliation file to the industry institution;

[0092] Step S2: The clearing agency determines whether the file is a reconciliation file redone on day Tn. If it is a file n days ago that is being reprocessed, it is necessary to find the adjustment record n ​​days ago in the backed-up account adjustment data table, and perform a reverse balance reduction operation on all virtual accounts involved in the file. This step can restore the original balance of the virtual account, and then proceed to step S3 normally.

[0093] Step S3: The clearing agency determines whether the industry party in the province corresponding to the reconciliation document adopts the autonomous clearing model or the non-autonomous clearing model;

[0094] Step S4: Determine whether it is in autonomous liquidation mode;

[0095] Step S5: In the case of determining the autonomous liquidation mode, the liquidation result of the funds shall be based on the reconciliation documents provided by the liquidation agency, and the virtual account increase document shall be issued based on the existing reconciliation documents of the liquidation agency;

[0096] Step S6: Determine that the mode is non-autonomous liquidation mode;

[0097] Step S7: In the case of non-autonomous liquidation mode, the liquidation result of the funds shall be based on the final reconciliation result (or write-off result) of the industry party, and the system will wait for the reconciliation result of the industry party institution before time T;

[0098] Step S8: According to the reconciliation results fed back by the industry institution, readjust the reconciliation results of the clearing institution, and issue the virtual account increase document according to the adjusted reconciliation results;

[0099] Step S9: According to the virtual account adjustment file, the corresponding virtual account balance is increased.

[0100] Here, the increase in the balance of the industry's virtual account is based on the adjustment document, using an incremental adjustment method. The increase or decrease in the virtual account does not focus on the balance of the actual account, and under normal circumstances, incremental adjustments will be made daily.

[0101] On the other hand, when an industry institution initiates a fund transfer instruction, the following steps are performed:

[0102] Step S10: The industry institution sends a fund transfer instruction message to the clearing institution;

[0103] Step S11: The clearing agency determines whether the virtual account balance corresponding to the industry agency is sufficient;

[0104] Step S12: If the virtual account balance is sufficient, adjust the virtual account;

[0105] Step S13: complete normal fund transfer and end the overall process;

[0106] Step S14: If the virtual account balance is insufficient, it indicates that the industry organization and the clearing agency must have errors or omissions in accounting processing, which requires manual intervention. When both parties have verified the cause of the abnormality, the daily reconciliation file may be resent depending on the actual situation.

[0107] According to the data processing method of the present invention, for the collection and payment business of the same industry institution, if there is a mixed model of autonomous and non-autonomous clearing at the same time, the present invention can provide a more clever and elegant solution, which can simultaneously handle the reconciliation and fund transfer needs of the two models through a unified process.

[0108] Moreover, in the process of fund transfer, whether it is autonomous clearing or non-autonomous clearing mode, the industry institution uniformly adopts the method of sending transfer messages to the clearing institution for transfer. In this mode, if an erroneous account occurs, the erroneous account will be on the side of the clearing institution, and the corresponding acquiring institution can handle the error in time.

[0109] Furthermore, when an industry institution sends a remittance message to transfer funds, the clearing agency will control the remittance amount of the corresponding account. After the daily reconciliation is completed, a virtual balance increase will be made to the remittance account of an industry institution of a certain bank. When an industry institution transfers funds, it is only allowed to transfer an amount that is less than or equal to the virtual balance of the account. At the same time, the corresponding account balance will be virtually reduced. This incremental control method can better control the problem of incorrect account transfers of industry institutions and avoid the occurrence of short payments by clearing institutions to the greatest extent.

[0110] Next, the data processing system of the present invention will be described.

[0111] Figure 3 It is a block diagram showing the structure of the data processing system of the present invention.

[0112] like Figure 3 As shown, the data processing system of the present invention includes: a first system 100 and a second system 200 .

[0113] The first system 100 includes:

[0114] A data sending module 110, used for sending a reconciliation file to the second system;

[0115] A mode determination module 120, used to determine whether the liquidation mode of the second system is an autonomous liquidation mode or a non-autonomous mode;

[0116] A data adjustment module 130, for adjusting the balance of a preset virtual account based on the reconciliation file when the mode judgment module determines that the mode is in autonomous liquidation mode, and for adjusting the balance of a preset virtual account based on a reconciliation result file for the reconciliation file returned from the second system when the mode judgment module determines that the mode is in non-autonomous liquidation mode;

[0117] A balance determination module 140, when receiving a data transfer instruction from the first system to the second system from the second system, is used to determine whether the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction; and

[0118] The data processing module 150 is used to execute data transfer from the first system to the second system if the balance determination module determines that the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction in the transfer instruction.

[0119] In particular, in the data processing system of the present invention, in order to improve the data processing efficiency, the overall processing flow is divided into three modules for processing: a data sending module 110, a data adjustment module 130, and a balance judgment module 140. Each of these three modules can be re-run step by step. In this way, in the event of a system error, the re-run can be started from the middle module without having to start from the beginning, thereby improving the processing efficiency.

[0120] The second system 200 includes:

[0121] The data receiving module 210 is used to receive the reconciliation file from the first system 100;

[0122] The reconciliation processing module 220 is used to generate a reconciliation result file for the reconciliation file and send it to the first system 100; and the instruction sending module 230 is used to send a data transfer instruction to the first system 100.

[0123] Among them, in the first system 100, when the mode judgment module 120 determines that it is an autonomous liquidation mode, the data adjustment module 130 generates a virtual account adjustment file based on the reconciliation file and adjusts the balance of the pre-set virtual account based on the virtual account adjustment file; when the mode judgment module 120 determines that it is a non-autonomous liquidation mode, the data adjustment module 130 generates a virtual account adjustment file based on the reconciliation result file based on the reconciliation file returned from the second system 200 and adjusts the balance of the pre-set virtual account based on the virtual account adjustment file.

[0124] Among them, in the data adjustment module 130, when the mode judgment module 120 determines that the second system is in non-autonomous liquidation mode, the reconciliation file is readjusted based on the reconciliation result file based on the reconciliation file returned from the second system 200 to generate a readjusted reconciliation file, a virtual account adjustment file is generated according to the adjusted reconciliation file, and the balance of the pre-set virtual account is adjusted based on the virtual account adjustment file.

[0125] In the data processing module 150, if the balance judgment module 140 determines that the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction in the transfer instruction, the amount of the virtual account corresponding to the transfer amount is first reduced, and then the data transfer from the first system to the second system is executed.

[0126] In the data processing module 150, if the balance determination module determines that the balance of the virtual account is insufficient to satisfy the transfer amount in the data transfer instruction in the transfer instruction, the data transfer from the first system to the second system is refused.

[0127] Wherein, the balance of the pre-set virtual account is adjusted based on the virtual account adjustment file by adopting an incremental adjustment method.

[0128] Furthermore, the first system 100 can further include (not shown):

[0129] Data generation module, used to generate reconciliation files;

[0130] A file determination module, used to determine whether the reconciliation file is a redone reconciliation file; and

[0131] The data pre-adjustment module is used to search for the corresponding original file based on the redone reconciliation file, and adjust the balance of the virtual account based on the original file.

[0132] Wherein, in the data pre-adjustment module, the balance of the virtual account is reduced based on the original file.

[0133] A computer-readable medium according to one aspect of the present invention stores a computer program thereon, wherein the computer program implements the data processing method when executed by a processor.

[0134] A computer device according to one aspect of the present invention comprises a storage module, a processor, and a computer program stored in the storage module and executable on the processor, wherein the processor implements the data processing method when executing the computer program.

[0135] The above examples mainly illustrate the data processing method and data processing system of the present invention. Although only some of the specific embodiments of the present invention are described, it should be understood by those skilled in the art that the present invention can be implemented in many other forms without departing from its subject matter and scope. Therefore, the examples and embodiments shown are regarded as illustrative rather than restrictive, and the present invention may cover various modifications and substitutions without departing from the spirit and scope of the present invention as defined in the appended claims.

Claims

1. A data processing method for processing financial data between a first system and a second system, characterized in that: The data processing method includes: A data sending step, sending the reconciliation file from the first system to the second system; a mode determination step, wherein the first system determines whether the liquidation mode of the second system is an autonomous liquidation mode or a non-autonomous mode; a data adjustment step, in which, when it is determined in the mode determination step that the second system is in autonomous liquidation mode, the first system adjusts the balance of the preset virtual account based on the reconciliation file; and, in which, when it is determined in the mode determination step that the second system is in non-autonomous liquidation mode, the first system adjusts the balance of the preset virtual account based on a reconciliation result file for the reconciliation file returned from the second system; a balance determination step, in which, when receiving a data transfer instruction from the second system, the first system determines whether the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction; and a data processing step, if it is determined in the balance determination step that the balance of the virtual account satisfies the transfer amount in the data transfer instruction, then executing the data transfer from the first system to the second system, In the data processing step, if it is determined in the balance determination step that the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction in the transfer instruction, the balance of the virtual account corresponding to the transfer amount is first reduced, and then the data transfer from the first system to the second system is executed. In the data processing step, if it is determined in the balance determination step that the balance of the virtual account is insufficient to satisfy the transfer amount in the data transfer instruction in the transfer instruction, the data transfer from the first system to the second system is refused.

2. The data processing method according to claim 1, characterized in that: In the data adjustment step, when it is determined in the mode determination step that the second system is in autonomous liquidation mode, the first system generates a virtual account increase file based on the reconciliation file and adjusts the balance of the preset virtual account based on the virtual account increase file; When it is determined in the mode determination step that the second system is in non-autonomous liquidation mode, the first system generates a virtual account adjustment file based on the reconciliation result file based on the reconciliation file returned from the second system, and increases the balance of the pre-set virtual account based on the virtual account adjustment file.

3. The data processing method according to claim 2, characterized in that: In the data adjustment step, when the second system is judged to be in non-autonomous liquidation mode in the mode judgment, the first system readjusts the reconciliation file based on the reconciliation result file based on the reconciliation file returned from the second system to generate a readjusted reconciliation file, generates a virtual account adjustment file according to the adjusted reconciliation file, and adjusts the balance of the pre-set virtual account based on the virtual account adjustment file.

4. The data processing method according to claim 2, characterized in that: The adjustment of the balance of the preset virtual account based on the virtual account adjustment file adopts an incremental adjustment method.

5. The data processing method according to claim 1, characterized in that: Before the data sending step, the method further comprises: Data generation step: the first system generates a reconciliation file; A file determination step, in which the first system determines whether the reconciliation file is a redone reconciliation file, and if it is a redone reconciliation file, continues with the following data pre-adjustment step, otherwise jumps to the mode determination step; The data pre-adjustment step is to search for the corresponding original file based on the redone reconciliation file, and pre-adjust the balance of the virtual account based on the original file.

6. The data processing method according to claim 5, characterized in that: In the data pre-adjustment step, the balance of the virtual account is reduced based on the original file.

7. A data processing system, the system comprising: The first system and the second system are characterized in that The first system comprises: A data sending module, used for sending a reconciliation file to the second system; A mode determination module, used to determine whether the liquidation mode of the second system is an autonomous liquidation mode or a non-autonomous mode; a data adjustment module, for adjusting the balance of the pre-set virtual account based on the reconciliation file when the mode judgment module determines that the mode is in autonomous liquidation mode, and for adjusting the balance of the pre-set virtual account based on the reconciliation result file for the reconciliation file returned from the second system when the mode judgment module determines that the mode is in non-autonomous liquidation mode; a balance determination module, for determining whether the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction when receiving a data transfer instruction from the first system to the second system from the second system; and a data processing module, for executing data transfer from the first system to the second system if the balance determination module determines that the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction in the transfer instruction, The second system comprises: A data receiving module, used for receiving a reconciliation file from the first system; a reconciliation processing module, configured to generate a reconciliation result file for the reconciliation file and send the reconciliation result file to the first system; and An instruction sending module is used to send a data transfer instruction to the first system. Wherein, in the data processing module, if the balance judgment module determines that the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction in the transfer instruction, the amount of the virtual account corresponding to the transfer amount is first reduced, and then the data transfer from the first system to the second system is executed. In the data processing module, if the balance determination module determines that the balance of the virtual account is insufficient to satisfy the transfer amount in the data transfer instruction, the data transfer from the first system to the second system is refused.

8. The data processing system according to claim 7, characterized in that In the case where the mode determination module determines that the self-liquidation mode is in operation, the data adjustment module generates a virtual account adjustment file based on the reconciliation file and adjusts the balance of the pre-set virtual account based on the virtual account adjustment file; When the mode judgment module determines that the mode is a non-autonomous liquidation mode, the data adjustment module generates a virtual account adjustment file based on the reconciliation result file based on the reconciliation file returned from the second system and increases the balance of the pre-set virtual account based on the virtual account adjustment file.

9. The data processing system according to claim 8, characterized in that In the data adjustment module, when the mode judgment module determines that the second system is in non-autonomous liquidation mode, the reconciliation file is readjusted based on the reconciliation result file based on the reconciliation file returned from the second system to generate a readjusted reconciliation file, a virtual account adjustment file is generated according to the adjusted reconciliation file, and the balance of the pre-set virtual account is adjusted based on the virtual account adjustment file.

10. The data processing system according to claim 8, characterized in that The adjustment of the balance of the preset virtual account based on the virtual account adjustment file adopts an incremental adjustment method.

11. The data processing system according to claim 7, characterized in that The first system further comprises: Data generation module, used to generate reconciliation files; A file determination module, used to determine whether the reconciliation file is a redone reconciliation file; and The data pre-adjustment module is used to search for the corresponding original file based on the redone reconciliation file, and adjust the balance of the virtual account based on the original file.

12. The data processing system according to claim 11, characterized in that In the data pre-adjustment module, the balance of the virtual account is reduced based on the original file.

13. A data processing system, characterized in that: include: Data sending module, used to send reconciliation files; A mode determination module, used for determining whether the settlement mode of the target object receiving the reconciliation file is an autonomous settlement mode or a non-autonomous settlement mode; a data adjustment module, for adjusting the balance of a preset virtual account based on the reconciliation file when the mode judgment module determines that the target object is in autonomous liquidation mode, and for adjusting the balance of a preset virtual account based on a reconciliation result file for the reconciliation file returned from the target object when the mode judgment module determines that the target object is in non-autonomous liquidation mode; A balance determination module, when receiving a data transfer instruction from the target object, is used to determine whether the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction; as well as a data processing module, for executing data transfer if the balance determination module determines that the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction in the transfer instruction, In the data adjustment module, when it is determined that the autonomous liquidation mode is in effect, a virtual account adjustment file is generated based on the reconciliation file, and the balance of the pre-set virtual account is adjusted based on the virtual account adjustment file; In the case of determining that the mode is non-autonomous liquidation mode, generating a virtual account adjustment file based on the reconciliation result file based on the reconciliation file returned from the target object, and increasing the balance of the pre-set virtual account based on the virtual account increase file, Wherein, in the data processing module, if the balance judgment module determines that the balance of the virtual account is sufficient to satisfy the transfer amount in the data transfer instruction in the transfer instruction, the amount of the virtual account corresponding to the transfer amount is first reduced, and then the data transfer from the first system to the second system is executed. In the data processing module, if the balance determination module determines that the balance of the virtual account is insufficient to satisfy the transfer amount in the data transfer instruction, the data transfer from the first system to the second system is refused.

14. The data processing system according to claim 13, characterized in that The adjustment of the balance of the preset virtual account based on the virtual account adjustment file adopts an incremental adjustment method.

15. The data processing system according to claim 14, characterized in that Further including: Data generation module, used to generate reconciliation files; A file determination module, used to determine whether the reconciliation file is a redone reconciliation file; as well as The data pre-adjustment module is used to search for the corresponding original file based on the redone reconciliation file, and adjust the balance of the virtual account based on the original file.

16. The data processing system according to claim 15, characterized in that In the data pre-adjustment module, the balance of the virtual account is reduced based on the original file.

17. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data processing method according to any one of claims 1 to 6 is implemented.

18. A computer device comprising a storage module, a processor, and a computer program stored in the storage module and executable on the processor, characterized in that: When the processor executes the computer program, the data processing method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Interbank liquidation method and system

    CN106709798A

  • Fund clearing supervision system and data processing method thereof

    CN108320142A