A financial data processing method, device and equipment and storage medium
By receiving financial processing requests and generating processing information, the system automates the processing of abnormal financial data, solving the problem of complex processes caused by reliance on human labor in existing technologies, and achieving simplified processing procedures and improved efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
- Filing Date
- 2022-01-13
- Publication Date
- 2026-04-17
AI Technical Summary
The existing financial system relies on manual processing for abnormal data, resulting in a heavy workload for finance personnel and complex processing procedures.
By receiving financial processing requests, generating financial update processing information, and determining the target processing flow based on pre-set field identifiers, abnormal financial data is processed automatically.
It simplifies the processing flow of abnormal documents, improves data processing efficiency, and reduces the need for human resources.
Smart Images

Figure CN114398384B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a financial data processing method, apparatus, device and storage medium. Background Technology
[0002] In the financial management system, most operations such as handling document anomalies and adjusting settlements are initiated by finance personnel through functions like the "Anomaly Center" and "Settlement Adjustment." When manipulating data, finance personnel need to understand the reasons for the document anomalies. If the document data entry is abnormal, finance personnel also need to understand the actual data in the document before proceeding; if the quotation is abnormal, they need to contact the pricing department to handle the quotation.
[0003] In the process of developing this invention, the inventors discovered at least the following technical problems in the prior art: abnormal data is handled by the financial system and settlement personnel, relying on manpower. This adds a considerable workload to financial personnel, and the various anomaly handling functions make the financial processing of abnormal data quite complex. Summary of the Invention
[0004] This invention provides a financial data processing method, apparatus, device, and storage medium to simplify the processing flow of abnormal documents and improve data processing efficiency.
[0005] In a first aspect, embodiments of the present invention provide a financial data processing method, including:
[0006] Receive financial processing requests;
[0007] When a financial processing request carries a data update identifier, financial update processing information is generated based on the financial processing request and the pre-set field identifier.
[0008] The target processing flow is determined based on the financial update data associated with the financial update processing information, and the financial processing request is executed based on the target processing flow.
[0009] Optionally, the target processing flow is determined based on the financial update data associated with the financial update processing information, including:
[0010] When the financial update data associated with the financial update processing information is not new data, and the business identifier associated with the financial update processing information is an updatable business identifier, the historical financial data of the business information corresponding to the financial update data within the first set time period is obtained.
[0011] The target processing flow is determined based on the billing parameters of historical financial data.
[0012] Optionally, billing parameters include billing time and billing status.
[0013] Optionally, the target processing flow can be determined based on billing parameters from historical financial data, including:
[0014] When the historical financial data is billed within the second set time period and the billing status is billing successful, the billing result of the updated financial data is reversed.
[0015] Optionally, the target processing flow can be determined based on billing parameters from historical financial data, including:
[0016] When the billing period of historical financial data is not within the second set time period and the billing status is billing successful, determine the update fee item corresponding to the updated financial data.
[0017] The updated expense items are compared with the historical expense items in the historical financial data, and the target processing flow is determined based on the comparison results.
[0018] Optionally, the updated expense items can be compared with historical expense items in historical financial data, and the target processing flow can be determined based on the comparison results, including:
[0019] When the updated expense item is the same as the historical expense item, the billing process data is stored and an automatic reconciliation is performed.
[0020] When the updated expense item is greater than the historical expense item, adjust the expense item information in the updated financial data.
[0021] When the updated expense item is less than the historical expense item, the expense item information in the updated financial data is reduced.
[0022] Optionally, the target processing flow can be determined based on billing parameters from historical financial data, including:
[0023] When the billing status of historical financial data is billing failure, the logic deletes the historical financial data and then executes the billing process according to the updated financial data.
[0024] Secondly, embodiments of the present invention also provide a financial data processing apparatus, comprising:
[0025] The request receiving module is used to receive financial processing requests;
[0026] The update processing information generation module is used to generate financial update processing information based on the financial processing request and the pre-set field identifier when the financial processing request carries a data update identifier.
[0027] The financial processing request execution module is used to determine the target processing flow based on the financial update data associated with the financial update processing information, and to execute the financial processing request based on the target processing flow.
[0028] Thirdly, embodiments of the present invention also provide a computer device, the device comprising:
[0029] One or more processors;
[0030] Storage device for storing one or more programs;
[0031] When one or more programs are executed by one or more processors, the one or more processors implement the financial data processing method provided in any embodiment of the present invention.
[0032] Fourthly, embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the financial data processing method provided in any embodiment of the present invention.
[0033] The financial data processing method provided in this invention receives a financial processing request; when the financial processing request carries a data update identifier, it generates financial update processing information based on the financial processing request and pre-set field identifiers; it determines a target processing flow based on the financial update data associated with the financial update processing information; and it executes the financial processing request based on the target processing flow. The method provided in this invention, by adding field identifiers to the financial processing request, realizes the updating of financial data, simplifies the processing flow of abnormal documents, and improves data processing efficiency. Attached Figure Description
[0034] Figure 1 This is a flowchart illustrating a financial data processing method provided in Embodiment 1 of the present invention;
[0035] Figure 2 This is a flowchart illustrating a financial data processing method provided in Embodiment 2 of the present invention;
[0036] Figure 3 This is a schematic diagram of the structure of a financial data processing device provided in Embodiment 3 of the present invention;
[0037] Figure 4 This is a schematic diagram of the structure of a computer device provided in Embodiment 4 of the present invention. Detailed Implementation
[0038] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.
[0039] Example 1
[0040] Figure 1This is a flowchart illustrating a financial data processing method provided in Embodiment 1 of the present invention. This embodiment is applicable to situations involving the processing of financial data, and is particularly suitable for situations involving the processing of abnormal financial data. The method can be executed by a financial data processing device, which can be implemented in software and / or hardware, for example, the financial data processing device can be configured in a computer device. Figure 1 As shown, the method includes:
[0041] S110, Receive financial processing request.
[0042] In this embodiment, the financial processing request can be initiated by a finance staff member to process financial data. For example, a finance staff member can select the financial data to be processed in the financial processing operation interface and then click a processing control (such as the "Billing" control) to initiate a financial processing request. After detecting the financial processing request initiated by the finance staff member, the financial data processing device parses and processes the request.
[0043] S120. When the financial processing request carries a data update identifier, financial update processing information is generated based on the financial processing request and the pre-set field identifier.
[0044] To differentiate the processing of financial data in different states, controls representing the financial data status can be added to the financial processing interface. Financial staff can select the corresponding financial data status based on the data to be processed, triggering a financial processing request. It's understood that different controls represent different financial data statuses, and the financial processing request triggered after a staff member selects a status carries the identifier of that selected status.
[0045] In this embodiment, to handle abnormal financial data, such as updating financial data, an "Update" control can be added to the financial processing interface to indicate that the financial data to be processed is in an updated state. When financial staff click the "Update" control to initiate a financial processing request, the financial processing request carries a data update identifier that indicates the financial data is updated. Correspondingly, after receiving the financial processing request, the financial data processing device can parse the data update identifier carried in the financial processing request.
[0046] When a financial processing request carries a data update identifier, it indicates that the financial processing data corresponding to the financial processing request is updated financial data, and the data processing procedure for updated financial data needs to be executed.
[0047] It is understandable that the processing of financial data involves the interaction of multiple systems. Generally, a financial processing system includes a business system, a financial preprocessing system, a billing system, and a settlement system. The business system interacts with financial staff, receiving financial processing requests and sending them to the financial preprocessing system for data preprocessing. To ensure that the financial preprocessing system also executes the data processing flow for updated financial data, a field identifier needs to be added to the financial processing request to generate updated financial processing information, which is then sent to the financial preprocessing system. The financial preprocessing system further executes the updated financial data processing flow based on the received updated financial processing information.
[0048] S130. Determine the target processing flow based on the financial update data associated with the financial update processing information, and execute the financial processing request based on the target processing flow.
[0049] Generally, abnormal financial data can include historically unprocessed financial data, historically erroneously processed financial data, etc. Correspondingly, different abnormal types of financial data require different financial data processing flows. Based on this, different financial data processing flows corresponding to different abnormal types can be pre-defined. When processing updated financial data, the abnormal type corresponding to the updated data is determined, the target processing flow for the updated data is determined based on the abnormal type, and finally, the determined target processing flow is used to execute the financial processing request. Optionally, the abnormal type of the updated financial data can be determined based on the processing results of historical financial data.
[0050] In one embodiment of the present invention, a target processing flow is determined based on financial update data associated with financial update processing information, including:
[0051] When the financial update data associated with the financial update processing information is not new data, and the business identifier associated with the financial update processing information is an updatable business identifier, the historical financial data of the business information corresponding to the financial update data within the first set time period is obtained.
[0052] The target processing flow is determined based on the billing parameters of historical financial data.
[0053] Optionally, when the updated financial data is new data, the original billing process can be executed. The specific original billing process can be found in existing technologies and will not be elaborated here. When the updated financial data is not new data, it is determined whether the business identifier corresponding to the updated financial data is an updatable business identifier. If the business identifier associated with the updated financial data is not an updatable business identifier, the financial processing request is filtered and no operation is performed. However, when the updated financial data is not new data, and the business identifier associated with the updated financial data is an updatable business identifier, the billing operation can continue. The specific billing operation process needs to be determined based on the billing parameters of historical financial data. The updatable business identifier can be preset according to actual needs. The billing parameters for historical financial data can be billing status, or billing status and billing time.
[0054] Billing operations require retrieving historical financial data within a predefined time period. The updated financial data is then compared with the historical data to determine the billing process. This predefined time period can be set according to actual needs, such as one month, one quarter, six months, or one year. Specific settings can be determined by referring to the resource consumption query and query requirements. The retrieval of historical financial data within the predefined time period can be done cyclically. Taking a 6-month predefined time period as an example, the system retrieves the current month, searches cyclically, and exits the loop if a match is found; otherwise, the month is decremented by one for the next search. This process continues for six iterations, ending the query and retrieving the historical financial data.
[0055] It should be noted that the historical financial data obtained must be financial data containing the same business information as the updated financial data. Optionally, the same business information can be the same transaction party identifier, the same business order identifier, and the same pre-processed financial data identifier.
[0056] In general, when the billing status of historical financial data is billing failure, billing processing is performed on the updated financial data; when the billing status of historical financial data is billing success, the billing method needs to be determined based on the billing duration and data fee items of the historical financial data.
[0057] Based on the above scheme, the target processing flow is determined according to the billing parameters of historical financial data, including:
[0058] When the billing status of historical financial data is billing failure, the logic deletes the historical financial data and then executes the billing process according to the updated financial data.
[0059] In other words, when historical financial data billing fails, the historical financial data is logically deleted and the updated financial data is processed.
[0060] In one embodiment, the target processing flow is determined based on billing parameters from historical financial data, including:
[0061] When the historical financial data is billed within the second set time period and the billing status is billing successful, the billing result of the updated financial data is reversed.
[0062] In other words, when the historical financial data's billing period falls within the set timeframe and billing is successful, it indicates that the current updated financial data is duplicated, and the billing result can be directly reversed. The specific method for reversing billing results can refer to existing reversal methods, which will not be elaborated here. The second set timeframe can also be set according to actual needs. Generally, financial data is settled monthly, so the second set timeframe can be set to the current month's period.
[0063] In one embodiment, the target processing flow is determined based on billing parameters from historical financial data, including:
[0064] When the billing period of historical financial data is not within the second set time period and the billing status is billing successful, determine the update fee item corresponding to the updated financial data.
[0065] The updated expense items are compared with the historical expense items in the historical financial data, and the target processing flow is determined based on the comparison results.
[0066] If the billing period for historical financial data is not within the second set time period, and the billing is successful, it indicates that the current updated financial data may be updated data. It is necessary to compare the expense items of the updated financial data with the updated items of the historical financial data, and determine the billing method based on the comparison results.
[0067] Optionally, the updated expense items can be compared with historical expense items in historical financial data, and the target processing flow can be determined based on the comparison results, including:
[0068] When the updated expense item is the same as the historical expense item, the billing process data is stored and an automatic reconciliation is performed.
[0069] When the updated expense item is greater than the historical expense item, adjust the expense item information in the updated financial data.
[0070] When the updated expense item is less than the historical expense item, the expense item information in the updated financial data is reduced.
[0071] In this embodiment, billing is based on the updated cost items in the updated financial data. Specifically, the updated financial data is used to obtain the updated cost items (without accounting for the billing results), and historical cost items from the historical financial data are retrieved. The updated cost items are then compared with the original cost items. When the updated cost items and historical cost items are the same, the billing process data is retained and sent to the automatic adjustment system for automatic adjustment calculation. When the updated cost items and historical cost items are different, the cost item with the higher cost item is sent to the automatic adjustment system for direct increase; the cost item with the lower cost item is sent to the automatic adjustment system for direct decrease.
[0072] By automatically acquiring historical financial data within a set time period, and determining the billing method for updated financial data based on the billing information of the historical financial data, the updated financial data can be processed automatically, saving manpower.
[0073] The financial data processing method provided in this invention receives a financial processing request; when the financial processing request carries a data update identifier, it generates financial update processing information based on the financial processing request and pre-set field identifiers; it determines a target processing flow based on the financial update data associated with the financial update processing information; and it executes the financial processing request based on the target processing flow. The method provided in this invention, by adding field identifiers to the financial processing request, realizes the updating of financial data, simplifies the processing flow of abnormal documents, and improves data processing efficiency.
[0074] Example 2
[0075] This embodiment provides a preferred embodiment based on the above solution. The financial data processing method provided in this embodiment is executed by the financial management system. Figure 2 This is a schematic diagram of the processing flow of a financial management system provided in Embodiment 2 of the present invention.
[0076] like Figure 2 As shown, the financial processing system includes a business system, a financial preprocessing system, a billing system, and a settlement system. Among them:
[0077] Upstream business systems can add an update button at the billing node trigger point. When the update button is clicked, the financial data originally sent via message queue (MQ) will have a field indicating whether the data has been updated (changes to other data are determined by the upstream system itself).
[0078] The financial preprocessing system uses message queues (MQ) to evaluate data sent from upstream. If no update flag is found, billing proceeds according to the original process. If an update flag is present, it only needs to determine whether the business line to which the data belongs allows the update operation. If not, the data is filtered out and not processed. If the update is allowed, the data is sent to the billing system via MQ.
[0079] To determine whether a business line is allowed to be updated, a whitelist is used. The whitelist contains identifiers for businesses that can be updated, and the whitelist can be maintained in the financial system.
[0080] The billing system processes the pre-processed financial data based on whether it has been updated. If not, it follows the original calculation process. If it has been updated, it searches for six months' worth of data from the current date using sellerNo (merchant code), expNo (business order number), and sourceId (financial pre-processed data ID). Because the financial data is split into monthly tables and currently contains 48 months of data (too much), it's temporarily agreed to search for six months' worth of data from the current month. If no data is found, the update process is not initiated.
[0081] If data is found, and the data represents successfully billed data for this month, the original billing data will be overwritten, and the calculation will be recalculated based on the new data. If the data represents data that failed to be billed for this month, it will be logically deleted (because it cannot be queried on the front end), and the calculation will be performed based on the new data. Both of these calculations follow the same process as the original calculation, and are performed only once; failures will not be retried.
[0082] If the data is not from this month and is a failed billing data, the handling method is the same as for failed billing this month: logically delete the failed billing data and recalculate based on the new data. If the data is a successful billing data, first perform a price inquiry on the issued updated data (without omitting the billing result) and compare the resulting cost items with the original data cost items. Specifically, if the cost items are the same, retain the billing process data and send it to the automatic adjustment system for automatic adjustment calculation. If there are too many cost items, send it to the automatic adjustment system for direct increase. If there are too few cost items, send it to the automatic adjustment system for direct decrease.
[0083] The automatic billing adjustment system receives data from the billing system. For invoices with more or less expense items, it directly increases or decreases the amount. If the expense items are the same, it extracts the billing elements from the billing process data sent by the billing system and compares them with the original invoice. The system then assembles the necessary input parameters for the automatic billing adjustment function to perform automatic adjustment calculations.
[0084] The above financial data processing workflow automates the handling of abnormal financial data by the business system, eliminating the need for approval processes. Adjustment orders can be directly approved by finance personnel, saving human resources.
[0085] This solution provides an abnormal document processing workflow initiated by the business system, supporting financial data processing over long periods (such as cross-month processing). The system automatically closes the loop internally, requiring only upstream initiation and financial personnel review. This significantly shortens the abnormal handling process, automates the processing of abnormal documents, and improves the efficiency of financial data processing.
[0086] Example 3
[0087] Figure 3 This is a schematic diagram of the structure of a financial data processing device provided in Embodiment 3 of the present invention. This financial data processing device can be implemented using software and / or hardware; for example, it can be configured in a computer device. Figure 3 As shown, the device includes a processing request receiving module 310, an update processing information generation module 320, and a financial processing request execution module 330, wherein:
[0088] The request receiving module 310 is used to receive financial processing requests;
[0089] The update processing information generation module 320 is used to generate financial update processing information based on the financial processing request and the pre-set field identifier when the financial processing request carries a data update identifier.
[0090] The financial processing request execution module 330 is used to determine the target processing flow based on the financial update data associated with the financial update processing information, and to execute the financial processing request based on the target processing flow.
[0091] The financial data processing method provided in this embodiment of the invention receives financial processing requests through a processing request receiving module; when the financial processing request carries a data update identifier, the update processing information generation module generates financial update processing information based on the financial processing request and pre-set field identifiers; the financial processing request execution module determines the target processing flow based on the financial update data associated with the financial update processing information, and executes the financial processing request based on the target processing flow. The method provided in this embodiment of the invention achieves financial data updates by adding field identifiers to the financial processing request, simplifies the processing flow of abnormal documents, and improves data processing efficiency.
[0092] Optionally, based on the above scheme, the financial processing request execution module 330 is specifically used for:
[0093] When the financial update data associated with the financial update processing information is not new data, and the business identifier associated with the financial update processing information is an updatable business identifier, the historical financial data of the business information corresponding to the financial update data within the first set time period is obtained.
[0094] The target processing flow is determined based on the billing parameters of historical financial data.
[0095] Optionally, based on the above scheme, the billing parameters include billing time and billing status.
[0096] Optionally, based on the above scheme, the financial processing request execution module 330 is specifically used to perform billing result cancellation processing on the updated financial data when the billing time of the historical financial data is within the second set time period and the billing status is billing successful.
[0097] Optionally, based on the above scheme, the financial processing request execution module 330 is specifically used to determine the update fee item corresponding to the financial update data when the billing time of the historical financial data is not within the second set time period and the billing status is billing successful.
[0098] The updated expense items are compared with the historical expense items in the historical financial data, and the target processing flow is determined based on the comparison results.
[0099] Optionally, based on the above scheme, the financial processing request execution module 330 is specifically used to store billing process data and perform automatic reconciliation when the updated expense item and the historical expense item are the same;
[0100] When the updated expense item is greater than the historical expense item, adjust the expense item information in the updated financial data.
[0101] When the updated expense item is less than the historical expense item, the expense item information in the updated financial data is reduced.
[0102] Optionally, based on the above scheme, the financial processing request execution module 330 is specifically used to logically delete the historical financial data and then execute the billing process according to the updated financial data when the billing status of the historical financial data is billing failure.
[0103] The financial data processing apparatus provided in the embodiments of the present invention can execute the financial data processing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the method.
[0104] Example 4
[0105] Figure 4 This is a schematic diagram of the structure of a computer device provided in Embodiment 4 of the present invention. Figure 4 A block diagram of an exemplary computer device 412 suitable for implementing embodiments of the present invention is shown. Figure 4 The computer device 412 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.
[0106] like Figure 4 As shown, the computer device 412 is presented in the form of a general-purpose computing device. The components of the computer device 412 may include, but are not limited to: one or more processors 416, system memory 428, and bus 418 connecting different system components (including system memory 428 and processor 416).
[0107] Bus 418 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor 416, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.
[0108] Computer device 412 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 412, including volatile and non-volatile media, removable and non-removable media.
[0109] System memory 428 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 430 and / or cache memory 432. Computer device 412 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage device 434 may be used to read and write non-removable, non-volatile magnetic media (…). Figure 4 Not shown; usually referred to as a "hard drive"). Although Figure 4 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 418 via one or more data media interfaces. Memory 428 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present invention.
[0110] A program / utility 440 having a set (at least one) of program modules 442 may be stored, for example, in memory 428. Such program modules 442 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 442 typically perform the functions and / or methods described in the embodiments of the present invention.
[0111] Computer device 412 can also communicate with one or more external devices 414 (e.g., keyboard, pointing device, display 424, etc.), and with one or more devices that enable a user to interact with the computer device 412, and / or with any device that enables the computer device 412 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 422. Furthermore, computer device 412 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 420. As shown, network adapter 420 communicates with other modules of computer device 412 via bus 418. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with computer device 412, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0112] The processor 416 executes various functional applications and data processing by running programs stored in the system memory 428, such as implementing the financial data processing method provided in the embodiments of the present invention, which includes:
[0113] Receive financial processing requests;
[0114] When a financial processing request carries a data update identifier, financial update processing information is generated based on the financial processing request and the pre-set field identifier.
[0115] The target processing flow is determined based on the financial update data associated with the financial update processing information, and the financial processing request is executed based on the target processing flow.
[0116] Of course, those skilled in the art will understand that the processor can also implement the technical solutions of the financial data processing method provided in any embodiment of the present invention.
[0117] Example 5
[0118] Embodiment 5 of the present invention also provides a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the program implements the financial data processing method provided in the embodiments of the present invention, the method comprising:
[0119] Receive financial processing requests;
[0120] When a financial processing request carries a data update identifier, financial update processing information is generated based on the financial processing request and the pre-set field identifier.
[0121] The target processing flow is determined based on the financial update data associated with the financial update processing information, and the financial processing request is executed based on the target processing flow.
[0122] Of course, the computer program stored on the computer-readable storage medium provided in the embodiments of the present invention is not limited to the above-described method operation, but can also perform related operations of the financial data processing method provided in any embodiment of the present invention.
[0123] The computer storage medium of this invention can be any combination of one or more computer-readable media. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0124] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0125] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0126] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof. Programming languages include object-oriented programming languages—such as Java, Smalltalk, and C++—as well as conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0127] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.
Claims
1. A method of processing financial data, characterized by, The method is applied to a financial processing system, which includes a business system, a financial preprocessing system, a billing system, and a settlement system; the method includes: The business system receives a financial processing request; when the financial processing request carries a data update identifier, financial update processing information is generated based on the financial processing request and the pre-set field identifier, and the financial update processing information is sent to the financial preprocessing system. When the financial update data associated with the financial update processing information is not new data, and the business identifier associated with the financial update processing information is an updatable business identifier, the financial preprocessing system will send the financial update data to the billing system. The billing system obtains historical financial data within a first set time period for the business information corresponding to the updated financial data; wherein, the historical financial data is financial data with the same business information as the updated financial data; the same business information includes the same transaction party identifier, the same business order identifier, and the same financial preprocessing data identifier. The target processing flow is determined based on the billing parameters of the historical financial data; wherein, the billing parameters include billing time and billing status; the financial processing request is executed based on the target processing flow; The process of determining the target based on the billing parameters of the historical financial data includes: When the billing period of the historical financial data is not within the second set time period and the billing status is billing successful, the update fee item corresponding to the updated financial data is determined. The updated expense item is compared with the historical expense item in the historical financial data, and the target processing flow is determined based on the comparison result. The step of comparing the updated expense item with the historical expense items in the historical financial data, and determining the target processing flow based on the comparison result, includes: When the updated expense item and the historical expense item are the same, the billing process data is stored and automatic adjustment is performed through the settlement system; wherein, the billing process is based on the updated expense item in the financial update data. When the updated expense item is greater than the historical expense item, the expense item information in the updated financial data is adjusted through the settlement system. When the updated expense item is less than the historical expense item, the expense item information in the updated financial data is reduced through the settlement system. The financial preprocessing system uses a message queue to judge the data sent from upstream. If there is no update identifier, billing is performed according to the original process. If there is an update identifier, it is only necessary to judge whether the business line to which the data sent from upstream belongs is in the update business identifier whitelist. If not, the data is filtered out and not processed. If it is in the business identifier whitelist, the data is sent to the billing system through the message queue.
2. The method of claim 1, wherein, The process of determining the target based on the billing parameters of the historical financial data further includes: When the historical financial data is billed within the second set time period and the billing status is billing successful, the billing result of the updated financial data is reversed.
3. The method of claim 1, wherein, The process of determining the target based on the billing parameters of the historical financial data further includes: When the billing status of the historical financial data is billing failure, the logic deletes the historical financial data and then executes the billing process according to the updated financial data.
4. A financial data processing apparatus characterized by comprising: Applied to a financial processing system, the financial processing system including a business system, a financial preprocessing system, a billing system, and a settlement system; the device includes: A request receiving module is used by the business system to receive financial processing requests. The update processing information generation module is used to generate financial update processing information based on the financial processing request and the pre-set field identifier when the financial processing request carries a data update identifier, and send the financial update processing information to the financial preprocessing system. The financial processing request execution module is used to determine the target processing flow based on the financial update data associated with the financial update processing information, and to execute the financial processing request based on the target processing flow. Specifically, the financial processing request execution module is used for: When the financial update data associated with the financial update processing information is not new data, and the business identifier associated with the financial update processing information is an updatable business identifier, the financial preprocessing system will send the financial update data to the billing system. The billing system acquires historical financial data within a first set time period corresponding to the business information of the updated financial data; wherein, the historical financial data is financial data with the same business information as the updated financial data; the same business information includes the same transaction party identifier, the same business order identifier, and the same financial preprocessing data identifier. The target processing flow is determined based on the billing parameters of historical financial data; wherein, the billing parameters include billing time and billing status; Specifically, the financial processing request execution module is used to determine the update fee item corresponding to the financial update data when the billing time of the historical financial data is not within the second set time period and the billing status is billing successful. The updated expense item is compared with the historical expense item in the historical financial data, and the target processing flow is determined based on the comparison result. The financial processing request execution module is specifically used to store billing process data and execute automatic adjustment through the settlement system when the updated expense item and the historical expense item are the same; wherein, the billing processing is based on the updated expense item in the updated financial data. When the updated expense item is greater than the historical expense item, the expense item information in the updated financial data is adjusted through the settlement system. When the updated expense item is less than the historical expense item, the expense item information in the updated financial data is reduced through the settlement system. The financial preprocessing system uses a message queue to judge the data sent from upstream. If there is no update identifier, billing is performed according to the original process. If there is an update identifier, it is only necessary to judge whether the business line to which the data sent from upstream belongs is in the update business identifier whitelist. If not, the data is filtered out and not processed. If it is in the business identifier whitelist, the data is sent to the billing system through the message queue.
5. A computer device, comprising: The device includes: One or more processors; Storage device for storing one or more programs; When one or more programs are executed by one or more processors, the one or more processors implement the financial data processing method as described in any one of claims 1-3.
6. A computer-readable storage medium having stored thereon a computer program, characterized in that, When the program is executed by the processor, it implements the financial data processing method as described in any one of claims 1-3.
Citation Information
Patent Citations
Service data management method, device and equipment and computer readable storage medium
CN109634950A
Accounting data processing method and device
CN113313424A