Voucher data generation method and device, storage medium and program product

By automatically obtaining and processing target resource replacement information and generating entry data and voucher data, the flexibility and scalability problems of traditional accounting engines in complex business scenarios and rules changes are solved, and efficient and accurate financial processing and management are achieved.

CN119538226AInactive Publication Date: 2025-02-28BANK OF BEIJING CONSUMER FINANCE CO
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510090739.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-21
Publication Date
2025-02-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional accounting engines lack flexibility and scalability in handling complex business scenarios and rule changes, resulting in increased maintenance costs and inefficient financial processing.

Method used

By obtaining target resource replacement information from different channels, automate the processing and generate entries and voucher data, and automatically enter and generate voucher data based on preset thresholds, improving the efficiency and accuracy of financial processing.

Benefits of technology

It improves the efficiency and accuracy of resource management and financial processing, reduces the error and cumbersomeness of manual operations, and improves the flexibility and automation of financial management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119538226A_ABST
    Figure CN119538226A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of resource management, and discloses a voucher data generation method and device, a storage medium and a program product. The method comprises the following steps: acquiring target resource replacement information from different channels; determining a processing rule matched with the target resource replacement information based on the first identifier of the target resource replacement information; processing the target resource replacement information according to a processing rule, and determining a resource replacement amount corresponding to the target resource replacement information; if it is determined that the resource replacement amount is larger than a preset threshold value, entry is carried out on the target resource replacement information and the resource replacement amount, and entry data is generated; and generating voucher data of the target resource replacement information based on the attribute information of the entry data. By implementing the technical scheme of the invention, the voucher data related to resource replacement can be automatically generated, and the efficiency and accuracy of resource management are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of resource management, and in particular to a credential data generation method, device, storage medium and program product. Background Art

[0002] As the business continues to develop, enterprises will face increasingly complex accounting standards and financial operations. Traditional accounting engines are difficult to fully cover all business scenarios when dealing with these complex businesses, especially when encountering new channels or new accounting rules, which often require additional customization and development. In addition, traditional accounting engines lack flexibility in modifying processes and rules, and cannot be adjusted through simple configuration, which leads to increased maintenance costs. Summary of the invention

[0003] In view of this, the present invention provides a voucher data generation method, device, storage medium and program product to solve the problem that traditional accounting engines lack flexibility and scalability when dealing with complex business scenarios and rule changes.

[0004] In a first aspect, the present invention provides a voucher data generation method, comprising: acquiring target resource replacement information from different channels; determining a processing rule that matches the target resource replacement information based on a first identifier of the target resource replacement information; processing the target resource replacement information according to the processing rule to determine a resource replacement amount corresponding to the target resource replacement information; if it is determined that the resource replacement amount is greater than a preset threshold, entering the target resource replacement information and the resource replacement amount to generate entry data; and generating voucher data for the target resource replacement information based on attribute information of the entry data.

[0005] The voucher data generation method provided in the embodiment of the present invention can effectively improve the efficiency and accuracy of resource management and financial processing by automatically acquiring and processing target resource replacement information and generating entry data and voucher data based on processing rules. In particular, when the resource replacement amount reaches a preset threshold, the corresponding voucher data is automatically generated, reducing the error and tediousness of manual operation. At the same time, the generation of voucher data can better connect with the enterprise financial system, improving the flexibility and automation of financial management.

[0006] In an optional implementation, obtaining target resource replacement information from different channels includes: obtaining original resource replacement information from different channels; determining whether there is overlapping data in the original resource replacement information of each channel; if there is no overlapping data in the original resource replacement information of each channel, determining the original resource replacement information of each channel as the target resource replacement information.

[0007] The voucher data generation method provided in the embodiment of the present invention can ensure the accuracy and completeness of the target resource replacement information by judging and eliminating the overlapping data in the original resource replacement information of each channel, avoid the influence of repeated calculation or redundant data, and thus improve the quality and efficiency of data processing.

[0008] In an optional implementation, based on the first identifier of the target resource replacement information, determining a processing rule that matches the target resource replacement information includes: obtaining a correspondence between the identifier information and the processing rule; and determining the processing rule corresponding to the first identifier information based on the correspondence.

