Multi-platform bill processing and error correction report generation method and device, equipment and medium

By obtaining multi-platform bills, analyzing, filtering and correcting errors, generating independent bill reports and comparing them with budget funds, the financial loss problem caused by bill errors in multi-platform bill processing is solved, and the bills are clearly displayed and corrected, which improves the accuracy and efficiency of financial management.

CN120297974APending Publication Date: 2025-07-11JIANGXI INST OF FASHION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510359219.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-25
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

The lack of error correction analysis of bill errors in multi-platform bill processing leads to financial losses, especially when corporate transaction projects are recorded incorrectly, resulting in large amounts of financial losses.

Method used

By obtaining the original bills of multiple payment platforms, bill analysis, classified screening and error correction calculation, independent bill reports are generated and compared with the budget funds of preset transaction projects, the integration and error correction analysis of multi-platform bills are realized.

Benefits of technology

It realizes clear display and error correction of multi-platform bills, ensures that the use of funds complies with budget planning, avoids financial errors, and improves the efficiency and accuracy of financial management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120297974A_ABST
    Figure CN120297974A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of accounting processing, and discloses a multi-platform bill processing and error correction report generation method and device, equipment and a medium, and the method comprises the steps: obtaining bank card information bound with a first payment platform and a second payment platform of a transaction main body, and obtaining a plurality of original bills; analyzing each original bill to respectively form a plurality of bill analysis results sorted in a time sequence; classifying and screening the plurality of bill analysis results to obtain classification and screening results of the multi-type transactions; generating a plurality of independent bill reports based on the plurality of bill analysis results and the classification screening result of the multi-type transactions; comparing and matching each independent bill report with the budget fund of the transaction item to obtain an error correction difference calculation result; and adding the error correction difference calculation result to each independent bill report, and generating an error correction report corresponding to each independent bill report. According to the invention, multi-platform subdivision type bill processing and error correction report generation are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of accounting processing, and specifically relates to a method, device, equipment and medium for multi-platform bill processing and error correction report generation. Background Art

[0002] With the development of mobile payment, there are gradually many convenient payment platforms and methods in the current payment methods. For example, commonly used ones such as WeChat and Alipay, as well as Cloud QuickPass and mobile banking APPs.

[0003] Among these frequently used mobile APPs, especially WeChat and Alipay, they are widely used by individuals, companies or other collectives. However, due to the frequent connection of many payment platforms, for example, WeChat and Alipay often bind multiple bank cards and make separate mutual payments / income. Although they all have the generation and viewing of income and expenditure bills, because of the mutual connection of multi-platform transactions, it will cause many inconveniences in bill management and analysis. For example, the balance expenditure and income of bank cards through WeChat and Alipay result in the same transaction being recorded in the bill multiple times. Also, for example, the internal transactions between WeChat, Alipay and bank cards cause the impact of invalid income and expenditure on the overall income and expenditure. Further solve the demand of the transaction subject for quick and convenient bill analysis and management of differential bookkeeping when receiving and paying through different platforms for different scenarios / types of transactions, and further realize the convenient distinction between internal transactions and external transactions of the transaction subject and the detailed analysis and reference of the total accumulated income and expenditure situation.

[0004] In addition, for enterprise and unit transaction subjects, during the progress and completion of transaction items, in case of incorrect posting, such as a decimal misalignment of the posting amount, it will cause a large amount of financial losses, which urgently needs to be solved. Summary of the Invention

[0005] In view of this, the present invention provides a method, device, equipment and medium for multi-platform bill processing and error correction report generation to solve the problems of multi-platform bill processing and the lack of error correction analysis for bill errors in multi-platform bill processing resulting in financial losses.

[0006] In the first aspect, the present invention provides a method for multi-platform bill processing and error correction report generation, and the method includes:

[0007] Obtain the bank card information bound by the first payment platform and the second payment platform of the transaction subject, and obtain a plurality of original bills directly traded through the bank card, traded on the first payment platform, and traded on the second payment platform;

[0008] Perform bill parsing on each original bill to respectively form a bank card bill parsing result, a first payment platform bill parsing result, and a second payment platform bill parsing result sorted in chronological order;

[0009] Classify and screen the bank card bill parsing result, the first payment platform bill parsing result, and the second payment platform bill parsing result to obtain the classified and screened results of multiple types of transactions;

[0010] Generate multiple independent bill reports based on the bank card bill parsing result, the first payment platform bill parsing result, the second payment platform bill parsing result, and the classified and screened results of multiple types of transactions;

[0011] Compare and match each independent bill report with the preset transaction item budget amount respectively to correct the balance of payments difference of multiple independent bill reports and obtain the error correction difference calculation result;

[0012] Add the error correction difference calculation result to each independent bill report to generate an error correction report corresponding to each independent bill report.

[0013] A multi-platform bill processing and error correction report generation method provided by the present invention can integrate the transaction data of bank cards, the first payment platform, and the second payment platform in the original bill. Through parsing and screening, it clearly displays different types of transactions, and realizes the parsing, screening, and final generation of multiple transaction independent bill reports such as the bank cards, the first payment platform, and the second payment platform of the transaction entity, and the external transaction independent bill report. It realizes the detailed and clear display of the overall income and expenditure situation of the transaction entity such as the external transaction independent bill report, and the independent display of the internal transaction independent bill report, which is convenient for the transaction entity, that is, the holder, to understand the distinction between internal and external transactions of multiple platforms as a whole, and to have a more accurate understanding of the actual income and expenditure with different counterparty transaction entities, a clearer understanding of the fund transfer between multiple internal platforms, and a clear confirmation of the internal fund transfer situation of the transaction entity. By comparing and matching the independent bill report with the preset transaction item budget amount, calculating the balance of payments difference and correcting errors, it can effectively avoid financial errors, ensure that the fund use conforms to the budget plan, and solves the problem of financial losses caused by the lack of error correction analysis for bill errors in multi-platform bill processing.

[0014] In an optional implementation manner, obtaining multiple original bills for direct bank card transactions, first payment platform transactions, and second payment platform transactions includes:

[0015] Obtain the original bills between the start time and the end time of direct bank card transactions, first payment platform transactions, and second payment platform transactions respectively, and obtain the total balance and zero balance corresponding to the start time.

[0016] A method for processing multi-platform bills and generating error-correction reports provided by the present invention respectively obtains the original bills between the start time and the end time of direct bank card transactions, transactions on the first payment platform, and transactions on the second payment platform, and obtains the total balance and zeroed balance corresponding to the start time, so as to understand the fund management situation between the start time and the end time, such as the actual income and expenditure of different counterparty transaction entities, more accurately.

[0017] In an optional implementation manner, bill parsing is performed on each original bill, and a bank card bill parsing result, a first payment platform bill parsing result, and a second payment platform bill parsing result sorted in chronological order are respectively formed, including:

[0018] Each original bill is parsed by using a matching encryption algorithm and a decryption rule for reverse operation to obtain the income and expenditure parsing result corresponding to each original bill. The income and expenditure parsing result includes the income and expenditure transaction types, the transaction amounts corresponding to the income and expenditure, and the transaction times.

[0019] The balance change after each transaction detail between the start time and the end time of each original bill is parsed to obtain the balance change result corresponding to each original bill.

[0020] The AI algorithm is used to sort the income and expenditure parsing result and the balance change result corresponding to each original bill according to the transaction time, and a bank card bill parsing result, a first payment platform bill parsing result, and a second payment platform bill parsing result are respectively formed.

[0021] A method for processing multi-platform bills and generating error-correction reports provided by the present invention can break through the encryption barrier of payment platform data and accurately extract key information such as the income and expenditure transaction types, transaction amounts, and transaction times of each transaction by parsing the original bill through a matching encryption algorithm and a decryption rule for reverse operation. In the face of complex payment systems and diverse encryption methods, this method ensures the integrity and accuracy of bill data, provides a reliable basis for subsequent financial analysis and decision-making, parses the balance change after each transaction detail of the original bill, and provides another dimension for verifying the accuracy of transactions. Each transaction will cause a change in the account balance. By analyzing the balance change result, it can be verified with the income and expenditure parsing result obtained by directly parsing the transaction details. This double-verification mechanism helps to discover potential data errors or abnormal transactions. The AI algorithm is used to sort the income and expenditure parsing result and the balance change result according to the transaction time, and the chaotic original bill data is sorted into a bank card bill parsing result, a first payment platform bill parsing result, and a second payment platform bill parsing result arranged in chronological order. This ordered presentation method greatly facilitates users to view and understand bill information.

[0022] In an alternative embodiment, the classification and screening of the bank card bill parsing result, the first payment platform bill parsing result, and the second payment platform bill parsing result are performed to obtain the classification and screening results of multiple types of transactions, including:

[0023] The first payment platform bill parsing result and the second payment platform bill parsing result are respectively compared with the bank card bill parsing result, and the first type of transaction in which the trading entity conducts income and expenditure transactions with the trading entity's bank card through the first payment platform and the second payment platform respectively is classified and screened out; the second type of transaction in which the balance in the trading entity's bank card changes indirectly and conducts income and expenditure transactions with the counterparty trading entity through the first payment platform and the second payment platform respectively is classified and screened out; at the same time, the third type of transaction in which the trading entity conducts income and expenditure transactions directly with the counterparty trading entity through the first payment platform and the second payment platform respectively and the fourth type of transaction in which the trading entity conducts income and expenditure transactions directly with the counterparty trading entity through the bank card are classified and screened out;

[0024] The first type of transaction, the second type of transaction, the third type of transaction, and the fourth type of transaction are used as the classification and screening results of multiple types of transactions.

[0025] A multi-platform bill processing and error correction statement generation method provided by the present invention clearly distinguishes four types of transactions, enabling the trading entity to comprehensively and meticulously understand the flow path and nature of funds. By clarifying the first type of transaction, that is, the direct income and expenditure transactions between different payment platforms and bank cards, the trading entity can intuitively master the fund transfers between different payment channels and bank cards, which helps manage the allocation of funds between different platforms. For the second type of transaction, understanding how the bank card balance changes indirectly through the income and expenditure with the counterparty trading entity on different payment platforms can help the trading entity gain insights into the potential impact of consumption behavior on bank card funds. For example, when making online shopping or online payments, it is clear how each consumption affects the bank card balance through different payment platforms. For the third type of transaction, knowing the direct income and expenditure between different payment platforms and the counterparty trading entity can help the trading entity analyze its social payments, business transactions, etc. on different payment platforms. And for the fourth type of transaction, clarifying the transaction between the bank card and the counterparty trading entity directly helps the trading entity manage the direct external business of the bank card, such as bank transfers, direct consumption, etc. This refined understanding of transaction types provides the trading entity with unprecedented financial transparency, enabling it to examine its financial activities from multiple perspectives.

