Account checking and error processing method, medium and equipment
By importing external files into temporary tables in centralized agent mode and using DML commands to generate differences, errors are processed one by one, which solves the problem of increased time-consuming for accounting verification and error processing, realizes parallel processing and breakpoint continuation, and reduces costs. Memory and database pressure, improved efficiency and accuracy.
Patent Information
- Application Number
- CN202411072152.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-10-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the centralized agent mode, accounting verification and error processing take more time, resulting in large memory requirements, failure to support breakpoint continuation, high memory usage, and database disk read and write speeds becoming bottlenecks.
By importing the external files of each agency into the reconciliation temporary table of the agency's external agency, database DML commands are used to generate accounting differences, and error processing and unified submission are performed one by one according to business rules, and parallel processing and breakpoint continuation are supported. Operation, use database transactions to ensure the accuracy of processing results and reduce memory consumption.
It realizes parallel processing of accounting verification and error processing, reduces the overall time-consuming, supports breakpoint continuation, reduces memory usage and database disk read and write pressure, and improves processing efficiency and accuracy.
Smart Images

Figure CN118799098A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of financial processing methods, and more specifically, to a method, medium and equipment for account verification and error processing. Background Art
[0002] With the rapid development of the financial industry, the number of financial institutions continues to increase, the scope of business is also expanding, and the volume of online business is increasing. In the centralized agency model, the agent needs to check the accounts and handle errors of the online business of the agency, and cooperate with the agency to confirm abnormal scenarios in advance. Therefore, as the business volume of the agency increases, the time spent on account checking and error handling increases significantly. In order to avoid the agency's business experience being reduced due to the increase in the time spent on the agent's processing, it is necessary to optimize the time spent in this model.
[0003] The current main technical solution is to sort the external data and the data of the agency respectively, read them into the memory or write them into a file, compare them one by one according to the agency, business scenario, and unique business elements, directly generate errors based on the difference scenarios, and then perform error processing based on the errors serially.
[0004] The existing technology has the following defects in the account checking and error in the centralized agency model:
[0005] (1) Since the data is read into the memory for verification, the application host memory requirement is greater;
[0006] (2) After verification is abnormal, memory cleaning is required and both files need to be read each time for re-verification. Breakpoint continuation is not supported;
[0007] (3) Errors are directly generated during the verification process, and complex logical judgments are performed after the differences are verified, which takes up more memory and time;
[0008] (4) Under the centralized proxy model, multiple institutions insert the entire amount of data from the database and external files into a unified error table each time, making the database disk read and write speed a bottleneck. Summary of the invention
[0009] The purpose of the present invention is to provide a method, medium and equipment for account checking and error handling.
[0010] The present invention aims to solve the problems existing in the prior art.
[0011] Compared with the prior art, the technical solution of the present invention and its beneficial effects are as follows:
[0012] A method for account checking and error handling comprises: importing external files of each agency into respective temporary reconciliation tables of the agency's external agencies; according to the DML command of the database, inserting the account differences generated by the records in the own flow table and the temporary reconciliation table of the external agencies into the temporary error tables of the external agencies of each agency and submitting them uniformly after generating all the differences; according to the generated account differences, generating errors one by one according to business rules and submitting them uniformly; and handling the account errors respectively according to the records in the error table and submitting them statistically.
[0013] As a further improvement, the importing of each agency's external files into each agency's external agency's respective temporary reconciliation table includes: adjusting each agency's files to form temporary files that can be directly imported into the database; importing the temporary files into each agency's table in the database.
[0014] As a further improvement, according to the DML command of the database, the records in the own transaction sheet and the external agency reconciliation temporary table are used to generate account differences, which are inserted into the external agency error temporary table of each agent and all differences are generated before being submitted uniformly, including: according to the difference scenario, the own transaction sheet and the external agency reconciliation temporary table are respectively associated with the institution and the unique identifier through the DML command of the database to generate the respective external agency error temporary tables.
[0015] As a further improvement, according to the generated account differences, errors are generated item by item according to business rules and submitted uniformly, including: inserting external institution error temporary table records into the error table one by one according to the error scenario.
[0016] As a further improvement, the accounting errors are processed and statistically submitted according to the error table records, including: synchronizing the transaction status corresponding to the error table data to its own flow sheet according to the corresponding error scenario and according to the consistency of the institution and the unique identifier.
[0017] As a further improvement, the accounting error processing and statistical submission are performed according to the error table records, including: adding the error table data to its own flow table according to the corresponding error scenario to supplement the flow data omitted by the online business.
[0018] As a further improvement, the accounting errors are processed and statistically submitted according to the error table records, including: inserting the records in the error table that need to be processed for error adjustment with the external system into the external error flow table according to the corresponding error scenario, and then performing error adjustment with the external organization through an asynchronous timed task.
[0019] According to a second aspect of the present invention, a storage medium is provided, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for account verification and error handling are implemented.
[0020] The third aspect of the present invention provides an electronic device, which includes at least a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method for account reconciliation and error handling when executing the computer program on the memory.
[0021] The beneficial effects of the present invention are:
[0022] Based on a relational database, the external files of each agency are imported into the temporary table of each external agency through the database's built-in commands, and the database DML commands are used to generate the accounting differences of each agency in parallel by agency. Then, the differences are generated into corresponding accounting errors according to different accounting error scenarios and handled separately;
[0023] Based on the agency model, the corresponding external temporary tables and error temporary tables for account reconciliation and errors of multiple agencies are processed independently and in parallel, reducing the overall time consumption;
[0024] Based on the proxy model, multiple agents process in parallel, and the processing results are independent of each other. If any one of them fails to process, it can be redone separately;
[0025] Based on the transaction characteristics of the database, transactions are committed uniformly upon success and rolled back uniformly upon failure, thus ensuring the accuracy of account verification and error handling results;
[0026] Use relational data DML commands to reduce the memory consumption of the application host;
[0027] After checking the exception, the abnormal data is saved in the database and will not be cleared by the memory, so the breakpoint can be resumed;
[0028] In the verification process, differences are generated and then unified for error handling, which takes up less memory and takes less time;
[0029] Each of the multiple agents under the centralized agency will have their own temporary error tables established and supported to be mounted separately, thus dispersing the database disk write rate and making the database disk read and write speed no longer a bottleneck. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 The present invention provides a flowchart of a method for checking accounts and handling errors.
[0031] Figure 2 The present invention provides a logic diagram of an account checking and error handling method. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0033] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0034] Reference Figure 1 and Figure 2 As shown, a method for account verification and error handling includes: importing external files of each agency into the respective temporary reconciliation tables of the agency's external agencies; according to the DML command of the database, inserting the account differences generated by the records in the own flow table and the temporary reconciliation table of the external agencies into the temporary error tables of the external agencies of each agency and generating all the differences before submitting them uniformly; according to the generated account differences, generating errors one by one according to business rules and submitting them uniformly; and handling the account errors respectively according to the records in the error table and submitting them statistically.
[0035] The importing of each agency's external file into each agency's external agency's respective temporary reconciliation table includes: adjusting each agency's file to form a temporary file that can be directly imported into the database; and importing the temporary file into each agency's table in the database.
[0036] According to the DML command of the database, the records in the own transaction table and the external agency reconciliation temporary table are used to generate account differences, which are inserted into the external agency error temporary table of each agent, and all differences are generated and then submitted uniformly, including: according to the difference scenario, the own transaction table and the external agency reconciliation temporary table are respectively associated with the institution and the unique identifier through the DML command of the database to generate the respective external agency error temporary tables.
[0037] According to the generated account differences, errors are generated item by item according to business rules and submitted uniformly, including: inserting external institution error temporary table records into the error table one by one according to the error scenario.
[0038] The accounting errors are processed and statistically submitted according to the error table records, including: synchronizing the transaction status corresponding to the error table data to its own flow sheet according to the corresponding error scenario and according to the consistency of the institution and the unique identifier.
[0039] The accounting errors are processed and statistically submitted according to the error table records, including: according to the corresponding error scenario, the error table data is added to the own flow table to supplement the flow data missed by the online business.
[0040] The accounting errors are processed and statistically submitted according to the error table records, including: inserting the records in the error table that need to be processed for error adjustment with the external system into the external error flow table according to the corresponding error scenario, and then performing error adjustment with the external organization through an asynchronous timed task.
[0041] According to a second aspect of the present invention, a storage medium is provided, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for account verification and error handling are implemented.
[0042] The third aspect of the present invention provides an electronic device, which includes at least a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method for account reconciliation and error handling when executing the computer program on the memory.
[0043] The above embodiments are only used to explain the technical solutions of the present invention rather than to limit them. Those skilled in the art should understand that any modification and equivalent substitution that does not depart from the spirit and scope of the present invention should fall within the protection scope of the claims of the present invention.
Claims
1. A method for checking accounts and handling errors, characterized in that: include: Import each agency's external files into the agency's external agency's respective temporary reconciliation tables; According to the database's DML command, the account differences generated by the records in the own flow table and the external agency reconciliation temporary table are inserted into the external agency error temporary table of each agent and all differences are generated and submitted uniformly; Based on the generated account differences, errors are generated item by item according to business rules and submitted uniformly; Accounting errors are processed separately according to the error table records and statistics are submitted.
2. A method for checking and handling accounts and errors according to claim 1, characterized in that: The importing of each agency's external files into each agency's respective temporary reconciliation table includes: Adjust each agency's files to form temporary files that can be directly imported into the database; Import the temporary files into the respective agency tables in the database.
3. A method for checking and handling accounts and errors according to claim 1, characterized in that: According to the DML command of the database, the account differences generated by the records in the own flow table and the external agency reconciliation temporary table are inserted into the external agency error temporary table of each agent and all differences are generated and submitted uniformly, including: According to the difference scenarios, the database DML command is used to associate the own transaction table and the external organization reconciliation temporary table according to the organization and unique identifier to generate the error temporary table of each external organization.
4. A method for checking and handling accounts and errors according to claim 1, characterized in that: According to the generated account differences, errors are generated item by item according to business rules and submitted uniformly, including: Insert the external agency error temporary table records into the error table one by one according to the error scenario.
5. The method for checking and handling errors according to claim 1, characterized in that: The accounting errors are processed and statistically submitted according to the error table records, including: According to the corresponding error scenario and the consistency of the organization and unique identifier, the transaction status corresponding to the error table data is synchronized to its own transaction table.
6. A method for checking and handling accounts and errors according to claim 1, characterized in that: The accounting errors are processed and statistically submitted according to the error table records, including: According to the corresponding error scenario, the error table data is added to its own transaction table to supplement the transaction data missed by the online business.
7. A method for checking accounts and handling errors according to claim 1, characterized in that: The accounting errors are processed and statistically submitted according to the error table records, including: According to the corresponding error scenario, the records in the error table that need to be processed with the external system for error adjustment are inserted into the external error flow table, and then the error adjustment is carried out with the external organization through asynchronous scheduled tasks.
8. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the method for account verification and error handling described in any one of claims 1 to 7 are implemented.
9. An electronic device, characterized in that: The method comprises at least a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method for account checking and error handling as described in any one of claims 1 to 7 when executing the computer program on the memory.
Citation Information
Patent Citations
Automatic batch checking method and system
CN106447475A
Account checking system based on distributed data nodes
CN114169887A
Data processing method and device and computer readable storage medium
CN114840527A
Distributed account checking method, server, device and system
CN115082229A
Real-time accounting checking method and device
CN117078443A