[0009] The credential data generation method provided by the embodiment of the present invention can realize automatic and accurate matching and application of corresponding processing rules by establishing a corresponding relationship between identification information and processing rules. This can reduce manual intervention, improve processing efficiency, and ensure that each target resource replacement information can be processed according to the correct rules, thereby ensuring the standardization and consistency of data processing.

[0010] In an optional implementation, the target resource replacement information is processed according to a processing rule to determine the resource replacement amount corresponding to the target resource replacement information, including: for the target resource replacement information obtained from any channel, extracting resource parameter information from the target resource replacement information, and extracting resource conversion rules from the processing rules; converting the resource parameter information according to the resource conversion rules to obtain the resource replacement amount.

[0011] The voucher data generation method provided in the embodiment of the present invention can efficiently calculate the accurate resource replacement amount by extracting resource parameter information from the target resource replacement information and automatically processing it according to preset resource conversion rules, thereby reducing manual intervention and potential calculation errors, ensuring the standardization and consistency of the resource conversion process, and thus improving the accuracy and operational efficiency of resource management.

[0012] In an optional implementation, based on the attribute information of the entry data, voucher data of the target resource replacement information is generated, including: classifying the entry data based on the attribute information to obtain the classification result; aggregating the entry data based on the classification result to generate voucher data corresponding to the target resource replacement information.

[0013] The voucher data generation method provided by the embodiment of the present invention can realize the structured generation and automatic processing of voucher data by classifying and summarizing based on the attribute information of the entry data, which not only improves the efficiency of data sorting, but also ensures that the generated voucher data is clearer and more accurate, which is convenient for subsequent financial accounting and auditing. At the same time, through automatic classification and summarization, the risk of manual operation and human error is greatly reduced.

[0014] In an optional implementation, before generating voucher data of target resource replacement information based on attribute information of entry data, it also includes: verifying the entry data according to preset verification rules, determining verification failed data, and generating an error log corresponding to the verification failed data.

[0015] The voucher data generation method provided in the embodiment of the present invention can timely discover and handle errors or anomalies in the data by pre-checking the entry data before generating the voucher data, ensuring that the generated target resource replacement information complies with preset rules and standards. This not only effectively avoids the propagation of erroneous data, but also facilitates subsequent tracking and correction by generating detailed error logs, thereby improving data quality and system reliability.

[0016] In an optional implementation, the object status log is updated according to the resource replacement amount; data verification is performed on the updated object status log to obtain difference data, and a differential pressure analysis report corresponding to the difference data is generated.

[0017] The voucher data generation method provided in the embodiment of the present invention can timely discover differences in data and generate a differential pressure analysis report by verifying the object status log after updating the resource replacement amount. This not only helps to quickly locate potential problems, but also provides a detailed basis for subsequent analysis and decision-making.

[0018] In a second aspect, the present invention provides a voucher data generating device, comprising: an acquisition module for acquiring target resource replacement information from different channels; a determination module for determining a processing rule that matches the target resource replacement information based on a first identifier of the target resource replacement information; a processing module for processing the target resource replacement information according to the processing rule, and determining a resource replacement amount corresponding to the target resource replacement information; an entry module for entering the target resource replacement information and the resource replacement amount to generate entry data if it is determined that the resource replacement amount is greater than a preset threshold; and a first generation module for generating voucher data for the target resource replacement information based on attribute information of the entry data.

[0019] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the credential data generation method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0020] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the credential data generation method of the first aspect or any corresponding embodiment thereof.

[0021] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the credential data generation method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1 is a flow chart of a method for generating voucher data according to an embodiment of the present invention; Figure 2 is a flow chart of another method for generating credential data according to an embodiment of the present invention; Figure 3 is a schematic diagram of a process of searching a rule base according to an embodiment of the present invention; Figure 4 is a schematic diagram of a processing rule according to an embodiment of the present invention; Figure 5 is a flowchart of an accounting engine process according to an embodiment of the present invention; Figure 6 is a flowchart of another method for generating credential data according to an embodiment of the present invention; Figure 7 is a schematic diagram of the data structure of a sub-account according to an embodiment of the present invention; Figure 8 is a schematic diagram of an object status log according to an embodiment of the present invention; Fig. 9 is a structural block diagram of a credential data generating device according to an embodiment of the present invention; Fig.10 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0025] In the related technology, the current accounting processing system has multiple problems. First, the need to write specific accounting rules for different channels leads to a large amount of code redundancy, which increases the complexity and cost of development and maintenance. Secondly, the system cannot provide 7*24 hours of uninterrupted service, because the system must be restarted when modifying the accounting rules, which affects the continuity of the business. In addition, the current system has a certain delay in processing real-time financial data and generating reports, and cannot reflect the latest financial status in a timely manner, which in turn affects the accuracy and timeliness of decision-making. Finally, the system lacks an effective data verification mechanism, which is prone to errors in manual data entry and processing, which in turn affects the accuracy and reliability of financial reports.