[0026] In an alternative embodiment, based on the bank card bill parsing result, the first payment platform bill parsing result, the second payment platform bill parsing result, and the classification and screening results of multiple types of transactions, multiple independent bill statements are generated, including:

[0027] Generate an internal transaction independent bill statement for the transaction entity's bank card and the income and expenditure transactions of the transaction entity through the first payment platform and the second payment platform based on the bank card bill parsing result, the first payment platform bill parsing result, the second payment platform bill parsing result, and the first type of transaction;

[0028] Generate a first external transaction independent bill statement for the indirect change in the balance of the transaction entity's bank card and the income and expenditure transactions with the counterparty transaction entity through the first payment platform and the second payment platform based on the bank card bill parsing result, the first payment platform bill parsing result, the second payment platform bill parsing result, and the second type of transaction;

[0029] Generate a second external transaction independent bill statement for the transaction entity to directly conduct income and expenditure transactions with the counterparty transaction entity through the first payment platform and the second payment platform respectively based on the bank card bill parsing result, the first payment platform bill parsing result, the second payment platform bill parsing result, and the third type of transaction;

[0030] Generate a third external transaction independent bill statement for the transaction entity to directly conduct income and expenditure transactions with the counterparty transaction entity through the bank card based on the bank card bill parsing result, the first payment platform bill parsing result, the second payment platform bill parsing result, and the fourth type of transaction.

[0031] A multi-platform bill processing and error correction statement generation method provided by the present invention generates different types of independent bill statements, which precisely meet the diverse financial needs of transaction entities. The internal transaction independent bill statement focuses on the income and expenditure between the transaction entity's bank card and the first and second payment platforms it uses, facilitating individuals or enterprises to clearly view the internal fund flow and helping to manage the fund allocation between the payment platform and the bank card. Classifying and integrating complex multi-platform bill data into independent bill statements greatly improves the efficiency of financial management. From the perspective of risk control, independent bill statements help to detect abnormal transactions and potential risks in a timely manner. Different types of transaction statements make risk monitoring more refined, and transaction entities can respectively focus on the fund flow under different transaction paths.

[0032] In an optional implementation manner, the multi-platform bill processing and error correction statement generation method further includes:

[0033] When generating multiple independent bill statements, cumulatively calculate the total balance based on the total balance corresponding to the start time of each original bill and / or cumulatively calculate the total balance based on the zeroing amount corresponding to the start time of each original bill, and add the cumulative calculation of the total balance to the corresponding independent bill statement;

[0034] Based on the bank card bill parsing results, the first payment platform bill parsing results, the second payment platform bill parsing results, the second type of transactions, the third type of transactions, and the fourth type of transactions, accumulate and calculate the total transaction amount and the total number of transactions for the second type of transactions, the third type of transactions, and the fourth type of transactions that involve the bill parsing results corresponding to multiple pairs of the same counterparty transaction entities, and add the total transaction amount and the total number of transactions to the first external transaction independent bill statement, the second external transaction independent bill statement, and the third external transaction independent bill statement respectively.

[0035] A multi-platform bill processing and error correction report generation method provided by the present invention performs cumulative calculation based on the total balance at the starting time, providing users with a coherent view of the fund flow. Whether it is for individuals to manage daily income and expenditure or for enterprises to conduct financial accounting, this method can clearly show the changes in funds from the initial state to each transaction node. Calculating the total balance cumulatively starting from the zero amount can highlight the actual income and expenditure in each bill cycle. Displaying the cumulative calculation result of the total balance in the independent bill statement provides an intuitive decision-making reference for the transaction entity.

[0036] In an optional implementation manner, each independent bill statement includes the income and expenditure parsing results, the transaction time, the counterparty transaction entity account, and the income and expenditure transaction type;

[0037] Compare and match each independent bill statement with the preset transaction item budget amount respectively to correct the income and expenditure differences of multiple independent bill statements, and obtain the error correction difference calculation result, including:

[0038] Compare and match the income and expenditure parsing results, the transaction time, the counterparty transaction entity account, and the income and expenditure transaction type of each independent bill statement with the income and expenditure parsing results, the transaction time, the counterparty transaction entity account, and the income and expenditure transaction type of the preset transaction item budget amount respectively;

[0039] Generate the decimal point misalignment test result, the large difference test result, and the allowable difference test result between each independent bill statement and the preset transaction item budget amount according to the preset first difference threshold, the preset second difference threshold, and the preset third difference threshold;

[0040] Take the decimal point misalignment test result, the large difference test result, and the allowable difference test result as the error correction difference calculation result and provide a display in the error correction report.

[0041] A method for multi-platform bill processing and error correction report generation provided by the present invention can, through the bill inspection module, compare and calculate the specific income and expenditure of the trading entity with the budget amount of the transaction item, and can realize the difference calculation by comparing with the detailed electronic list of the budget amount of the transaction item when based on multiple independent bill statements, including the inspection results of decimal point misalignment, large difference inspection results, and allowable difference inspection results, and finally realize financial error correction through income and expenditure error correction, discover and correct the errors in the company's or unit's account entry and income and expenditure in a timely manner, and avoid economic losses caused by financial accounting errors.

[0042] In a second aspect, the present invention provides a multi-platform bill processing and error correction report generation device, which includes:

[0043] An original bill acquisition module for acquiring the bank card information bound to the first payment platform and the second payment platform of the trading entity, and acquiring multiple original bills directly traded through the bank card, traded on the first payment platform, and traded on the second payment platform;

[0044] A bill parsing module for parsing each original bill to respectively form a bank card bill parsing result, a first payment platform bill parsing result, and a second payment platform bill parsing result sorted in chronological order;

[0045] A bill classification and screening module for classifying and screening the bank card bill parsing result, the first payment platform bill parsing result, and the second payment platform bill parsing result to obtain a classification and screening result of multiple types of transactions;

[0046] Multiple independent bill statement generation modules for generating multiple independent bill statements based on the bank card bill parsing result, the first payment platform bill parsing result, the second payment platform bill parsing result, and the classification and screening result of multiple types of transactions;

[0047] An error correction difference calculation module for respectively comparing and matching each independent bill statement with a preset transaction item budget amount to correct the income and expenditure difference of multiple independent bill statements to obtain an error correction difference calculation result;

[0048] An error correction report generation module for adding the error correction difference calculation result to each independent bill statement to generate an error correction report corresponding to each independent bill statement.

[0049] In an optional implementation manner, each independent bill statement includes an income and expenditure parsing result, a transaction time, a counterparty trading entity account, and an income and expenditure transaction type;

[0050] The error correction difference calculation module includes:

[0051] A comparison and matching unit for respectively comparing and matching the income and expenditure analysis results, transaction times, counterparty transaction entity accounts, and income and expenditure transaction types of each independent bill statement with those of the preset transaction item budget funds;

[0052] An inspection and error correction unit for generating the decimal point misalignment inspection results, large difference inspection results, and allowable difference inspection results between each independent bill statement and the preset transaction item budget funds according to the preset first difference threshold, preset second difference threshold, and preset third difference threshold;

[0053] An error correction difference calculation result determination unit for using the decimal point misalignment inspection results, large difference inspection results, and allowable difference inspection results as the error correction difference calculation results and providing a display in the error correction statement.

[0054] In a third aspect, the present invention provides a computer device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to execute the multi-platform bill processing and error correction statement generation method of the first aspect or any corresponding implementation manner thereof.

[0055] In a fourth aspect, the present invention provides a computer-readable storage medium, on which computer instructions are stored. The computer instructions are used to cause a computer to execute the multi-platform bill processing and error correction statement generation method of the first aspect or any corresponding implementation manner thereof.

[0056] In a fifth aspect, the present invention provides a computer program product, including computer instructions, which are used to cause a computer to execute the multi-platform bill processing and error correction statement generation method of the first aspect or any corresponding implementation manner thereof. Description of the Drawings

[0057] In order to more clearly illustrate the specific implementation manners of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific implementation manners or the prior art. Obviously, the following drawings are some implementation manners of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0058] Figure 1 is a flowchart of the multi-platform bill processing and error correction statement generation method according to an embodiment of the present invention;

[0059] Figure 2 is a flowchart of another multi-platform bill processing and error correction statement generation method according to an embodiment of the present invention;

[0060] Figure 3 is a schematic flowchart of another multi-platform bill processing and error correction report generation method according to an embodiment of the present invention;

[0061] Figure 4 is a schematic flowchart of yet another multi-platform bill processing and error correction report generation method according to an embodiment of the present invention;

[0062] Figure 5 is a structural block diagram of a multi-platform bill processing and error correction report generation device according to an embodiment of the present invention;

[0063] Figure 6 is a structural block diagram of another multi-platform bill processing and error correction report generation device according to an embodiment of the present invention;

[0064] Figure 7 is a schematic hardware structure diagram of a computer device according to an embodiment of the present invention. Detailed Embodiments

[0065] To make the objectives, 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 with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance.

[0066] According to an embodiment of the present invention, an embodiment of a multi-platform bill processing and error correction report generation method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.

[0067] In this embodiment, a multi-platform bill processing and error correction report generation method is provided, which can be used for the above computer device. A multi-platform bill processing and error correction report generation device is installed on the computer device, as Figure 5 shown, including an original bill acquisition module 1 and a bill parsing, screening, and generation module 2, Figure 1 is a flowchart of a multi-platform bill processing and error correction report generation method according to an embodiment of the present invention, as Figure 1 shown, and this process includes the following steps:

[0068] Step S101: Obtain the bank card information bound to the first payment platform and the second payment platform of the trading entity, and obtain multiple original bills for direct bank card transactions, transactions on the first payment platform, and transactions on the second payment platform.

[0069] Specifically, the first payment platform and the second payment platform of the trading entity include, but are not limited to, WeChat Pay platform, Alipay platform, Cloud QuickPass platform, mobile banking APP, etc. In this embodiment, the first payment platform uses the WeChat Pay platform, and the second payment platform uses the Alipay platform.

[0070] When the trading entity uses the first payment platform (such as WeChat Pay) and the second payment platform (such as Alipay), the bank card binding operation has been completed on the platform. To obtain the bound bank card information, the system will first send an authorization request to the trading entity, and through security verification methods such as SMS verification code, fingerprint recognition, and facial recognition, ensure that it is the trading entity itself who authorizes the data acquisition operation.

