A financial data processing method and system
Patent Information
- Application Number
- CN202110925002.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-12
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-08-12
AI Technical Summary
[0007]在对账阶段,常规技术平台使用SQL查询,无法应对大规模的对账要求
[0036] According to the financial data processing method, system and computer-readable storage medium provided by this application, the data synchronization engine starts the data synchronization task; the Kafaka cluster cleans all types of original reconciliation data to obtain standard reconciliation data, and reconciles the standard The data is stored in ElasticSearch and Hive clusters; the application platform receives user input operations, generates reconciliation rules corresponding to the user input operations, generates reconciliation tasks based on the reconciliation rules, and starts the reconciliation tasks to transfer all The above reconciliation task is submitted to the Flink cluster; the Flink cluster obtains the reconciliation result data based on the above reconciliation task. In this way, from the perspective of human efficiency pressure caused by financial business changes, we can improve the financial data processing system, reduce the dependence of the reconciliation business on manual operations, and improve the stability, speed, efficiency, and scalability of the financial processing system, which can effectively cope with the growing growth rate. The computational pressure brought by the scale of reconciliation data.
Smart Images

Figure CN113626527B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a financial data processing method and system. Background Art
[0002] In the existing technology, data access, financial reconciliation, and business analysis of the financial system are all technically processed for specific financial backgrounds. Therefore, the format and content of the data are solidified and restricted in the technical platform. Once the format or content of the data increases or decreases, the data access, reconciliation, and analysis functions of the financial system will be affected.
[0003] In financial reconciliation technology, the general processing flow is: extract and import channel business order data, import financial bill data; determine the information record scope of the reconciliation, limit the date to a period of time, perform structured query language (SQL) query based on the existing reconciliation rules, extract and save abnormal account record information, and save balance information; perform SQL grouping for unbalanced account information, and manually analyze and process the account information.
[0004] In the technical stage of extraction and import, the order information fields that generally need to be extracted are as follows: merchant number / merchant order number / channel serial number / transaction date / transaction amount / handling fee / refund original order number, etc. The technical platform will encode the data import according to the data form and format of each channel, and save the data to the platform's persistence layer. Among them, the channels include major banks and major payment institutions. The data format is xml / txt / csv, and the format includes the meaning and data type of each field.
[0005] During the reconciliation stage, the technical platform will use SQL and scheduled tasks to query the reconciliation information according to the specified reconciliation business rules, and record the unbalanced accounts and balanced accounts respectively.
[0006] During the financial analysis phase, the technical platform will use the enterprise's classification and grouping information to perform SQL grouping of the database account information and count the number of accounts under the combined grouping information. The classification and grouping information includes multiple accounts on the local side, multiple accounts on the other side, inconsistent amounts, merchant numbers, multiple account types, etc.
[0007] During the reconciliation phase, conventional technical platforms use SQL queries, which cannot cope with large-scale reconciliation requirements. As the business grows, the amount of account information that needs to be reconciled increases day by day, and SQL queries are prone to memory overflows. At the same time, the business platform cannot monitor the operation of reconciliation calculation tasks at any time. When the enterprise needs to analyze accounts from more dimensions, or the form or format of the reconciliation data changes, the system needs to be recoded to adapt to the relevant changes, and business personnel rely heavily on R&D investment. Summary of the invention
[0008] In order to solve the above technical problems, the embodiments of the present application provide a financial data processing method and system.
[0009] In a first aspect, an embodiment of the present application provides a method for processing financial data, the method comprising:
[0010] The data synchronization engine starts the data synchronization task;
[0011] The Kafaka cluster cleans various types of original reconciliation data to obtain standard reconciliation data, and stores the standard reconciliation data in ElasticSearch and Hive clusters;
[0012] The application platform receives the user input operation, generates a reconciliation rule corresponding to the user input operation, generates a reconciliation task according to the reconciliation rule, starts the reconciliation task, and submits the reconciliation task to the Flink cluster;
[0013] The Flink cluster obtains the reconciliation result data according to the reconciliation task.
[0014] Optionally, the method further includes:
[0015] The database cluster stores the reconciliation result data;
[0016] Aggregate query the reconciliation result data.
[0017] Optionally, the reconciliation rules include: a reconciliation cycle, a reconciliation requirement, and an execution cycle of a reconciliation task.
[0018] Optionally, the data synchronization engine starts a data synchronization task, including:
[0019] Receive user editing operations on data source, type of destination data pool, data field name, and data field format through a web page;
[0020] A data synchronization task is initiated according to the editing operation.
[0021] Optionally, generating a reconciliation task according to the reconciliation rule includes:
[0022] The data definition of the target data pool is set, and the reconciliation task is generated according to the data definition of the target data pool and the reconciliation rule.
[0023] Optionally, the method further includes:
[0024] Receive the modification operation input by the user to modify the reconciliation data pool, the data format, and the reconciliation rules.
[0025] Optionally, the method further includes:
[0026] The STG layer of the Hive cluster retains the incremental data of the day and the full data;
[0027] The ODS layer of the Hive cluster verifies the order data in different systems. If the order data does not match, it reports the data mismatch problem and selects one order data from each system and inputs it into the DWD layer of the Hive cluster.
[0028] The DWD layer splits the order data according to accounting objects, scenarios, business types, and business lines.
[0029] Optionally, the application platform receives a user input operation and generates a reconciliation rule corresponding to the user input operation, including:
[0030] The application platform receives data dictionary configuration operations, document configuration operations, and reconciliation scheme configuration operations input by a user, and generates the reconciliation rules according to the data dictionary configuration operations, the document configuration operations, and the reconciliation scheme configuration operations.
[0031] In a second aspect, an embodiment of the present application provides a financial data processing system, the financial data processing system comprising:
[0032] Kafaka cluster, used to clean various types of original reconciliation data to obtain standard reconciliation data, and store the standard reconciliation data in ElasticSearch and Hive clusters;
[0033] The application platform is used to receive user input operations, generate reconciliation rules corresponding to the user input operations, generate reconciliation tasks according to the reconciliation rules, start the reconciliation tasks, and submit the reconciliation tasks to the Flink cluster;
[0034] The Flink cluster is used to obtain reconciliation result data according to the reconciliation task.
[0035] In a third aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which executes the financial data processing method provided in the first aspect when running on a processor.
[0036] The financial data processing method, system and computer-readable storage medium provided by the present application are as follows: the data synchronization engine starts the data synchronization task; the Kafaka cluster cleans various types of original reconciliation data to obtain standard reconciliation data, and stores the standard reconciliation data in the ElasticSearch and Hive clusters; the application platform receives user input operations, generates reconciliation rules corresponding to the user input operations, generates reconciliation tasks according to the reconciliation rules, and starts the reconciliation tasks, submitting the reconciliation tasks to the Flink cluster; the Flink cluster obtains the reconciliation result data according to the reconciliation tasks. In this way, from the perspective of the labor efficiency pressure brought about by changes in financial business, the financial data processing system is improved, the dependence of the reconciliation business on manual operations is reduced, the stability, speed efficiency and scalability of the financial processing system are improved, and the computing pressure brought about by the growing scale of reconciliation data can be effectively coped with. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present application and should not be regarded as limiting the scope of protection of the present application. In each of the drawings, similar components are numbered similarly.
[0038] Figure 1 A schematic diagram of a process of a financial data processing method provided by an embodiment of the present application is shown;
[0039] Figure 2 A schematic diagram of a process of a financial data processing method provided by an embodiment of the present application is shown;
[0040] Figure 3 A schematic diagram of the architecture of a financial data processing system provided by an embodiment of the present application is shown;
[0041] Figure 4 A schematic diagram of an operation page provided by an embodiment of the present application is shown;
[0042] Figure 5 Another schematic diagram of the operation page provided by the embodiment of the present application is shown;
[0043] Figure 6 A partial schematic diagram of an operation page provided by an embodiment of the present application is shown;
[0044] Figure 7 A structural schematic diagram of a financial data processing system provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0045] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0046] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0047] Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present application, are intended only to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing items or adding the possibility of one or more features, numbers, steps, operations, elements, components, or combinations of the foregoing items.
[0048] Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.
[0049] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present application.
[0050] Example 1
[0051] An embodiment of the present application provides a method for processing financial data.
[0052] For details, please refer to Figure 1 , financial data processing methods include:
[0053] Step S101, the data synchronization engine starts the data synchronization task;
[0054] Optionally, step S101 includes:
[0055] Receive user editing operations on data source, type of destination data pool, data field name, and data field format through a web page;
[0056] A data synchronization task is initiated according to the editing operation.
[0057] See also Figure 2 In the overall process, the DTC tool platform is used. The DTC tool platform connects to the original bill data of various businesses, parses the original bill data through the Message Queue (MQ) interface and the Flink engine, and saves the parsed reconciliation data to the Hive cluster. According to the data dictionary configuration, document configuration, and reconciliation scheme configuration configured by the user in the persistence layer MySQL, the reconciliation calculation task is generated and submitted to the Flink engine. The Flink engine generates and saves the reconciliation data, and saves the reconciliation voucher to the distributed search engine (ElasticSearch, ES) for fast reading by the application platform. The application platform can be the delivery reconciliation platform.
[0058] like Figure 2 As shown in the figure, mobile payment platforms, online channel platforms, bank card transaction bill data, third-party card transaction bill data, silver merchant prepaid cards, electronic gift card transaction bills, etc. are connected to the message queue interface of the Kafaka cluster. Among them, mobile payment platforms include third-party mobile payments of communication operators, third-party mobile payments of social platforms, etc., and online channel platforms include various vertical e-commerce platforms, hybrid e-commerce platforms, etc. The message queue interface is connected to the Flink parsing engine, and the message queue interface sends various transaction bill data to the Flink parsing engine. The incremental bill data of external businesses can also be input into the Flink cluster. In the Flink cluster, the bill data is input into the data warehouse (DW) layer of the ElasticSearch and Hive clusters. The DW layer of the Hive cluster communicates data with ElasticSearch through the computing engine (spark). ElasticSearch and Mysql databases are connected to the transaction reconciliation platform. The DCT tool platform can also realize real-time update of correction data through the message queue interface, and the message queue interface synchronizes the real-time update of correction data to the Flink cluster.
[0059] In this embodiment, the application platform can be a reconciliation platform. The reconciliation platform provides web page editing metadata, receives user editing operations on the web page, and edits the data source, the type of the destination data warehouse, the data field name, and the data field format to initiate a data synchronization task. During the task execution, the execution process is recorded to ensure data consistency, idempotence, and integrity.
[0060] See also Figure 3The web page includes an add field interface area and a data source interface area. The add field interface area includes input fields such as field number, field name, field sort, field type, and field description. Users can enter the corresponding information in the corresponding input fields. The data source interface area includes source and data rules. The source can be selected from source data and custom. The header part of the data rule includes insert group A field, insert group B field, and calculation symbols such as addition, subtraction, multiplication, and division, mathematical symbols such as equal sign and zero, and also includes the current system time and date conversion. Formulas can be entered in the input area of the data rule. The web page also includes a cancel button and a save button. After filling in the relevant data on the web page, click the save button to save the input data, and click the cancel button to cancel the input data.
[0061] In this embodiment, after data synchronization, the reconciliation data is stored in ElasticSearch, and metadata information about the reconciliation data is also obtained. By checking the reconciliation information, the reconciliation results of the data are recorded in the database.
[0062] Step S102, the Kafaka cluster cleans various types of original reconciliation data to obtain standard reconciliation data, and stores the standard reconciliation data in ElasticSearch and Hive clusters;
[0063] See also Figure 4 In this embodiment, the data formats of various types of original reconciliation data include Webservice, Csv, xml, json, Mysql, etc., which are cleaned to remove redundant data and save the cleaned standard reconciliation data to ElasticSearch and Hive clusters.
[0064] Step S103: the application platform receives the user input operation, generates a reconciliation rule corresponding to the user input operation, generates a reconciliation task according to the reconciliation rule, starts the reconciliation task, and submits the reconciliation task to the Flink cluster;
[0065] In this embodiment, the reconciliation rules include: a reconciliation cycle, a reconciliation requirement, and an execution cycle of a reconciliation task.
[0066] Optionally, in step S103, the application platform receives a user input operation and generates a reconciliation rule corresponding to the user input operation, including:
[0067] The application platform receives data dictionary configuration operations, document configuration operations, and reconciliation scheme configuration operations input by a user, and generates the reconciliation rules according to the data dictionary configuration operations, the document configuration operations, and the reconciliation scheme configuration operations.
[0068] In this embodiment, the application platform can be Figure 2 The transaction reconciliation platform shown in .
[0069] Optionally, in step S103, generating a reconciliation task according to the reconciliation rule includes:
[0070] The data definition of the target data pool is set, and the reconciliation task is generated according to the data definition of the target data pool and the reconciliation rule.
[0071] In this embodiment, the reconciliation task is an SQL reconciliation task. In addition, in this implementation, it is necessary to define metadata and a data pool.
[0072] Table 1 below is a metadata definition table:
[0073]
[0074] Table 1 Metadata definition table The following Table 2 is the definition table of the data pool:
[0075]
[0076] Table 2 Data pool definition table The following Table 3 is a data definition association table:
[0077] Primary Key Data pool id Data field id 1 1 1 2 2 3
[0078] Table 3 Data definition association table
[0079] Relying on the definitions of metadata and data pool in Table 1, Table 2, and Table 3, users can quickly set the relevant data definitions of the data source and the destination data pool. Based on the definition of the destination data pool, SQL reconciliation tasks can be generated through reconciliation rules.
[0080] Step S104: The Flink cluster obtains reconciliation result data according to the reconciliation task.
[0081] Optionally, after step S104, the financial data processing method further includes:
[0082] The database cluster stores the reconciliation result data;
[0083] Aggregate query the reconciliation result data.
[0084] Please refer again Figure 4The overall reconciliation process can include the following processes: 1. The data synchronization engine initiates the data synchronization task; 2. The cleaned reconciliation data is saved in the ElasticSearch and Hive clusters; 3. According to the reconciliation rules set by the user, the reconciliation task is generated and initiated, and the task is submitted to the Flink cluster; 4. The reconciliation result data is saved in the database cluster; 5. Aggregate query reconciliation results and records. In this way, the reconciliation process can be completed quickly and the processing efficiency can be improved.
[0085] Optionally, after step S104, the financial data processing method further includes:
[0086] Receive the modification operation input by the user to modify the reconciliation data pool, the data format, and the reconciliation rules.
[0087] See also Figure 5-Figure 6 ,exist Figure 5 In the definition and use page of the reconciliation rule, the reconciliation rule includes the statement plan, and the statement plan adds a detailed statement. The statement plan displays two main areas: basic information and settings. The basic information area includes columns such as statement dimension, reconciliation type, description, etc. Users can enter the information they want in the corresponding columns.
[0088] The setting area includes reconciliation cycle, execution plan next day time, data acquisition start time, etc. Reconciliation group selection button, such as Figure 5 , select Group A data: Third-party channel bills [ZF06231000187], [ZF06231000191] bill data, and filter the bills by setting filter conditions. There are multiple fields available in the field area, such as refund fade, order number, store change, store name, store address, transaction date, transaction time, commodity amount, order amount, other fee amount, apportionment amount, platform fee, actual amount received, merchant number, card number, actual amount paid, discount amount, settlement date, etc. Select Group B data and add the corresponding bill. Figure 5 The definition and use page diagram of the reconciliation rules also includes a confirmation button and a cancel button.
[0089] exist Figure 6 The figure of the page for setting filter conditions is as follows: Figure 5 The local interface diagram of the display area 501 shown, Figure 6 The filter condition setting page includes basic bill information, bill fields, bill conditions, and data retrieval conditions. The data retrieval conditions are set according to actual needs. Figure 6 In the billing field, Figure 5 The same or similar ones are shown and will not be described in detail. Figure 6The data retrieval condition is schematically set as: bill data with actual amount greater than 100 and discount amount less than 5. The page for setting filter conditions also includes buttons such as move up, move down, delete, cancel and confirm, through which corresponding control operations can be implemented.
[0090] like Figure 5 As shown, users can configure the reconciliation cycle, reconciliation requirements, and execution cycle of reconciliation tasks in the reconciliation rules. In this way, through page configuration, business personnel can quickly respond to changes in the reconciliation data pool, data format, and reconciliation rules by editing the reconciliation data pool, data grid, and data reconciliation rules online. By utilizing the sharding computing features of Hive clusters and Flink clusters, the system can improve the task throughput and efficiency of system reconciliation computing by increasing cluster computing resources.
[0091] Optionally, the financial data processing method further includes:
[0092] The STG layer of the Hive cluster retains the incremental data of the day and the full data;
[0093] The ODS layer of the Hive cluster verifies the order data of the order in different systems. If the order data does not match, it reports the data mismatch problem and selects one order data from each system and inputs it into the DWD layer of the Hive cluster.
[0094] The DWD layer splits the order data according to accounting objects, scenarios, business types, and business lines.
[0095] Please refer again Figure 2 The STG layer of the Hive cluster partitions the incremental data every day, retains the incremental data of the day, partitions the panoramic data every day, and retains the full data; the ODS layer of the Hive cluster verifies the order data in different systems. If the order data does not match, it reports the data mismatch problem and selects one order data from each system and inputs it into the DWD layer of the Hive cluster; the DWD layer splits the order data according to accounting objects, scenarios, business types, and business lines.
[0096] In this embodiment, by defining and editing metadata and data pool definitions online, business personnel can quickly respond to changes in business rules without modifying the code, so that the business can robustly play the efficient role of the platform in the business environment, reduce development costs, and improve response speed.
[0097] The big data components Flink cluster and Hive cluster used together can support the growing business needs of data growth, while also having good horizontal scalability. By adding machines, the processing efficiency and speed of the business can be improved. Previously, loading data at one time may cause task failure due to factors such as data integrity and large data volume. When the task is retried, the entire task needs to be repeated. After the new platform is activated, the reconciliation task uses the sharding feature of the Flink cluster to split the reconciliation task horizontally. The records of reconciliation failure can be retried in a targeted manner, which improves the utilization of machine resources.
[0098] The financial data processing method provided by this implementation is that the data synchronization engine starts the data synchronization task; the Kafaka cluster cleans various types of original reconciliation data to obtain standard reconciliation data, and stores the standard reconciliation data in ElasticSearch and Hive clusters; the application platform receives user input operations, generates reconciliation rules corresponding to the user input operations, generates reconciliation tasks according to the reconciliation rules, and starts the reconciliation tasks, submitting the reconciliation tasks to the Flink cluster; the Flink cluster obtains the reconciliation result data according to the reconciliation tasks. In this way, from the perspective of the labor efficiency pressure brought about by changes in financial business, the financial data processing system is improved, the dependence of the reconciliation business on manual operations is reduced, the stability, speed efficiency, and scalability of the financial processing system are improved, and the computing pressure brought about by the growing scale of reconciliation data can be effectively dealt with.
[0099] Example 2
[0100] In addition, an embodiment of the present disclosure provides a financial data processing system.
[0101] Specifically, Figure 7 As shown, the financial data processing system 700 includes:
[0102] Data synchronization engine 701, used to start data synchronization tasks;
[0103] Kafaka cluster 702, used to clean various types of original reconciliation data to obtain standard reconciliation data, and store the standard reconciliation data in ElasticSearch and Hive clusters;
[0104] The application platform 703 is used to receive user input operations, generate reconciliation rules corresponding to the user input operations, generate reconciliation tasks according to the reconciliation rules, start the reconciliation tasks, and submit the reconciliation tasks to the Flink cluster;
[0105] Flink cluster 704 is used to obtain reconciliation result data according to the reconciliation task.
[0106] This embodiment provides a financial data processing system 700 having relevant devices involved in the financial data processing method shown in Embodiment 1, and can implement the financial data processing method shown in Embodiment 1. To avoid repetition, it will not be described here.
[0107] In the financial data processing system provided by this implementation, the data synchronization engine starts the data synchronization task; the Kafaka cluster cleans various types of original reconciliation data to obtain standard reconciliation data, and stores the standard reconciliation data in ElasticSearch and Hive clusters; the application platform receives user input operations, generates reconciliation rules corresponding to the user input operations, generates reconciliation tasks according to the reconciliation rules, and starts the reconciliation tasks, submitting the reconciliation tasks to the Flink cluster; the Flink cluster obtains the reconciliation result data according to the reconciliation tasks. In this way, from the perspective of the labor efficiency pressure brought about by changes in financial business, the financial data processing system is improved, the dependence of the reconciliation business on manual operations is reduced, the stability, speed efficiency, and scalability of the financial processing system are improved, and the computing pressure brought about by the growing scale of reconciliation data can be effectively dealt with.
[0108] Example 3
[0109] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0110] The data synchronization engine starts the data synchronization task;
[0111] The Kafaka cluster cleans various types of original reconciliation data to obtain standard reconciliation data, and stores the standard reconciliation data in ElasticSearch and Hive clusters;
[0112] The application platform receives the user input operation, generates a reconciliation rule corresponding to the user input operation, generates a reconciliation task according to the reconciliation rule, starts the reconciliation task, and submits the reconciliation task to the Flink cluster;
[0113] The Flink cluster obtains the reconciliation result data according to the reconciliation task.
[0114] In this embodiment, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0115] The computer-readable storage medium of this embodiment can be the financial data processing method shown in Example 1, which will not be described again here to avoid repetition.
[0116] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or terminal including the element.
[0117] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0118] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for processing financial data, characterized in that: The method comprises: The data synchronization engine starts the data synchronization task; The Kafaka cluster cleans various types of original reconciliation data to obtain standard reconciliation data, and stores the standard reconciliation data in ElasticSearch and Hive clusters; The application platform receives the user input operation, generates a reconciliation rule corresponding to the user input operation, generates a reconciliation task according to the reconciliation rule, starts the reconciliation task, and submits the reconciliation task to the Flink cluster; The Flink cluster obtains the reconciliation result data according to the reconciliation task; The method further comprises: The database cluster stores the reconciliation result data; Aggregate query the reconciliation result data, the reconciliation rules include: reconciliation cycle, reconciliation requirements, and execution cycle of reconciliation tasks, and the data synchronization engine starts the data synchronization task, including: Receive user editing operations on data source, type of destination data pool, data field name, and data field format through a web page; Initiating a data synchronization task according to the editing operation, generating a reconciliation task according to the reconciliation rule, including setting a data definition of a target data pool, generating the reconciliation task according to the data definition of the target data pool and the reconciliation rule, the method further comprising: receiving a modification operation input by a user to modify the reconciliation data pool, the data format, and the reconciliation rule; The method further includes: the STG layer of the Hive cluster retains the incremental data of the day and retains the full data; The ODS layer of the Hive cluster verifies the order data of the order in different systems. If the order data does not match, it reports the data mismatch problem and selects one order data from each system and inputs it into the DWD layer of the Hive cluster. The DWD layer splits the order data according to accounting objects, scenarios, business types, and business lines. The application platform receives user input operations and generates reconciliation rules corresponding to the user input operations, including: the application platform receives user input of data dictionary configuration operations, document configuration operations, and reconciliation scheme configuration operations, and generates the reconciliation rules according to the data dictionary configuration operations, the document configuration operations, and the reconciliation scheme configuration operations.
2. A financial data processing system, characterized in that: The system comprises: Data synchronization engine, used to start data synchronization tasks; Kafaka cluster, used to clean various types of original reconciliation data to obtain standard reconciliation data, and store the standard reconciliation data in ElasticSearch and Hive clusters; The application platform is used to receive user input operations, generate reconciliation rules corresponding to the user input operations, generate reconciliation tasks according to the reconciliation rules, start the reconciliation tasks, and submit the reconciliation tasks to the Flink cluster; A Flink cluster, used to obtain reconciliation result data according to the reconciliation task; The system is used to implement the financial data processing method as claimed in claim 1.
3. A computer-readable storage medium, characterized in that: It stores a computer program, which executes the financial data processing method according to claim 1 when running on a processor.