[0026] In view of this, the technical solution of the present invention designs differentiated accounting rules for different channels and business scenarios to achieve the distinction between channels and scenarios, and unifies and reuses processes with the same accounting services. By analyzing the needs of each channel, designing and deploying corresponding accounting rules, the system accounting engine generates voucher data according to these rules and submits it to the accounting general ledger system for processing, thereby realizing the association between transaction details and the general ledger, ensuring the integrity and consistency of accounting information, and facilitating the tracking and management of the financial impact of each transaction.

[0027] According to an embodiment of the present invention, an embodiment of a method for generating credential data 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 a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0028] In this embodiment, a method for generating credential data is provided, which can be used in computer devices, such as desktop computers, laptop computers, etc. Figure 1 is a flow chart of a method for generating voucher data according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps: Step S101, obtaining target resource replacement information from different channels.

[0029] Target resource replacement information refers to transaction or operation data related to resource replacement from various business channels, such as resource exchange or capital flow information in scenarios such as bookkeeping, batch bookkeeping, and cancellation bookkeeping in loan business. Specifically, target resource replacement information can be obtained from different channels (such as banks, loan platforms, etc.) through preset interfaces. The interfaces will receive corresponding transaction data and transmit it to the system according to different channels.

[0030] Step S102: determining a processing rule matching the target resource replacement information based on the first identifier of the target resource replacement information.

[0031] The first identifier refers to a unique identifier associated with the target resource replacement information, which is used to distinguish and identify different types of resource replacement transactions or operations, such as product codes (productCode) and business scenario codes (funcId). The processing rules refer to a set of preset rules or logic determined based on the information represented by the first identifier, which are used to guide how to process different types of resource replacement information, such as how to calculate the resource replacement amount, whether entry processing is required, whether specific conditions are met, etc. Specifically, based on the first identifier of the target resource replacement information, the matching processing rules are determined by searching the rule library or database associated with the identifier. For example, by parsing the transaction type or business scenario pointed to by the first identifier, the corresponding rules are selected to guide the subsequent processing flow, thereby ensuring that the processing logic meets business requirements.

[0032] Step S103: Process the target resource replacement information according to the processing rule to determine the resource replacement amount corresponding to the target resource replacement information.

[0033] The resource exchange amount refers to the quantity or amount of resource exchange or capital flow in a specific business scenario. Specifically, according to the first identifier of the target resource exchange information, the corresponding processing rules are searched and applied. The processing rules will determine the quantity or amount of resources in the target resource exchange information. For example, some rules involve the calculation of loan amounts, the exchange ratio of certain resources, or the determination of specific conditions in certain business scenarios. Through the processing rules, the resource exchange amount corresponding to the target resource exchange information can be accurately calculated, that is, the specific quantity or amount of resource exchange involved can be determined.

[0034] Step S104: if it is determined that the resource replacement amount is greater than the preset threshold, the target resource replacement information and the resource replacement amount are entered to generate entry data.

[0035] The preset threshold refers to a pre-set standard or limit value used to determine whether the resource replacement amount exceeds a certain limit, for example, it can be 0. The preset threshold is used to control or determine whether further entry operations are required to ensure that subsequent financial processing is triggered only when the resource replacement amount reaches a certain scale. Entry data refers to the record data generated when financial processing is performed based on resource replacement information and resource replacement amount, for example, including various information related to the transaction, such as: loan number, affiliated institution, business date, business type, accounting subject, debit and credit direction, amount type and amount, etc. These fields are used to accurately record and track each resource replacement transaction to ensure the accuracy and completeness of financial data. Specifically, if it is determined that the resource replacement amount is greater than the preset threshold, the target resource replacement information and its corresponding resource replacement amount are entered according to the preset rules to generate corresponding accounting entries, that is, the corresponding amount changes are recorded in the debit and credit accounts, and the entry data including debit and credit directions, amounts, accounting subjects, etc. are filled.