[0071] After obtaining the authorization, the data interface opened by the payment platform is called through the original bill acquisition module 1. Taking WeChat Pay as an example, it provides an API interface specifically for querying the bank card information bound by users. Through this interface, the system can obtain the last four digits of the bank card number (for confidentiality reasons) and the name of the bank to which the bank card belongs bound by the trading entity. Similarly, Alipay also has a similar data interface, which can return the corresponding bank card binding information. These information provide a key link for subsequent association of bank card transactions and payment platform transactions.

[0072] Specification of the specified time range: According to actual needs, determine the time range of the original bills to be obtained, that is, the start time and the end time. The trading entity can manually enter the time on the application interface or select it through preset time interval options (such as the last month, the last three months, etc.).

[0073] Platform data request: According to the set time range, the system sends original bill data requests to the first payment platform and the second payment platform respectively. Taking Alipay as an example, the system calls the bill query interface of Alipay, passes in parameters such as the start time, the end time, and the unique identifier of the user on the Alipay platform. After receiving the request, the Alipay server filters out the transaction records that meet the conditions in its database, packages these records in a specific format (such as CSV format) and returns them to the requesting system. WeChat Pay also follows a similar process, and returns the original bill data within the corresponding time range through its bill query API interface. These data contain detailed information about each transaction, such as the transaction time, transaction amount, transaction counterparty information, transaction type (income or expenditure), etc.

[0074] Obtaining the original bank card statement: Establish a secure connection with the bank system to which the bank card bound to the trading entity belongs. Currently, most banks provide enterprise-level data service interfaces for providing customer account transaction information to partners. The system accesses the bank's data service platform through security credentials such as API keys and digital certificates provided by the bank. After accessing the bank system, the system filters out all transaction records of the bank card within the corresponding time period in the bank database according to the set start time and end time.

[0075] Step S102: Parse each original statement to respectively form a bank card statement parsing result, a first payment platform statement parsing result, and a second payment platform statement parsing result sorted in chronological order.

[0076] Specifically, the statement parsing, screening, and generating module 2 is used to parse, classify and screen, and generate statement results for multiple original statements of Alipay, WeChat, and bank cards. The statement parsing, screening, and generating module 2 includes a statement parsing module, which is used to parse each original statement to respectively form a bank card statement parsing result, a first payment platform statement parsing result, and a second payment platform statement parsing result sorted in chronological order.

[0077] Bank Card Bill Analysis: After obtaining the original bill files of multiple bank cards (such as PDF and Excel formats), it is first necessary to convert them into a processable structured data format. For example, for PDF format bills, with the help of OCR (Optical Character Recognition) technology, the text information in the bills is recognized, and through a specific template matching algorithm, the recognized information is classified and extracted into corresponding data fields, such as transaction date, transaction amount, name of the counterparty, transaction type (such as transfer, consumption, deposit, etc.). For Excel format bills, directly use a data reading library to accurately read each column of data into the data structure in memory according to the preset column name mapping relationship. Build a transaction type recognition model, which is trained based on a large amount of historical bill data. For each transaction record, extract the keywords in its transaction description field (such as "Alipay Quick Payment", "ATM Withdrawal", "Salary Credit", etc.) and match them with the predefined transaction type keyword library in the model. For example, when the keyword "Alipay Quick Payment" is detected, determine that the transaction type is a consumption expenditure through a third-party payment platform (Alipay); if the keyword is "Salary Credit", it is recognized as an income type. For some transactions that cannot be clearly determined by keywords, use machine learning algorithms, combined with multiple features such as transaction amount, transaction time, and counterparty, to predict in the trained classification model to determine their transaction type. After completing the transaction type recognition and other relevant information analysis, sort all transaction records in ascending order according to the transaction time field, so as to form the bank card bill analysis result arranged in chronological order, which is convenient for subsequent viewing and analysis of bank card transactions according to the time line.

[0078] Bill Parsing of the First Payment Platform (Taking WeChat Pay as an Example): The original bill data returned by WeChat Pay is usually encrypted and stored using a specific encryption algorithm. When the system obtains the bill data, it also obtains the corresponding encryption algorithm information (such as the AES encryption algorithm and related key information). Using the corresponding decryption algorithm and key, the bill data is decrypted, and the encrypted binary data is converted into a plain text format for subsequent parsing. The WeChat Pay bill data is stored in a specific format (such as CSV format), with each line representing a transaction record, and each field separated by a comma. The system reads each line of data according to the CSV format specification and extracts the data of each field into the corresponding variables according to the definition of the WeChat Pay bill fields. For example, the first field is the transaction time, which is converted into a unified time format (such as datetime type) using a time parsing function (such as the datetime.strptime function in Python); the second field is the transaction amount, which is converted into a floating-point number type, and its positive or negative value is determined according to the transaction type (income or expenditure); the information of the counterparty is stored in the corresponding field. If it is a personal transfer, the WeChat nickname of the other party is extracted. If it is a merchant transaction, information such as the merchant name is extracted. At the same time, according to the transaction description field (such as "WeChat red envelope income", "Scanned code payment to XX merchant", etc.), methods such as regular expression matching are used to accurately identify the transaction type. All the parsed WeChat Pay transaction records are stored in a data structure (such as a list), and then sorted by transaction time to generate the WeChat Pay bill parsing result arranged in chronological order.

[0079] Bill Parsing of the Second Payment Platform (Taking Alipay Pay as an Example): The original bill data returned by Alipay is usually in JSON format. The system uses a JSON parsing library (such as the json library in Python) to convert the received JSON string into a dictionary data structure in Python. During the conversion process, the system accurately extracts the data at each level according to the JSON structure definition of the Alipay bill data. A rule library for judging Alipay transaction types is constructed. According to the "trade_type" field in the transaction record (such as "TRADE_NORMAL" representing a normal transaction, "TRANSFER" representing a transfer, etc.) and the transaction description information, the specific type of each transaction is judged. All the Alipay transaction records that have been parsed and the transaction types determined are sorted by transaction time to generate the Alipay bill parsing result arranged in chronological order.

[0080] Step S103: Classify and filter the parsing results of bank card bills, the parsing results of the first payment platform bills, and the parsing results of the second payment platform bills to obtain the classification and filtering results of multiple types of transactions.

[0081] Specifically, the bill parsing, screening, and generating module 2 further includes a bill classification and screening module 22. The bill classification and screening module 22 is used to classify and screen the bank card bill parsing results, the first payment platform bill parsing results, and the second payment platform bill parsing results to obtain the classification and screening results of multiple types of transactions.

[0082] Among them, the multiple types of transactions include, but are not limited to, the first type of transaction obtained by classifying and screening the association between bank cards and payment platform transactions, the second type of transaction obtained by classifying and screening indirect changes in bank card balances, the third type of transaction obtained by classifying and screening direct transactions between the payment platform and the counterparty transaction entity, and the fourth type of transaction obtained by classifying and screening direct transactions between the bank card and the counterparty transaction entity, etc.

[0083] It should be noted that when screening the second, third, and fourth types of transactions, the parsing results of bills involving multiple identical counterparty transaction entities in multiple types of transactions are accumulated to calculate the total transaction amount, and the number of transaction records of multiple bill parsing results in the second, third, and fourth types of transactions respectively, as well as the total number of transaction records in multiple types of transactions, are calculated to obtain the final income and expenditure results for transactions involving multiple identical counterparty transaction entities, and the type of transaction with the largest number of transaction records among multiple bill parsing results included in the second, third, and fourth types of transactions respectively is obtained through analysis.

[0084] Step S104, based on the bank card bill parsing results, the first payment platform bill parsing results, the second payment platform bill parsing results, and the classification and screening results of multiple types of transactions, generate multiple independent bill statements.

[0085] Specifically, the bill parsing, screening, and generating module 2 further includes a first bill generating module 231, a second bill generating module 232, a third bill generating module 233, and a fourth bill generating module 234.

[0086] The first bill generating module 231 generates an internal transaction independent bill statement based on the bank card bill parsing results, the first payment platform bill parsing results, the second payment platform bill parsing results, and the first type of transaction.

[0087] The second bill generating module 232 generates a first external transaction independent bill statement based on the bank card bill parsing results, the first payment platform bill parsing results, the second payment platform bill parsing results, and the second type of transaction.

[0088] The third bill generating module 233 generates a second external transaction independent bill statement based on the bank card bill parsing results, the first payment platform bill parsing results, the second payment platform bill parsing results, and the third type of transaction.

[0089] The fourth bill generation module 234 generates a third external transaction independent bill statement based on the bank card bill parsing result, the first payment platform bill parsing result, the second payment platform bill parsing result, and the fourth type of transaction.

[0090] Step S105: Compare and match each independent bill statement with the preset transaction item budget amount respectively to correct the income and expenditure balance of multiple independent bill statements, and obtain the error correction balance calculation result.

[0091] Specifically, the bill parsing, screening, and generation module 2 further includes a bill inspection module 241. The bill inspection module 241 receives the import of several electronic details of the transaction item budget amount, compares and matches each independent bill statement with the preset transaction item budget amount respectively to correct the income and expenditure balance of multiple independent bill statements, and obtains the error correction balance calculation result. Specifically, it may include: comparison of transaction time, comparison of counterparty transaction subject accounts, comparison of income and expenditure transaction types, and comparison of income and expenditure parsing results, etc., to find errors such as decimal point misalignment, large difference errors, and allowable difference errors, and form the error correction balance calculation result.

[0092] Step S106: Add the error correction balance calculation result to each independent bill statement to generate an error correction statement corresponding to each independent bill statement.

[0093] Specifically, add the error correction balance calculation results formed by decimal point misalignment errors, large difference errors, and allowable difference errors to the above internal transaction independent bill statement, the first external transaction independent bill statement, the second external transaction independent bill statement, and / or the third external transaction independent bill statement respectively to generate the corresponding error correction statements.

[0094] The multi-platform bill processing and error correction statement generation method provided in this embodiment can integrate multi-platform transaction data through the original bill. Through parsing and screening, it clearly displays different types of transactions. During the process of parsing, screening, and finally generating multiple transaction independent bill statements and external transaction independent bill statements such as the bank card, the first payment platform, and the second payment platform of the transaction subject, it realizes the detailed and clear display of the overall income and expenditure situation of the transaction subject, such as the external transaction independent bill statement, and the independent display of the internal transaction independent bill statement, facilitating the transaction subject, i.e., the holder, to understand the distinction between internal and external transactions of multiple platforms as a whole, making the understanding of the actual income and expenditure with different counterparty transaction subjects more accurate, the fund transfer between multiple internal platforms clearer, and clearly confirming the internal fund transfer situation of the transaction subject. By comparing and matching the independent bill statement with the preset transaction item budget amount, calculating the income and expenditure balance and correcting errors, it can effectively avoid financial errors, ensure that the fund use conforms to the budget plan, and solve the problem of financial losses caused by the lack of error correction analysis for bill errors in multi-platform bill processing.

[0095] In this embodiment, a multi-platform bill processing and error correction report generation method is provided, which can be used in the above computer device. A multi-platform bill processing and error correction report generation device is installed on the computer device, such as Figure 5 shown, including an original bill acquisition module 1 and a bill parsing, screening, and generation module 2. Figure 2 is a flowchart of the multi-platform bill processing and error correction report generation method according to an embodiment of the present invention, such as Figure 2 shown, and the process includes the following steps:

[0096] Step S201, obtain the bank card information bound to the first payment platform and the second payment platform of the trading entity, and obtain multiple original bills directly traded through the bank card, traded on the first payment platform, and traded on the second payment platform.

[0097] Specifically, respectively obtain the original bills between the start time and the end time of the bank card direct transaction, the transaction on the first payment platform (taking WeChat Pay as an example), and the transaction on the second payment platform (taking Alipay Pay as an example), and obtain the total balance and the zeroed balance corresponding to the start time.

[0098] Through the original bill acquisition module 1, obtain the bank card information bound to WeChat and Alipay of the trading entity, such as the last four digits of the bank card of the trading entity confirmed based on the confidentiality principle, and obtain the original bills between the start time and the end time of WeChat, Alipay, and several bank cards; and confirm the starting amounts of WeChat, Alipay, and several bank cards at the start time, such as obtaining the balance at the start time and / or setting the zeroed amount. That is, set the starting amounts of WeChat, Alipay, and bank cards at the start time, and at the same time set the total balance situation at the start time and the zeroed amount at the start time.

[0099] Step S202, perform bill parsing on each original bill to respectively form a bank card bill parsing result, a first payment platform bill parsing result, and a second payment platform bill parsing result sorted in chronological order.

[0100] Specifically, the first bill parsing module 211 configures a variety of decryption rule configurations, and matches the corresponding different encryption algorithms for reverse operation to parse different bill data. The first bill parsing module 211 can use pattern recognition and feature matching methods to analyze the patterns, structures, and features of multiple income and expenditure data in the bill, identify and parse the corresponding encryption algorithms, and through reverse operation, obtain multiple income and expenditure transaction types and corresponding amounts in the bill.

[0101] The above step S202 includes:

[0102] Step S2021: Use the matching encryption algorithm and decryption rules to perform reverse operations to parse each original bill, and obtain the income and expenditure parsing results corresponding to each original bill. The income and expenditure parsing results include the income and expenditure transaction types, as well as the corresponding transaction amounts and transaction times of the income and expenditure.

[0103] Step S2022: Parse the balance changes after each transaction detail between the start time and end time of each original bill to obtain the balance change results corresponding to each original bill. Specifically, as Figure 5 shown, the bill parsing module includes a first bill parsing module 211, a second bill parsing module 212, and a third bill parsing module 213.

[0104] While obtaining multiple original bills of Alipay, WeChat, and bank cards through the original bill acquisition module 1, it is also necessary to obtain their encryption algorithms. Then, match the encryption algorithms with multiple decryption rule configuration standards built into the first bill parsing module 211 and perform reverse operations to achieve the parsing of bill data to confirm the income and expenditure transaction types, as well as the corresponding amounts and transaction times. And / or, parse the original bill details between the start time and end time of WeChat, Alipay, and bank cards through the second bill parsing module 212, that is, also confirm the income and expenditure transaction types, as well as the corresponding amounts and transaction times through the balance changes and their calculations after each transaction detail. And / or, confirm the income and expenditure transaction types, as well as the corresponding amounts and transaction times through the third bill parsing module 213 by matching the types of each transaction of the original bill between the start time and end time of WeChat, Alipay, and bank cards with the bill detail format and features.

[0105] Step S2023: Use the AI algorithm to sort the income and expenditure parsing results and balance change results corresponding to each original bill according to the transaction time, and respectively form the bank card bill parsing result, the first payment platform bill parsing result, and the second payment platform bill parsing result.

[0106] Specifically, the above-mentioned first bill parsing module 211, second bill parsing module 212, and third bill parsing module 213 are AI models. The first bill parsing module 211, second bill parsing module 212, and / or third bill parsing module 213 respectively form the bill parsing results sorted in time sequence according to the transaction time for multiple income and expenditure parsing results of WeChat, Alipay, and bank cards. That is, after completing the transaction type recognition and other related information parsing, all transaction records are sorted in ascending order according to the transaction time field, and respectively form the bank card bill parsing result, the WeChat payment bill parsing result, and the Alipay payment bill parsing result.

[0107] Step S203: Classify and filter the parsed results of the bank card bill, the first payment platform bill, and the second payment platform bill to obtain the classified and filtered results of multiple types of transactions.

[0108] Specifically, the above step S203 includes:

[0109] Step S2031: Compare the parsed results of the first payment platform bill and the second payment platform bill with the parsed result of the bank card bill respectively, and classify and filter out the first type of transactions where the trading entity conducts income and expenditure transactions with the trading entity's bank card through the first payment platform and the second payment platform respectively; classify and filter out the second type of transactions where the balance in the trading entity's bank card changes indirectly and conducts income and expenditure transactions with the counterparty trading entity through the first payment platform and the second payment platform respectively; at the same time, classify and filter out the third type of transactions where the trading entity conducts direct income and expenditure transactions with the counterparty trading entity through the first payment platform and the second payment platform respectively, and classify and filter out the fourth type of transactions where the trading entity conducts direct income and expenditure transactions with the counterparty trading entity through the bank card.

[0110] Specifically, the bill classification and filtering module 22 compares the parsed results of the bills of WeChat, Alipay, and bank cards. By comparing the multiple income and expenditure parsed results of WeChat and Alipay with the parsed results of the bank card's income and expenditure respectively, such as comparing the matching transaction times, and comparing the bank card information of the trading counterparts of WeChat and Alipay with the bound bank card information of the confirmed trading entity, such as the last four digits of the bank card, it filters out the first type of transactions where WeChat and Alipay of the trading entity conduct income and expenditure transactions with the trading entity's bank card respectively, and filters out the second type of transactions where the balance in the trading entity's bank card is indirectly changed by WeChat and Alipay of the trading entity through income and expenditure transactions with the counterparty trading entity, and filters out the third type of transactions where WeChat and Alipay of the trading entity conduct direct income and expenditure transactions with the counterparty trading entity, and filters out the fourth type of transactions where the trading entity's bank card conducts direct transactions with the counterparty trading entity, thus completing the classification and filtering of multiple types of transactions for the parsed results of the bills of Alipay, WeChat, and bank cards.

[0111] Step S2032: Take the first type of transactions, the second type of transactions, the third type of transactions, and the fourth type of transactions as the classified and filtered results of multiple types of transactions.

[0112] Step S204: Generate multiple independent bill reports based on the parsed results of the bank card bill, the first payment platform bill, the second payment platform bill, and the classified and filtered results of multiple types of transactions. For details, please refer to Figure 1 Step S104 of the illustrated embodiment, which will not be elaborated here.

[0113] Step S205: Compare and match each independent bill statement with the preset transaction item budget amount respectively to correct the balance of payments differences of multiple independent bill statements and obtain the corrected balance calculation result. For details, please refer to Figure 1 Step S105 of the embodiment shown in

[0114] which will not be elaborated here. Figure 1 Step S206: Add the corrected balance calculation result to each independent bill statement to generate a corrected statement corresponding to each independent bill statement. For details, please refer to

[0115] Step S106 of the embodiment shown in

[0116] which will not be elaborated here. Figure 5 Figure 3 The multi-platform bill processing and corrected statement generation method provided in this embodiment can be used in a computer device, on which a multi-platform bill processing and corrected statement generation device is installed, such as Figure 3 shown, including a raw bill acquisition module 1 and a bill parsing, screening, and generation module 2.

[0117] Figure 1

[0118] is a flowchart of the multi-platform bill processing and corrected statement generation method according to an embodiment of the present invention. As shown, the process includes the following steps: Step S301: Obtain the bank card information bound to the first payment platform and the second payment platform of the trading entity, and obtain multiple raw bills directly traded through the bank card, traded on the first payment platform, and traded on the second payment platform. For details, please refer to Step S201 of the embodiment shown in which will not be elaborated here.Step S302: Parse each original bill to respectively form a parsed result of bank card bills, a parsed result of the first payment platform bills, and a parsed result of the second payment platform bills sorted in chronological order. For details, please refer to Figure 1 Step S202 of the embodiment shown, which will not be elaborated here.

[0119] Step S303: Classify and filter the parsed result of bank card bills, the parsed result of the first payment platform bills, and the parsed result of the second payment platform bills to obtain a classified and filtered result of multiple types of transactions. For details, please refer to Figure 1 Step S203 of the embodiment shown, which will not be elaborated here.

[0120] Step S304: Generate multiple independent bill statements based on the parsed result of bank card bills, the parsed result of the first payment platform bills, the parsed result of the second payment platform bills, and the classified and filtered result of multiple types of transactions.

[0121] Specifically, the above Step S304 includes:

[0122] Step S3041: Generate an internal transaction independent bill statement for the bank card of the trading entity and the revenue and expenditure transactions of the trading entity through the first payment platform and the second payment platform based on the parsed result of bank card bills, the parsed result of the first payment platform bills, the parsed result of the second payment platform bills, and the first type of transaction.

[0123] Specifically, the bill parsing, screening, and generating module 2 further includes a first bill generating module 231 for generating the first bill of the bank card of the trading entity. The first bill generating module 231 embeds the parsed result of the first type of transaction in a preset position sorted in chronological order in the first bill generating module 231 according to the parsed results generated by the first bill parsing module 211, the second bill parsing module 212, and / or the third bill parsing module 213, combined with the classified and filtered results of the first type of transaction, the second type of transaction, the third type of transaction, and the fourth type of transaction, to generate an internal transaction independent bill statement between the bank card of the trading entity and WeChat and Alipay of the trading entity.