[0036] Step S105: Generate voucher data of target resource replacement information based on the attribute information of the entry data.

[0037] Attribute information refers to key data items related to the entry extracted from the entry data, such as the debit note number, affiliated institution, business date, business type, accounting subject, debit and credit direction, amount type, amount, etc. These attribute information contain detailed information of the entry and are used to describe the specific financial status of the transaction. Voucher data refers to the formal accounting voucher generated in financial accounting to record and reflect transactions or business activities. For example, it may include specific transaction content, accounting subject, amount, debit and credit direction, etc., which is used for subsequent accounting processing, auditing and report generation. Specifically, the extracted attribute information is organized and filled into the voucher template according to accounting rules to form complete voucher data. For example, according to the debit and credit direction and amount in the entry, corresponding debit and credit voucher records are generated for each transaction to ensure that each transaction can be correctly financially accounted and recorded.

[0038] The voucher data generation method provided in the embodiment of the present invention can effectively improve the efficiency and accuracy of resource management and financial processing by automatically acquiring and processing target resource replacement information and generating entry data and voucher data based on processing rules. In particular, when the resource replacement amount reaches a preset threshold, the corresponding voucher data is automatically generated, reducing the error and tediousness of manual operation. At the same time, the generation of voucher data can better connect with the enterprise financial system, improving the flexibility and automation of financial management.

[0039] In this embodiment, a method for generating credential data is provided, which can be used in computer devices, such as desktop computers, laptop computers, etc. Figure 2is a flow chart of a method for generating voucher data according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps: Step S201, obtaining target resource replacement information from different channels.

[0040] Specifically, the above step S201 includes: Step S2011, obtaining original resource replacement information from different channels.

[0041] Original resource exchange information refers to unprocessed basic data from different channels that directly reflect resource exchange activities. These data may include basic information on various resource exchanges, transfers or changes, such as transaction date, resource type, quantity, amount, related parties, etc., as shown in Table 1. Specifically, resource exchange records from different sources (such as banks, payment platforms or other transaction systems) are collected through various system interfaces or data sources, such as financial systems, transaction platforms or third-party interfaces, i.e. original resource exchange information.

[0042] Table 1

[0043] Step S2012, determining whether there is overlapping data in the original resource replacement information of each channel.

[0044] Overlapping data refers to the existence of the same transaction or resource exchange records in the original resource replacement information from different channels. For example, it can be duplicate data caused by repeated submission, system errors or other reasons. Specifically, the transaction code (transCode) of each record can be checked to determine whether there is overlapping data in the original resource replacement information of each channel. Through the secondary idempotence check of each transaction code, the primary check is performed using the Redis cache with a short expiration time (such as 60 seconds) to check whether the transaction code already exists; if the Redis cache is invalid, the secondary check is performed through the accounting transaction log table in the database table to further confirm whether the transaction code has been processed. If a duplicate transaction code is detected, a duplicate error code will be returned, and the business system will decide whether to modify the transaction code and resubmit it as needed.

[0045] Step S2013: If there is no overlapping data in the original resource replacement information of each channel, the original resource replacement information of each channel is determined as the target resource replacement information.

[0046] When the original resource replacement information of all channels has been verified for overlapping data, if there are no duplicate transaction records (ie, no overlapping data), these valid, non-duplicate original resource replacement information will be collected and used as target resource replacement information for subsequent processing.

[0047] The voucher data generation method provided in the embodiment of the present invention can ensure the accuracy and completeness of the target resource replacement information by judging and eliminating the overlapping data in the original resource replacement information of each channel, avoid the influence of repeated calculation or redundant data, and thus improve the quality and efficiency of data processing.

[0048] Step S202: determining a processing rule matching the target resource replacement information based on the first identifier of the target resource replacement information.

[0049] Specifically, the above step S202 includes: Step S2021, obtaining the correspondence between the identification information and the processing rules.