[0124] Step S3042: Generate a first external transaction independent bill statement for the indirect change of the balance in the bank card of the trading entity and the revenue and expenditure transactions with the counterparty trading entity through the first payment platform and the second payment platform based on the parsed result of bank card bills, the parsed result of the first payment platform bills, the parsed result of the second payment platform bills, and the second type of transaction.

[0125] Specifically, the bill parsing, screening, and generating module 2 further includes a second bill generating module 232, which is used to generate the second bill of the transaction entity's bank card. The second bill generating module 232 embeds the bill parsing result of the second transaction type into the preset position sorted in chronological order in the second bill generating module 232 according to the bill parsing results generated by the first bill parsing module 211, the second bill parsing module 212, and / or the third bill parsing module 213, combined with the classification and screening results of the second type of transaction with the first type of transaction, the third type of transaction, and the fourth type of transaction respectively, to generate an independent bill statement of the first external transaction for the transaction entity's bank card indirectly through the transaction entity's WeChat and Alipay with the counterparty transaction entity.

[0126] Step S3043: Based on the bank card bill parsing result, the first payment platform bill parsing result, the second payment platform bill parsing result, and the third type of transaction, generate an independent bill statement of the second external transaction for the transaction entity's direct revenue and expenditure transactions with the counterparty transaction entity through the first payment platform and the second payment platform respectively.

[0127] Specifically, the bill parsing, screening, and generating module 2 further includes a third bill generating module 233, which is used to generate the bills of the transaction entity's WeChat and Alipay. The third bill generating module 233 embeds the bill parsing result of the third transaction type into the preset position sorted in chronological order in the third bill generating module 233 according to the bill parsing results generated by the first bill parsing module 211, the second bill parsing module 212, and / or the third bill parsing module 213, combined with the classification and screening results of the third type of transaction with the first type of transaction, the second type of transaction, and the fourth type of transaction respectively, to generate an independent bill statement of the second external transaction for the transaction entity's WeChat and Alipay transactions with the counterparty transaction entity.

[0128] Step S3044: Based on the bank card bill parsing result, the first payment platform bill parsing result, the second payment platform bill parsing result, and the fourth type of transaction, generate an independent bill statement of the third external transaction for the transaction entity's direct revenue and expenditure transactions with the counterparty transaction entity through the bank card.

[0129] Specifically, the bill parsing, screening, and generating module 2 further includes a fourth bill generating module 234, which realizes the generation of the bank card bill of the trading entity. The fourth bill generating module 234 embeds the bill parsing results of the fourth type of transaction into the preset positions sorted in chronological order in the fourth bill generating module 234 based on the bill parsing results generated by the first bill parsing module 211, the second bill parsing module 212, and / or the third bill parsing module 213, combined with the classification and screening results of the fourth type of transaction with the first type of transaction, the second type of transaction, and the third type of transaction respectively, to generate a third external transaction independent bill statement in which the bank card of the trading entity directly conducts transactions with the counterparty trading entity.

[0130] Step S305, when generating multiple independent bill statements, cumulatively calculate the total balance based on the total balance corresponding to the start time of each original bill and / or cumulatively calculate the total balance based on the zeroing amount corresponding to the start time of each original bill, and add the cumulative calculation of the total balance to the corresponding independent bill statement.

[0131] Specifically, during the generation of multiple independent bill statements, calculate and accumulate the amounts of multiple income and expenditure transactions based on the total balance at the start time and the zeroing amount in multiple bill statements, and when displaying in multiple independent bill statements, display the balance change results of the two types of total amounts separately at the end of each income and expenditure parsing result in the bill parsing result.

[0132] Furthermore, the bill parsing, screening, and generating module 2 further includes a first balance calculation module 235 and / or a second balance calculation module 236. At least during the generation of multiple independent bill statements by the first bill generating module 231, the second bill generating module 232, the third bill generating module 233, and the fourth bill generating module 234, calculate and accumulate the total balance based on the total balance at the start time in multiple bill statements through the first balance calculation module 235, and / or calculate and accumulate the total balance based on the zeroing amount in multiple bill statements through the second balance calculation module 236, and add them to the multiple independent bill statements for display.

[0133] Step S306, based on the bank card bill parsing result, the first payment platform bill parsing result, the second payment platform bill parsing result, the second type of transaction, the third type of transaction, and the fourth type of transaction, accumulate and calculate the total transaction amount and the total number of transactions corresponding to the bill parsing results involving multiple same counterparty trading entities in the second type of transaction, the third type of transaction, and the fourth type of transaction, and add the total transaction amount and the total number of transactions to the first external transaction independent bill statement, the second external transaction independent bill statement, and the third external transaction independent bill statement respectively.

[0134] Specifically, the trading accounts of the counterparty trading entities that trade with the trading entity include WeChat, Alipay, and bank cards. For multiple independent bill statements of the trading entity's WeChat, Alipay, and bank cards, the multiple income and expenditure transactions with the trading accounts of the same counterparty trading entity are respectively calculated for the total amount accumulation through the third balance calculation module 242, and the total amount accumulation calculation results of the multiple income and expenditure transactions and the counterparty trading entity information are displayed in the internal trading independent bill statement of the corresponding trading entity and the first, second, and third external trading independent bill statements.

[0135] Furthermore, the bill parsing, screening, and generating module 2 further includes a third balance calculation module 242. When screening the second type of transaction, the third type of transaction, and the fourth type of transaction through the bill classification and screening module 22, the parsing results of the income and expenditure involving multiple same counterparty trading entities in multiple types of transactions are accumulated and calculated for the total transaction amount through the third balance calculation module 242, and the number of transaction records of the multiple income and expenditure parsing results in the second type of transaction, the third type of transaction, and the fourth type of transaction respectively, as well as the total number of transaction records in multiple types of transactions, are calculated to obtain the final income and expenditure results for the transactions involving multiple same counterparty trading entities. And through analysis, the type of transaction with the largest number of transaction records in which the multiple income and expenditure parsing results are respectively included in the second, third, and fourth types of transactions is determined. Correspondingly, the counterparty trading account number, the final income and expenditure results, and the total number of transaction records in all types of transactions are preferentially displayed in the designated external trading independent bill statements generated by the second bill generating module 232, the third bill generating module 233, and the fourth bill generating module 234.

[0136] Step S307: Compare and match each independent bill statement with the preset transaction item budget amount respectively to correct the income and expenditure difference of multiple independent bill statements, and obtain the corrected difference calculation result.

[0137] Specifically, each independent bill statement includes the income and expenditure parsing result, the transaction time, the counterparty trading entity account, and the income and expenditure transaction type. The above step S307 includes:

[0138] Step S3071: Compare and match the income and expenditure parsing result, the transaction time, the counterparty trading entity account, and the income and expenditure transaction type of each independent bill statement with the income and expenditure parsing result, the transaction time, the counterparty trading entity account, and the income and expenditure transaction type of the preset transaction item budget amount respectively.

[0139] Specifically, the bill parsing, screening, and generating module 2 further includes a bill inspection module 241, which is used to receive the import of the electronic details of the budget funds for several transaction items, and indirectly communicate with the bank card of the transaction subject through the WeChat and Alipay of the transaction subject to independently generate a bill statement for external transactions with the counterparty transaction subject, as well as the independently generated bill statement for external transactions between the WeChat and Alipay of the transaction subject and the counterparty transaction subject, and compare with the multiple income and expenditure parsing results in the independently generated bill statement for external transactions directly between the bank card of the transaction subject and the counterparty transaction subject. By using the budget funds for transaction items and preset transaction pre-completion time periods / transaction completion times, and comparing and matching them with the transaction times configured in the multiple income and expenditure parsing results in the first, second, and third independently generated bill statements for external transactions, and / or, simultaneously comparing and matching the transaction counterparty account information included in the electronic version of the transaction item budget funds with the counterparty transaction subject account information in the multiple income and expenditure parsing results in the first, second, and third independently generated bill statements for external transactions, and comparing and matching the income and expenditure types of the budget funds for transaction items with the income / expenditure types of the multiple income and expenditure parsing results in the two types of bills, confirm the income and expenditure transactions and their amounts that match the imported budget funds for transaction items, calculate the difference between the budget funds and the income and expenditure transactions to achieve income and expenditure error correction, and display and generate the error correction difference calculation results through the independently generated bill statements for external transactions indirectly through the WeChat and Alipay of the transaction subject by using the bank card of the transaction subject, and / or, the independently generated bill statements for external transactions between the WeChat and Alipay of the transaction subject and the counterparty transaction subject, and / or, the independently generated bill statement for external transactions directly between the bank card of the transaction subject and the counterparty transaction subject, and achieve financial error correction.

[0140] Step S3072, generate the decimal point misalignment inspection result, large difference inspection result, and allowable difference inspection result between each independently generated bill statement and the preset transaction item budget funds according to the preset first difference threshold, preset second difference threshold, and preset third difference threshold.

[0141] Specifically, the bill inspection module 241 has a first difference threshold, that is, the decimal point misalignment difference threshold. By comparing the ratio of the difference between the income and expenditure parsing result and the budget fund amount to the income and expenditure parsing result / budget fund amount, various inspection error results are formed. For example, the decimal point misalignment difference threshold can be set to more than 8.5%, and the decimal point misalignment inspection result / extra-large difference inspection result is determined. It can also be set to 4%-8.5% to determine the large difference inspection result, and can also be set to less than 4% to determine the allowable difference inspection result, and display the inspection results in the first, second, and third independently generated bill statements for external transactions, providing a convenient financial error correction effect.

[0142] Step S3073, use the decimal point misalignment inspection result, large difference inspection result, and allowable difference inspection result as the error correction difference calculation result and provide a display in the error correction statement.

[0143] It should be noted that in the process of obtaining the bound bank card information of WeChat and Alipay of the trading entity through the original bill acquisition module 1, and / or obtaining the WeChat, Alipay, and bank card bill information of the trading entity through the original bill, and / or obtaining the starting balance at the starting time before the first transaction for calculating the total balance from the starting time, and / or receiving the import of several electronic detailed lists of transaction item budget funds through the bill verification module 241, and / or, in the process of performing financial error correction through the bill verification module 241, and / or generating and / or displaying multiple independent bill statements of the trading entity for WeChat, Alipay, and bank cards through multiple bill generation modules, several password access permissions are set, such as biometric passwords and electronic passwords.