[0050] The correspondence between identification information and processing rules refers to the matching relationship between each identification information (such as the first identification in the target resource replacement information) and a specific processing rule. This correspondence determines how to select and apply the appropriate processing rule based on the identification information, thereby ensuring that the target resource replacement information is correctly processed. Specifically, the correspondence between identification information and processing rules can be obtained by searching the rule library or configuration table. For example, Figure 3 As shown, the corresponding rule configuration is searched in the rule base according to the identification information. These configurations include the amount type, calculation formula, accounting subject and other rules related to the identification, so as to determine the processing rule that should be applied to the identification information.

[0051] Step S2022: determine the processing rule corresponding to the first identification information based on the corresponding relationship.

[0052] According to the first identification information, the corresponding processing rule in the rule library is searched. The processing rule includes information such as business type, amount type code, amount type name, debit and credit direction, accounting rule code, and accounting rule name. Figure 4 Through this matching, the processing rule applicable to the first identification information can be determined, and the processing rule is applied to process the target resource replacement information in subsequent steps.

[0053] The credential data generation method provided by the embodiment of the present invention can realize automatic and accurate matching and application of corresponding processing rules by establishing a corresponding relationship between identification information and processing rules. This can reduce manual intervention, improve processing efficiency, and ensure that each target resource replacement information can be processed according to the correct rules, thereby ensuring the standardization and consistency of data processing.

[0054] Step S203: Process the target resource replacement information according to the processing rule to determine the resource replacement amount corresponding to the target resource replacement information.

[0055] Specifically, the above step S203 includes: Step S2031: for target resource replacement information obtained from any channel, extract resource parameter information from the target resource replacement information, and extract resource conversion rules from the processing rules.

[0056] Resource parameter information refers to basic data related to resources extracted from target resource replacement information, such as resource type, quantity, unit, price and other specific parameters, which are used to calculate the resource replacement amount. Resource conversion rules refer to processing rules or formulas related to resources, which are used to guide how to convert or calculate resource parameter information, such as how to adjust the quantity or value of resources according to specific calculation formulas or conditions. Specifically, for target resource replacement information obtained from any channel, resource-related parameters (such as quantity, type, amount, etc.) are extracted from the target resource replacement information, and the conversion logic or calculation rules corresponding to the resource are extracted from the processing rules.

[0057] Among them, the resource conversion rules can be modified and put into effect on the front-end page.

[0058] Step S2032: convert the resource parameter information according to the resource conversion rule to obtain the resource replacement amount.

[0059] The extracted resource parameter information (such as resource type, quantity, unit price, etc.) is matched with the predefined resource conversion rules (such as conversion formula, ratio, coefficient, etc.). Specifically, according to the calculation logic in the resource conversion rule, the resource parameter information is applied to the conversion formula or processing conditions to obtain the converted resource replacement amount. For example, if a money calculation formula or conversion ratio is specified in the resource conversion rule, the resource parameters (such as the quantity or price of the resource) are substituted into the formula for calculation, and the corresponding replacement amount of the resource is finally obtained.

[0060] The voucher data generation method provided in the embodiment of the present invention can efficiently calculate the accurate resource replacement amount by extracting resource parameter information from the target resource replacement information and automatically processing it according to preset resource conversion rules, thereby reducing manual intervention and potential calculation errors, ensuring the standardization and consistency of the resource conversion process, and thus improving the accuracy and operational efficiency of resource management.

[0061] Step S204: If it is determined that the resource replacement amount is greater than the preset threshold, the target resource replacement information and the resource replacement amount are entered to generate entry data. Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.

[0062] Step S205: Generate voucher data of target resource replacement information based on the attribute information of the entry data.

[0063] Specifically, the above step S205 includes: Step S2051, classify the entry data based on the attribute information to obtain the classification result.

[0064] The classification result refers to the classification of the entry data according to a specific dimension or standard based on the attribute information in the entry data for subsequent aggregation and processing. Specifically, the entry data is assigned to different categories based on key attributes such as accounting subjects, business types, and affiliated institutions. In specific operations, the entry data is classified into corresponding categories or groups based on the attributes in each entry (for example: business type, account number, amount, affiliated institution, etc.) to generate classification results.

[0065] Step S2052, summarizing the entry data based on the classification result, and generating voucher data corresponding to the target resource replacement information.

[0066] The classified entry data is aggregated according to specific dimensions (such as business type, organization, accounting subject, etc.) to obtain the summary results of each category. Specifically, according to each classification result (such as business type, organization, etc.), the entry data of the same category are merged to calculate the total amount or other relevant values ​​to form the summary voucher data. After aggregation, the voucher data will be passed to the accounting engine, and independent vouchers will be generated according to different dimensions (such as business type, organization, subject, etc.) to ensure that the voucher data corresponding to each business type and organization is complete and standardized, and can accurately reflect the accounting treatment of resource replacement.

[0067] For example, Figure 5 As shown, the accounting engine running in the computer device obtains resource replacement information from different channels, matches and applies appropriate processing rules through the rule base defined in the development and testing phase to calculate the resource replacement amount. If the replacement amount exceeds the preset threshold, the corresponding accounting entry is generated, and finally the accounting voucher is generated based on these entry data, and the voucher information is transmitted to the general ledger system through the HTTP interface for archiving and further processing.

[0068] The voucher data generation method provided by the embodiment of the present invention can realize the structured generation and automatic processing of voucher data by classifying and summarizing based on the attribute information of the entry data, which not only improves the efficiency of data sorting, but also ensures that the generated voucher data is clearer and more accurate, which is convenient for subsequent financial accounting and auditing. At the same time, through automatic classification and summarization, the risk of manual operation and human error is greatly reduced.

[0069] In this embodiment, a method for generating credential data is provided, which can be used in computer devices, such as desktop computers, laptop computers, etc. Figure 6is a flow chart of a method for generating voucher data according to an embodiment of the present invention. Figure 6 As shown, the process includes the following steps: Step S301, obtain target resource replacement information from different channels. Figure 2 Step S201 of the illustrated embodiment will not be described in detail here.

[0070] Step S302: Based on the first identifier of the target resource replacement information, determine a processing rule that matches the target resource replacement information. Figure 2 Step S202 of the illustrated embodiment will not be described in detail here.

[0071] Step S303: Process the target resource replacement information according to the processing rules to determine the resource replacement amount corresponding to the target resource replacement information. Figure 2 Step S203 of the illustrated embodiment will not be described in detail here.

[0072] Step S304: If it is determined that the resource replacement amount is greater than the preset threshold, the target resource replacement information and the resource replacement amount are recorded to generate entry data. Figure 2 Step S204 of the illustrated embodiment will not be described in detail here.

[0073] Step S305, verify the entry data according to the preset verification rules, determine the data that failed the verification, and generate an error log corresponding to the data that failed the verification.

[0074] When verifying the entry data according to the preset verification rules, the validity of the entry data is checked according to a series of predefined rules. For example, check whether the debit and credit amounts are equal to ensure that the debits and credits are balanced. If they are not balanced, the accounting fails and is returned to the trading system in real time. Secondly, verify the amount type, such as whether the account direction matches (debit, credit or both), whether the settlement amount can be zero or negative, and whether the settlement amount must be zero. If any verification conditions are not met, mark these entries as verification failures and generate corresponding error logs. The error log records the specific reasons for the verification failure (such as uneven amounts, wrong accounts, etc.) and notifies relevant personnel for follow-up processing.

[0075] The voucher data generation method provided in the embodiment of the present invention can timely discover and handle errors or anomalies in the data by pre-checking the entry data before generating the voucher data, ensuring that the generated target resource replacement information complies with preset rules and standards. This not only effectively avoids the propagation of erroneous data, but also facilitates subsequent tracking and correction by generating detailed error logs, thereby improving data quality and system reliability.

[0076] Step S306: Update the object status log according to the resource replacement amount.

[0077] The object status log is a record of the sub-account information related to the current IOU. Figure 7 and Figure 8 As shown in the figure, the sub-account records the direction of debit and credit, amount summary, cleared balance and other data, and the object status log is used to track the change process of these data. Specifically, by adjusting the debit and credit amount summary in the sub-account, the balance of the relevant account is modified based on the change in the resource replacement amount. Generate or update the sub-account of the loan note according to the new replacement amount, modify the direction of debit and credit, amount summary and cleared balance in the sub-account, and ensure that the sub-account data is consistent with the resource replacement amount.

[0078] Step S307, performing data verification on the updated object status log to obtain difference data, and generating a differential pressure analysis report corresponding to the difference data.