[0144] The multi-platform bill processing and error correction report generation method provided in this embodiment generates different types of independent bill statements, which precisely meet the diverse financial needs of trading entities. The internal transaction independent bill statement focuses on the income and expenditure between the trading entity's bank card and the first and second payment platforms it uses, facilitating individuals or enterprises to clearly view the internal fund flow and helping to manage the fund allocation between the payment platform and the bank card. Classifying and integrating complex multi-platform bill data into independent bill statements greatly improves the efficiency of financial management. From the perspective of risk control, independent bill statements help to detect abnormal transactions and potential risks in a timely manner. Different types of transaction reports make risk monitoring more refined, and trading entities can respectively focus on the fund flow under different transaction paths. Cumulative calculation is performed based on the starting balance at the starting time, providing users with a coherent view of the fund flow. Whether it is an individual managing daily income and expenditure or an enterprise conducting financial accounting, they can clearly see the changes in funds from the initial state to each transaction node in this way. Cumulative calculation of the total balance starts from the zero amount, which can highlight the actual income and expenditure in each bill cycle. Displaying the cumulative calculation result of the total balance in the independent bill statement provides an intuitive decision-making reference for the trading entity. By comparing and verifying the specific income and expenditure situation of the trading entity with the transaction item budget funds through the bill verification module, when based on multiple independent bill statements, differential calculations can be performed by comparing with the electronic detailed list of transaction item budget funds, including the decimal point misalignment test result, large difference test result, and allowable difference test result, and finally financial error correction can be achieved through income and expenditure error correction, promptly discovering and correcting the bookkeeping and income and expenditure errors of companies and units, and avoiding economic losses caused by financial bookkeeping errors.

[0145] As one or more specific application embodiments of the present invention, in combination with Figure 4 and Figure 5 further detailed description is made of the multi-platform bill processing and error correction report generation method provided by the present invention, as Figure 4 shown, the process specifically includes:

[0146] Step S1: As shown in Figure 5 , obtain the bank card binding information of WeChat and Alipay of the transaction subject through the original bill acquisition module 1, such as the last few digits of the bank card of the transaction subject confirmed based on the confidentiality principle, and obtain the original bills between the start time and the end time for WeChat, Alipay, and several bank cards respectively; and confirm the starting amounts of WeChat, Alipay, and several bank cards at the start time, such as obtaining the balance at the start time and / or setting the zeroing amount.

[0147] Step S2: Preset the bill parsing, screening, and generating module 2 to perform bill parsing, classification screening, and bill result generation on multiple original bills of Alipay, WeChat, and bank cards.

[0148] Step S3: For the implementation of bill parsing, the bill parsing, screening, and generating module 2 includes a first bill parsing module 211. When obtaining multiple original bills of Alipay, WeChat, and bank cards through the original bill acquisition module 1, obtain their encryption algorithms at the same time, and then match the built-in multiple decryption rule configurations of the first bill parsing module 211 with the encryption algorithms and perform reverse operations to realize the parsing of bill data to confirm the transaction types of income and expenditure, as well as the corresponding amounts and transaction times. And / or, the bill parsing, screening, and generating module 2 further includes a second bill parsing module 212. The second bill parsing module 212 parses the original bill details between the start time and the end time of WeChat, Alipay, and bank cards, that is, also confirms the transaction types of income and expenditure, as well as the corresponding amounts and transaction times through the balance change and its calculation after each transaction detail. And / or, the bill parsing, screening, and generating module 2 further includes a third bill parsing module 213. The third bill parsing module 213 confirms the transaction types of income and expenditure, as well as the corresponding amounts and transaction times by matching the type of each transaction in the original bill between the start time and the end time of WeChat, Alipay, and bank cards through the bill detail format and features. The first bill parsing module 211, the second bill parsing module 212, and / or the third bill parsing module 213 are all AI models; use the first bill parsing module 211, the second bill parsing module 212, and / or the third bill parsing module 213 to form a bill parsing result sorted in chronological order according to the transaction time for the multiple income and expenditure parsing results of WeChat, Alipay, and bank cards respectively.

[0149] Step S4: The bill parsing, screening, and generating module 2 further includes a bill classification and screening module 22. For the bill parsing results of WeChat, Alipay, and bank cards, the parsing results of multiple income and expenses of WeChat and Alipay are respectively compared with the parsing results of the income and expenses of bank cards. For example, the transaction times are compared for matching, and the bank card information of the counterparty of the WeChat and Alipay transactions is compared with the bound bank card information of the confirmed transaction subject, such as the last four digits of the bank card, to screen out the first type of transactions of the income and expenses transactions between the WeChat and Alipay of the transaction subject and the bank card of the transaction subject, and to screen out the second type of transactions in which the balance of the transaction subject's bank card is indirectly changed by the WeChat and Alipay of the transaction subject through income and expenses transactions with the counterparty transaction subject, and to screen out the third type of transactions of direct income and expenses transactions between the WeChat and Alipay of the transaction subject and the counterparty transaction subject, and to screen out the fourth type of transactions of direct transactions between the transaction subject's bank card and the counterparty transaction subject, thus completing the classification and screening of multiple types of transactions in the bill parsing results of Alipay, WeChat, and bank cards.

[0150] Step S5: The bill parsing, screening, and generating module 2 further includes a first bill generating module 231, which realizes the generation of the first bill of the transaction subject's bank card. The first bill generating module 231 embeds the bill parsing results of the first type of transactions into the preset positions sorted in chronological order in the first bill generating module 231 according to the bill parsing results generated by the first bill parsing module 211, the second bill parsing module 212, and / or the third bill parsing module 213, in combination with the screening results distinguished by the first type of transactions, the second type of transactions, the third type of transactions, and the fourth type of transactions, to generate an independent bill statement for the internal transactions between the transaction subject's bank card and the WeChat and Alipay of the transaction subject. The independent bill statement for internal transactions is, for example, a table-type bill statement sorted in chronological order, that is, the embedded sorting of the bill parsing results of the first type of transactions is also completed through the preset positions of the table type and formed.

[0151] Step S6: The bill parsing, screening, and generating module 2 further includes a second bill generating module 232, which is used to generate the second bill of the transaction entity's bank card. The second bill generating module 232 embeds the bill parsing result of the second transaction type into the preset position sorted in chronological order in the second bill generating module 232 according to the bill parsing results generated by the first bill parsing module 211, the second bill parsing module 212, and / or the third bill parsing module 213, combined with the screening results differentiated by the second type of transaction and the first type of transaction, the third type of transaction, and the fourth type of transaction, to generate an independent bill statement of the first external transaction for the transaction entity's bank card indirectly through the transaction entity's WeChat and Alipay with the counterparty transaction entity. The first external transaction independent bill statement is, for example, a table-type bill statement sorted in chronological order, that is, the embedded sorting and formation of the bill parsing result of the second transaction type are also completed through the preset position of the table type.

[0152] Step S7: The bill parsing, screening, and generating module 2 further includes a third bill generating module 233, which is used to generate the bills of the transaction entity's WeChat and Alipay. The third bill generating module 233 embeds the bill parsing result of the third transaction type into the preset position sorted in chronological order in the third bill generating module 233 according to the bill parsing results generated by the first bill parsing module 211, the second bill parsing module 212, and / or the third bill parsing module 213, combined with the screening results differentiated by the third type of transaction and the first type of transaction, the second type of transaction, and the fourth type of transaction, to generate an independent bill statement of the second external transaction for the transaction entity's WeChat and Alipay with the counterparty transaction entity. The second external transaction independent bill statement is, for example, a table-type bill statement sorted in chronological order, that is, the embedded sorting and formation of the bill parsing result of the third transaction type are also completed through the preset position of the table type.

[0153] Step S8: The bill parsing, screening, and generating module 2 further includes a fourth bill generating module 234, which is used to generate the bill of the transaction entity's bank card. The fourth bill generating module 234 embeds the bill parsing result of the fourth transaction type into the preset position sorted in chronological order in the fourth bill generating module 234 according to the bill parsing results generated by the first bill parsing module 211 and / or the second bill parsing module 212 and / or the third bill parsing module 213, combined with the screening results differentiated by the fourth type of transaction and the first type of transaction, the second type of transaction, and the third type of transaction, to generate an independent bill statement of the third external transaction for the transaction entity's bank card directly with the counterparty transaction entity. The third external transaction independent bill statement is, for example, a table-type bill statement sorted in chronological order, that is, the embedded sorting and formation of the bill parsing result of the fourth transaction type are also completed through the preset position of the table type.

[0154] Step S9: The bill parsing, screening, and generating module 2 further includes a first balance calculation module 235 and / or a second balance calculation module 236. At least in the generation of multiple independent bill statements by the first, second, third, and fourth bill generation modules 234, the first balance calculation module 235 calculates and accumulates the total balance based on the total balance at the starting time in multiple bill statements, and / or the second balance calculation module 236 calculates and accumulates the total balance based on the zeroing amount in multiple bill statements, and adds them to the multiple independent bill statements for display, that is, by adding and displaying at a preset position in the table type of the multiple independent bill statements.

[0155] Step S10: The bill parsing, screening, and generating module 2 further includes a third balance calculation module 242. When screening the second, third, and fourth types of transactions through the bill classification and screening module 22, the third balance calculation module accumulatively calculates the total transaction amount for the income and expenditure analysis results of multiple types of transactions involving multiple pairs of counterparty transaction entities, and calculates the number of transaction records of multiple income and expenditure analysis results in the second type of transaction, the third type of transaction, and the fourth type of transaction respectively, as well as the total number of transaction records in multiple types of transactions, to obtain the final income and expenditure results for transactions involving multiple pairs of the same counterparty transaction entities. And by analyzing, it is obtained that among the second type of transaction, the third type of transaction, and the fourth type of transaction, the type of transaction with the largest number of transaction records in which multiple income and expenditure analysis results are respectively included. Correspondingly, the counterparty transaction account number, the final income and expenditure results, and the total number of transaction records in all types of transactions are preferentially displayed in the specified external transaction independent bill statements generated by the second bill generation module 232, the third bill generation module 233, and the fourth bill generation module 234.