[0079] By comparing the updated log with the expected accounting rules, debit and credit directions, settlement balances and other information, check whether there are any differences such as mismatched amounts, wrong directions or abnormal settlement status. By comparing these data, identify inconsistent or erroneous records, extract these difference data, and generate a differential pressure analysis report, which lists the type, amount, and scope of impact of the difference in detail for further processing by business personnel to ensure the accuracy and compliance of accounting data.

[0080] The voucher data generation method provided in the embodiment of the present invention can timely discover differences in data and generate a differential pressure analysis report by verifying the object status log after updating the resource replacement amount. This not only helps to quickly locate potential problems, but also provides a detailed basis for subsequent analysis and decision-making.

[0081] Step S308: Generate voucher data for target resource replacement information based on the attribute information of the entry data. Figure 2 Step S205 of the illustrated embodiment will not be described in detail here.

[0082] The voucher data generation method provided by the embodiment of the present invention, the accounting engine significantly improves work efficiency through automation functions, intelligently extracts original document data and automatically generates accounting vouchers, reduces the time and labor of manual entry, and enables the financial team to focus on strategic tasks. At the same time, its powerful batch processing capability optimizes repetitive work, realizes efficient transaction processing, and ensures the accurate recording of each transaction. In terms of accuracy, manual operations are minimized, human errors are reduced, and the built-in advanced verification mechanism further enhances the accuracy of data processing and ensures the reliability of financial data. The accounting engine can also provide real-time financial analysis and reporting, helping managers to quickly obtain financial status and make timely and effective decisions, thereby improving the quality of decision-making. Its flexibility and scalability also provide guarantees for the long-term development of the enterprise, and can easily adapt to new business needs and the update of accounting standards. At the same time, it has modular design and good integration, ensuring seamless connection with third-party services, and enhancing the operational capabilities and market adaptability of the enterprise.

[0083] In this embodiment, a credential data generating device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0084] This embodiment provides a credential data generating device, such as Fig. 9 As shown, including: The acquisition module 401 is used to acquire target resource replacement information from different channels; A determination module 402, configured to determine a processing rule matching the target resource replacement information based on the first identifier of the target resource replacement information; The processing module 403 is used to process the target resource replacement information according to the processing rule to determine the resource replacement amount corresponding to the target resource replacement information; An entry module 404 is used to enter the target resource replacement information and the resource replacement amount to generate entry data if it is determined that the resource replacement amount is greater than a preset threshold; The first generating module 405 is used to generate voucher data of target resource replacement information based on the attribute information of the entry data.

[0085] In some optional implementations, the acquisition module 401 includes: The first acquisition submodule is used to acquire original resource replacement information from different channels; The judgment submodule is used to judge whether there is overlapping data in the original resource replacement information of each channel; The first determination submodule is used to determine the original resource replacement information of each channel as the target resource replacement information if there is no overlapping data in the original resource replacement information of each channel.

[0086] In some optional implementations, the determination module 402 includes: A second acquisition submodule is used to acquire the corresponding relationship between the identification information and the processing rules; The second determining submodule is used to determine the processing rule corresponding to the first identification information based on the corresponding relationship.

[0087] In some optional implementations, the processing module 403 includes: An extraction submodule is used to extract resource parameter information from the target resource replacement information obtained from any channel, and to extract resource conversion rules from the processing rules; The processing submodule is used to convert the resource parameter information according to the resource conversion rule to obtain the resource replacement amount.

[0088] In some optional implementations, the first generating module 405 includes: The classification submodule is used to classify the entry data based on the attribute information and obtain the classification result; The summary submodule is used to summarize the entry data based on the classification results and generate voucher data corresponding to the target resource replacement information.

[0089] In some optional embodiments, the above device further includes: The second generation module is used to verify the entry data according to the preset verification rules, determine the verification failed data, and generate an error log corresponding to the verification failed data.

[0090] In some optional embodiments, the above device further includes: An update module, used to update the object status log according to the resource replacement amount; The third generating module is used to perform data verification on the updated object status log, obtain difference data, and generate a differential pressure analysis report corresponding to the difference data.