[0156] Step S11: Preset the bill verification module 241 to receive the import of several electronic details of the budget funds for transaction items, in the form of text and / or table, including at least the amount of budget funds for transaction items, the income and expenditure types, the transaction pre-completion time period / transaction completion time, and the counterparty account information of the transaction. Indirectly through the WeChat and Alipay of the transaction subject, compare it with the independent bill statements of external transactions for transactions with the counterparty transaction subject by the bank card of the transaction subject, and the independent bill statements of external transactions for transactions with the counterparty transaction subject by the WeChat and Alipay of the transaction subject, as well as the independent bill of external transactions for transactions directly with the counterparty transaction subject by the bank card of the transaction subject. Compare it with multiple income and expenditure analysis results in the independent bill of external transactions. Compare and match through the transaction pre-completion time period / transaction completion time preset in the budget funds for transaction items and the transaction times configured in multiple income and expenditure analysis results in the first, second, and third independent bill statements of external transactions, and / or, at the same time, compare and match the counterparty account information included in the electronic budget funds for transaction items with the counterparty transaction subject account information in multiple income and expenditure analysis results in the first, second, and third independent bill statements of external transactions, and compare and match the income and expenditure types of the budget funds for transaction items with the income / expenditure types of multiple income and expenditure analysis results in the two bills. Confirm the income and expenditure transactions and their amounts that match the imported budget funds for transaction items, calculate the difference between the budget funds and the income and expenditure transactions to achieve income and expenditure error correction. Add and display the calculated results of the error-corrected difference through the independent bill statements of external transactions for transactions with the counterparty transaction subject by the bank card of the transaction subject indirectly through the WeChat and Alipay of the transaction subject, and / or, the independent bill statements of external transactions for transactions with the counterparty transaction subject by the WeChat and Alipay of the transaction subject, and / or, the independent bill of external transactions for transactions directly with the counterparty transaction subject by the bank card of the transaction subject. If the difference is too large, or the difference is about ten times, such as the decimal point of the account amount is misaligned, financial error correction is achieved.

[0157] In step S11, a first difference threshold, that is, a decimal point misalignment difference threshold, is set in the bill verification module 241. By comparing the difference between the income and expenditure analysis result and the budget fund amount with the ratio of the income and expenditure analysis result / budget fund amount, multiple error test results are formed. For example, the first difference threshold can be set above 8.5%, determining the decimal point misalignment test result / large difference test result. It can also be set between 4% - 8.5%, determining the large difference test result. It can also be set below 4%, determining the allowable difference test result, and display the test results in several independent bill statements of external transactions to provide a convenient financial error correction effect.

[0158] The multi-platform bill processing and error correction report generation method provided in this embodiment includes a multi-platform bill processing and differentiation, and an error correction report generation method. Through the original bill acquisition module, multiple original bills of WeChat, Alipay, and bank cards are acquired. The bill parsing, screening, and generation module parses the bills to generate multiple bill parsing results, classifies them into four types of transactions, and the bill generation module generates multiple independent bill reports for multiple platforms, and the first and second balance calculation modules perform different balance calculations and accumulations for display. And through the bill inspection module, the financial error correction is realized by comparing the imported transaction item budget amount with the income and expenditure parsing results of multiple bill reports; the third balance calculation module calculates and displays the total amount of multiple transactions with the same counterparty transaction subject to realize financial error correction. At the same time, with the corresponding system, the multi-platform segmented bill processing and the generation of error correction reports are realized.

[0159] In this embodiment, a multi-platform bill processing and error correction report generation device is also provided. This device is used to implement the above-mentioned embodiments and preferred implementation manners, and those that have been described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that can achieve a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.

[0160] This embodiment provides a multi-platform bill processing and error correction report generation device, as Figure 6 shown, including:

[0161] The original bill acquisition module 1 is used to acquire the bank card information bound to the first payment platform and the second payment platform of the transaction subject, and acquire multiple original bills directly traded through the bank card, traded on the first payment platform, and traded on the second payment platform;

[0162] The bill parsing module 21 is used to parse each original bill to respectively form a bank card bill parsing result, a first payment platform bill parsing result, and a second payment platform bill parsing result sorted in chronological order;

[0163] The bill classification and screening module 22 is used to classify and screen the bank card bill parsing result, the first payment platform bill parsing result, and the second payment platform bill parsing result to obtain the classification and screening results of multiple types of transactions;

[0164] Multiple independent bill report generation modules 23 are used to generate multiple independent bill reports based on the bank card bill parsing result, the first payment platform bill parsing result, the second payment platform bill parsing result, and the classification and screening results of multiple types of transactions;

[0165] An error correction difference calculation module 24 is configured to compare and match each independent bill statement with a preset transaction item budget amount respectively to correct the income and expenditure differences of multiple independent bill statements, and obtain an error correction difference calculation result;

[0166] An error correction statement generation module 25 is configured to add the error correction difference calculation result to each independent bill statement to generate an error correction statement corresponding to each independent bill statement.

[0167] In some alternative embodiments, the original bill acquisition module 1 includes:

[0168] An original bill acquisition unit is configured to acquire original bills between the start time and the end time of direct bank card transactions, first payment platform transactions, and second payment platform transactions respectively, and acquire the total balance and zero balance corresponding to the start time.

[0169] In some alternative embodiments, the bill parsing module 21 includes:

[0170] An income and expenditure parsing unit is configured to parse each original bill by using a matching encryption algorithm and a decryption rule in reverse operation to obtain an income and expenditure parsing result corresponding to each original bill, and the income and expenditure parsing result includes the income and expenditure transaction type, the transaction amount and transaction time corresponding to the income and expenditure.

[0171] A balance change parsing unit is configured to parse the balance change after each transaction detail between the start time and the end time of each original bill to obtain a balance change result corresponding to each original bill.

[0172] A sorting unit is configured to sort the income and expenditure parsing result and the balance change result corresponding to each original bill according to the transaction time by using an AI algorithm to respectively form a bank card bill parsing result, a first payment platform bill parsing result, and a second payment platform bill parsing result.

[0173] In some alternative embodiments, the bill classification and screening module 22 includes:

[0174] A multi-type transaction classification and screening unit is used to compare the parsing results of the first payment platform bill and the parsing results of the second payment platform bill with the parsing results of the bank card bill respectively, and classify and screen out the first type of transactions in which the transaction entity conducts income and expenditure transactions with the transaction entity's bank card through the first payment platform and the second payment platform respectively; classify and screen out the second type of transactions in which the balance in the transaction entity's bank card changes indirectly and conducts income and expenditure transactions with the counterparty transaction entity through the first payment platform and the second payment platform respectively; at the same time, classify and screen out the third type of transactions in which the transaction entity directly conducts income and expenditure transactions with the counterparty transaction entity through the first payment platform and the second payment platform respectively, and classify and screen out the fourth type of transactions in which the transaction entity directly conducts income and expenditure transactions with the counterparty transaction entity through the bank card.

[0175] A classification and screening result determination unit is used to use the first type of transaction, the second type of transaction, the third type of transaction, and the fourth type of transaction as the classification and screening results of the multi-type transactions.

[0176] In some optional embodiments, the multiple independent bill statement generation modules 23 include:

[0177] A first bill generation module is used to generate an internal transaction independent bill statement for the transaction entity's bank card and the transaction entity's income and expenditure transactions through the first payment platform and the second payment platform based on the parsing results of the bank card bill, the parsing results of the first payment platform bill, the parsing results of the second payment platform bill, and the first type of transaction.

[0178] A second bill generation module is used to generate a first external transaction independent bill statement for the indirect change in the balance in the transaction entity's bank card and the income and expenditure transactions with the counterparty transaction entity through the first payment platform and the second payment platform based on the parsing results of the bank card bill, the parsing results of the first payment platform bill, the parsing results of the second payment platform bill, and the second type of transaction.

[0179] A third bill generation module is used to generate a second external transaction independent bill statement for the transaction entity's direct income and expenditure transactions with the counterparty transaction entity through the first payment platform and the second payment platform based on the parsing results of the bank card bill, the parsing results of the first payment platform bill, the parsing results of the second payment platform bill, and the third type of transaction.

[0180] A fourth bill generation module is used to generate a third external transaction independent bill statement for the transaction entity's direct income and expenditure transactions with the counterparty transaction entity through the bank card based on the parsing results of the bank card bill, the parsing results of the first payment platform bill, the parsing results of the second payment platform bill, and the fourth type of transaction.

[0181] In some alternative embodiments, each independent bill statement includes the income and expenditure analysis result, transaction time, counterparty transaction entity account, and income and expenditure transaction type; the error correction difference calculation module 24 includes:

[0182] A comparison and matching unit, configured to compare and match the income and expenditure analysis result, transaction time, counterparty transaction entity account, and income and expenditure transaction type of each independent bill statement with those of the preset transaction item budget amount respectively.

[0183] An inspection and error correction unit, configured to generate the decimal point misalignment inspection result, large difference inspection result, and allowable difference inspection result between each independent bill statement and the preset transaction item budget amount according to the preset first difference threshold, preset second difference threshold, and preset third difference threshold.

[0184] An error correction difference calculation result determination unit, configured to use the decimal point misalignment inspection result, large difference inspection result, and allowable difference inspection result as the error correction difference calculation result and provide a display in the error correction statement.

[0185] In some alternative embodiments, the multi-platform bill processing and error correction statement generation device further includes:

[0186] A first balance calculation and second balance calculation module, configured to, when generating multiple independent bill statements, perform cumulative calculation on the total balance based on the total balance corresponding to the start time of each original bill respectively and / or perform cumulative calculation on the total balance based on the zero amount corresponding to the start time of each original bill respectively, and add the total balance cumulative calculation to the corresponding independent bill statement.

[0187] A third balance calculation module, configured to, based on the bank card bill analysis result, the first payment platform bill analysis result, the second payment platform bill analysis result, the second type of transaction, the third type of transaction, and the fourth type of transaction, perform cumulative calculation on the total transaction amount and the total number of transactions of the bills analysis results corresponding to multiple same counterparty transaction entities involved in the second type of transaction, the third type of transaction, and the fourth type of transaction, and add the total transaction amount and the total number of transactions to the first external transaction independent bill statement, the second external transaction independent bill statement, and the third external transaction independent bill statement respectively.

[0188] The further function descriptions of the above-mentioned various modules and units are the same as those in the corresponding embodiments above, and will not be repeated here.

[0189] The multi-platform bill processing and error correction report generation device in this embodiment is presented in the form of functional units. Here, the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and a memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0190] An embodiment of the present invention also provides a computer device having the above Figure 5 and Figure 6 multi-platform bill processing and error correction report generation device shown.

[0191] Please refer to Figure 7 , Figure 7 which is a schematic structural diagram of a computer device provided by an optional embodiment of the present invention. As shown in Figure 7 , the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Each component communicates with each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed within the computer device, including instructions stored in the memory or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (such as an array of servers, a set of blade servers, or a multi-processor system). Figure 7 In

[0192] an example of one processor 10 is used.