[0091] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0092] The credential data generating device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0093] The voucher data generation device provided in the embodiment of the present invention can effectively improve the efficiency and accuracy of resource management and financial processing by automatically acquiring and processing target resource replacement information and generating entry data and voucher data based on processing rules. In particular, when the resource replacement amount reaches a preset threshold, the corresponding voucher data is automatically generated, reducing the error and tediousness of manual operation. At the same time, the generation of voucher data can better connect with the enterprise financial system, improving the flexibility and automation of financial management.

[0094] The embodiment of the present invention also provides a computer device having the above Fig. 9 The voucher data generating device shown.

[0095] See also Fig.10 , Fig.10 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Fig.10 As shown, 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. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the 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 (for example, as a server array, a group of blade servers, or a multi-processor system). Fig.10 A processor 10 is taken as an example.

[0096] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

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

[0098] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via 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.

[0099] 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 also include a combination of the above types of memory.

[0100] The computer device also 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 via a bus or other means. Fig.10 The example of connecting through bus is taken in the following.

[0101] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., 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 optional embodiments, the display device may be a touch screen.

[0102] The computer device also includes a communication interface, which is used for the computer device to communicate with other devices or a communication network.

[0103] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in 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 storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, 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 a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0104] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is 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. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

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

Claims

1. A method for generating voucher data, characterized in that: The method comprises: Obtain target resource replacement information from different channels; Based on the first identifier of the target resource replacement information, determining a processing rule matching the target resource replacement information; Processing the target resource replacement information according to the processing rule to determine a resource replacement amount corresponding to the target resource replacement information; If it is determined that the resource replacement amount is greater than a preset threshold, the target resource replacement information and the resource replacement amount are entered to generate entry data; Based on the attribute information of the entry data, voucher data of the target resource replacement information is generated.

2. The method according to claim 1, characterized in that The obtaining of target resource replacement information from different channels includes: Obtain original resource replacement information from different channels; Determine whether there is overlapping data in the original resource replacement information of each channel; If there is no overlapping data in the original resource replacement information of each channel, the original resource replacement information of each channel is determined as the target resource replacement information.

3. The method according to claim 1 or 2, characterized in that: The determining, based on the first identifier of the target resource replacement information, a processing rule matching the target resource replacement information comprises: Obtaining the correspondence between identification information and processing rules; A processing rule corresponding to the first identification information is determined based on the corresponding relationship.

4. The method according to claim 1, characterized in that: The processing of the target resource replacement information according to the processing rule to determine the resource replacement amount corresponding to the target resource replacement information includes: For the target resource replacement information obtained from any channel, extract resource parameter information from the target resource replacement information, and extract resource conversion rules from the processing rules; The resource parameter information is converted according to the resource conversion rule to obtain the resource replacement amount.

5. The method according to claim 1, characterized in that The step of generating the voucher data of the target resource replacement information based on the attribute information of the entry data includes: Classify the entry data based on the attribute information to obtain a classification result; The entry data is summarized based on the classification result to generate the voucher data corresponding to the target resource replacement information.

6. The method according to claim 1 or 5, characterized in that: Before generating the voucher data of the target resource replacement information based on the attribute information of the entry data, the method further includes: The entry data is verified according to preset verification rules, verification failure data is determined, and an error log corresponding to the verification failure data is generated.

7. The method according to claim 6, characterized in that Also includes: updating the object status log according to the resource replacement amount; Perform data verification on the updated object status log to obtain difference data, and generate a differential pressure analysis report corresponding to the difference data.

8. A voucher data generating device, characterized in that: The device comprises: The acquisition module is used to obtain target resource replacement information from different channels; A determination module, configured to determine a processing rule matching the target resource replacement information based on the first identifier of the target resource replacement information; A processing module, used to process the target resource replacement information according to the processing rule, and determine the resource replacement amount corresponding to the target resource replacement information; An entry module, for entering the target resource replacement information and the resource replacement amount to generate entry data if it is determined that the resource replacement amount is greater than a preset threshold; The first generating module is used to generate voucher data of the target resource replacement information based on the attribute information of the entry data.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the credential data generation method according to any one of claims 1 to 7.

10. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the credential data generating method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Data processing method and device, equipment and storage medium

    CN115760370A

  • Internal fund transaction service offset method and device, storage medium and terminal equipment

    CN117495585A

  • Cross-bank repayment method and system, storage medium and computer equipment

    CN118628230A