[0193] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0194] The memory 20 may include a program storage area and a data storage area. The program storage area may store an operating system and application programs required for at least one function. The data storage area may store data created according to the use of the computer device and the like. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some alternative embodiments, the memory 20 may optionally include a memory remotely provided with respect to the processor 10, and these remote memories may be connected to the computer device through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0195] The memory 20 may include a volatile memory, such as a random access memory. The memory may also include a non-volatile memory, such as a flash memory, a hard disk, or a solid-state drive. The memory 20 may further include a combination of the above types of memories.

[0196] The computer device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30, and the output device 40 may be connected through a bus or other means. Figure 7 Taking connection through a bus as an example.

[0197] The input device 30 may receive input digital or character information, and generate key signal inputs related to the user settings and function controls of the computer device, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointing stick, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (such as an LED), and a tactile feedback device (such as a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light-emitting diode, a display, and a plasma display. In some alternative embodiments, the display device may be a touch screen.

[0198] Embodiments of the present invention also provide a computer-readable storage medium. The method according to the embodiments of the present invention can be implemented in hardware, firmware, or be implemented as computer code that can be recorded on a storage medium, or be implemented as computer code that is originally stored in a remote storage medium or a non-transitory machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored as such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid-state drive, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by the computer, the processor, or the hardware, the method shown in the above embodiments is implemented.

[0199] A part of the present invention can be applied as a computer program product, such as computer program instructions. When executed by a computer, through the operation of the computer, the methods and / or technical solutions according to the present invention can be invoked or provided. Those skilled in the art should be able to understand that the forms of existence of computer program instructions in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Herein, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible by the computer.

[0200] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A method for multi-platform bill processing and error correction report generation, characterized in that, The method includes: Obtaining the bank card information bound to the first payment platform and the second payment platform of the trading entity, and obtaining multiple original bills for direct bank card transactions, first payment platform transactions, and second payment platform transactions; Performing bill parsing on each original bill to respectively form a bank card bill parsing result, a first payment platform bill parsing result, and a second payment platform bill parsing result sorted in chronological order; Performing classification and screening on the bank card bill parsing result, the first payment platform bill parsing result, and the second payment platform bill parsing result to obtain a classification and screening result for multiple types of transactions; Generating multiple independent bill statements based on the bank card bill parsing result, the first payment platform bill parsing result, the second payment platform bill parsing result, and the classification and screening result for multiple types of transactions; Comparing and matching each independent bill statement with a preset transaction item budget amount respectively to correct the revenue and expenditure balance of the multiple independent bill statements, and obtaining a corrected balance calculation result; Adding the corrected balance calculation result to each independent bill statement to generate a corrected statement corresponding to each independent bill statement.

2. The method according to claim 1, wherein The obtaining of multiple original bills for direct bank card transactions, first payment platform transactions, and second payment platform transactions includes: Respectively obtaining the original bills between the start time and the end time of direct bank card transactions, first payment platform transactions, and second payment platform transactions, and obtaining the total balance and the zeroed balance corresponding to the start time.

3. The method according to claim 2, wherein Performing bill parsing on each original bill to respectively form a bank card bill parsing result, a first payment platform bill parsing result, and a second payment platform bill parsing result sorted in chronological order, including: Parsing each original bill by using a matching encryption algorithm and a decryption rule for reverse operation to obtain a revenue and expenditure parsing result corresponding to each original bill, where the revenue and expenditure parsing result includes the revenue and expenditure transaction type, as well as the transaction amount and transaction time corresponding to the revenue and expenditure; Parsing the balance change after each transaction detail between the start time and the end time of each original bill to obtain a balance change result corresponding to each original bill; Using an AI algorithm to sort the revenue and expenditure parsing result and the balance change result corresponding to each original bill according to the transaction time to respectively form a bank card bill parsing result, a first payment platform bill parsing result, and a second payment platform bill parsing result.

4. The method according to claim 3, wherein Performing classification and screening on the bank card bill parsing result, the first payment platform bill parsing result, and the second payment platform bill parsing result to obtain a classification and screening result for multiple types of transactions, including: Compare the parsing results of the bills of the first payment platform and the second payment platform with the parsing result of the bank card bill respectively, and classify and screen out the first type of transactions in which the trading entity conducts income and expenditure transactions with the trading entity's bank card through the first payment platform and the second payment platform respectively; classify and screen out the second type of transactions in which the balance in the trading entity's bank card changes indirectly and conducts income and expenditure transactions with the counterparty trading entity through the first payment platform and the second payment platform respectively; at the same time, classify and screen out the third type of transactions in which the trading entity conducts income and expenditure transactions directly with the counterparty trading entity through the first payment platform and the second payment platform respectively, and classify and screen out the fourth type of transactions in which the trading entity conducts income and expenditure transactions directly with the counterparty trading entity through the bank card; Take the first type of transactions, the second type of transactions, the third type of transactions and the fourth type of transactions as the classification and screening results of multi-type transactions.

5. The method according to claim 4, characterized in that, Based on the parsing result of the bank card bill, the parsing result of the first payment platform bill, the parsing result of the second payment platform bill and the classification and screening results of multi-type transactions, generate multiple independent bill statements, including: Based on the parsing result of the bank card bill, the parsing result of the first payment platform bill, the parsing result of the second payment platform bill and the first type of transactions, generate an internal transaction independent bill statement for the trading entity's bank card and the trading entity's income and expenditure transactions through the first payment platform and the second payment platform; Based on the parsing result of the bank card bill, the parsing result of the first payment platform bill, the parsing result of the second payment platform bill and the second type of transactions, generate a first external transaction independent bill statement for the indirect change of the balance in the trading entity's bank card and the income and expenditure transactions with the counterparty trading entity through the first payment platform and the second payment platform; Based on the parsing result of the bank card bill, the parsing result of the first payment platform bill, the parsing result of the second payment platform bill and the third type of transactions, generate a second external transaction independent bill statement for the trading entity to conduct income and expenditure transactions directly with the counterparty trading entity through the first payment platform and the second payment platform respectively; Based on the parsing result of the bank card bill, the parsing result of the first payment platform bill, the parsing result of the second payment platform bill and the fourth type of transactions, generate a third external transaction independent bill statement for the trading entity to conduct income and expenditure transactions directly with the counterparty trading entity through the bank card.

6. The method according to claim 5, characterized in that The method further includes: When generating multiple independent bill statements, perform cumulative calculation on the total balance based on the total balance corresponding to the start time of each original bill respectively and / or perform cumulative calculation on the total balance based on the zeroing amount corresponding to the start time of each original bill respectively, and add the cumulative calculation of the total balance to the corresponding independent bill statement; Based on the bank card bill parsing results, the first payment platform bill parsing results, the second payment platform bill parsing results, the second type of transactions, the third type of transactions, and the fourth type of transactions, accumulate and calculate the total transaction amount and the total number of transactions for the bills parsing results corresponding to multiple identical counterparty transaction entities involved in the second type of transactions, the third type of transactions, and the fourth type of transactions, and add the corresponding total transaction amount and the total number of transactions to the first external transaction independent bill statement, the second external transaction independent bill statement, and the third external transaction independent bill statement.

7. The method according to claim 1, characterized in that Each independent bill statement includes the income and expenditure parsing results, transaction time, counterparty transaction entity account, and income and expenditure transaction type; Compare and match each of the independent bill statements with the preset transaction item budget amount respectively to correct the income and expenditure differences of the multiple independent bill statements, and obtain the error correction difference calculation results, including: Compare and match the income and expenditure parsing results, transaction time, counterparty transaction entity account, and income and expenditure transaction type of each independent bill statement with the income and expenditure parsing results, transaction time, counterparty transaction entity account, and income and expenditure transaction type of the preset transaction item budget amount respectively; Check the decimal point misalignment, large amount difference, and allowable difference between each independent bill statement and the preset transaction item budget amount according to the preset first difference threshold, preset second difference threshold, and preset third difference threshold, and generate the decimal point misalignment check result, large amount difference check result, and allowable difference check result; Use the decimal point misalignment check result, large amount difference check result, and allowable difference check result as the error correction difference calculation results and provide them for display in the error correction statement.

8. A multi-platform bill processing and error correction report generation device, characterized in that, The device includes: An original bill acquisition module, configured to acquire the bank card information bound to the first payment platform and the second payment platform of the transaction entity, and acquire multiple original bills directly traded through the bank card, traded on the first payment platform, and traded on the second payment platform; A bill parsing module, configured to perform bill parsing on each original bill to respectively form the bank card bill parsing results, the first payment platform bill parsing results, and the second payment platform bill parsing results sorted in chronological order; A classification and screening module, configured to classify and screen the bank card bill parsing results, the first payment platform bill parsing results, and the second payment platform bill parsing results to obtain the classification and screening results of multiple types of transactions; Multiple independent bill statement generation modules, configured to generate multiple independent bill statements based on the bank card bill parsing results, the first payment platform bill parsing results, the second payment platform bill parsing results, and the classification and screening results of multiple types of transactions; An error correction difference calculation module, configured to compare and match each independent bill statement with the preset transaction item budget amount respectively to correct the income and expenditure differences of the multiple independent bill statements and obtain the error correction difference calculation results; An error correction statement generation module, configured to add the error correction difference calculation results to each independent bill statement to generate an error correction statement corresponding to each independent bill statement.

9. The device according to claim 8, wherein Each independent bill statement includes income and expenditure analysis results, transaction time, counterparty transaction entity account, and income and expenditure transaction types; The error correction difference calculation module includes: A comparison and matching unit for respectively comparing and matching the income and expenditure analysis results, transaction time, counterparty transaction entity account, and income and expenditure transaction types of each independent bill statement with the income and expenditure analysis results, transaction time, counterparty transaction entity account, and income and expenditure transaction types of the preset transaction item budget amount; An inspection and error correction unit for generating a decimal point misalignment inspection result, a large difference inspection result, and an allowable difference inspection result between each independent bill statement and the preset transaction item budget amount according to a preset first difference threshold, a preset second difference threshold, and a preset third difference threshold; An error correction difference calculation result determination unit for using the decimal point misalignment inspection result, the large difference inspection result, and the allowable difference inspection result as the error correction difference calculation result and providing a display in the error correction statement.

10. A computer device, characterized in that, Including: A memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to execute the multi-platform bill processing and error correction statement generation method according to any one of claims 1 to 7.

11. A computer-readable storage medium, characterized in that, Computer instructions are stored on the computer-readable storage medium, and the computer instructions are used to cause the computer to execute the multi-platform bill processing and error correction statement generation method according to any one of claims 1 to 7.