Data processing system, method, device, storage medium and computer program product

By automatically mapping and converting the data structure of the accounting system, and utilizing multi-threaded concurrent tasks and incremental data verification, the adaptability and efficiency issues in data migration between the old and new systems are solved, ensuring data integrity and business continuity.

CN118550892APending Publication Date: 2024-08-27HEBEI HAPPY CONSUMPTION FINANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410614324.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

The existing technology has problems such as poor data and business continuity, poor adaptability, low migration efficiency, and missing data verification logic during the data migration process between the old and new accounting systems, resulting in incomplete and inefficient data migration.

Method used

By configuring data structure information and mapping information, automatic mapping and conversion of data structures of different accounting systems are realized, multi-threaded concurrent tasks are used for data migration, and incremental data verification is performed in the pre-launch stage to ensure the correctness of the data in the new system. and consistency.

Benefits of technology

It improves the adaptability and efficiency of data migration, reduces the complexity and cost of manual conversion and migration, and ensures that the new system seamlessly connects the business logic and data processes of the old system, enabling the continuation of historical business and ensuring the business of the enterprise. continuity and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550892A
    Figure CN118550892A
Patent Text Reader

Abstract

The invention provides a data processing system, method and device, a storage medium and a computer program product. The data processing system comprises a structure configuration module used for configuring a data structure of the accounting system; the data structure mapping module is used for converting the first accounting data structure into a standard accounting data structure and converting the standard accounting data structure into a second accounting data structure; the data migration module is used for migrating the first accounting data to the second accounting system; the pre-online module is used for operating the first accounting system and the second accounting system at the same time and acquiring incremental data; and the data verification module is used for operating the second accounting system to carry out data processing when the verification of the incremental data is passed. By the adoption of the system, automatic mapping and conversion of data structures of different accounting systems can be achieved, the adaptability and flexibility of data migration are improved, and it can be ensured that the second accounting system is seamlessly connected with the service logic and the data process of the first accounting system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer application technology, and more specifically, to a data processing system, method, device, storage medium and computer program product. Background Art

[0002] With the continuous expansion and deepening of corporate financial business, the original accounting system has gradually exposed functional limitations and performance bottlenecks, and cannot meet the complex and changing business needs of the current and future. Therefore, the upgrading of accounting systems has become an inevitable choice for corporate development. However, in the process of replacing the old and new accounting systems, data migration has become an extremely challenging task. Since the old and new systems have significant differences in business logic design, data structure design, and code logic, how to ensure the complete and accurate migration of historical data, while ensuring the seamless connection of business after the new system is launched, has become an urgent problem to be solved.

[0003] The existing technical solutions usually only migrate part of the data with the same data structure, while other data is converted and migrated by a lot of manual calculations. This method is not only inefficient and error-prone, but also cannot ensure data integrity and business continuity. Specifically, the existing technical solutions have the following problems:

[0004] 1. Poor data and business continuity: Due to the limitations of manual accounting, some historical data may not be accurately migrated to the new system, affecting data and business continuity.

[0005] 2. Poor adaptability: The differences in data structure and business logic between the new and old accounting systems make it impossible to directly migrate some complex historical data. The new system needs to be compatible with some business logic of the old system, which increases the complexity and maintenance cost of the system.

[0006] 3. Inefficient data migration: Manual calculation and migration are not only time-consuming and labor-intensive, but also prone to errors, resulting in inefficient data migration.

[0007] 4. Missing data verification logic: Existing technical solutions usually lack a complete data verification mechanism and cannot perform comprehensive and accurate verification of the migrated data, thereby failing to ensure the integrity and correctness of the data. Summary of the invention

[0008] In order to solve the problems existing in the above-mentioned prior art or at least part of the problems, the embodiments of the present invention provide a model data processing system, method, device, storage medium and computer program product, which realize automatic mapping and conversion of data structures of different accounting systems according to the configured data structure information and mapping information, thereby improving the adaptability and flexibility of data migration, reducing the complexity and cost of manual conversion and migration, and, by pre-launching a second accounting system and verifying incremental data, it can ensure that the second accounting system seamlessly connects with the business logic and data flow of the first accounting system, so that historical business can be continued.

[0009] According to a first aspect of the present invention, an embodiment of the present invention provides a data processing system, which includes: a structure configuration module, used to configure a first data structure of a first accounting system and a second data structure of a second accounting system; a data structure mapping module, used to obtain first mapping information between the first data structure and a standard data structure, and convert the first accounting data structure into a standard accounting data structure according to the first mapping information, and obtain second mapping information between the second data structure and the standard data structure, and convert the standard accounting data structure into a second accounting data structure according to the second mapping information; a data migration module, used to migrate the first accounting data of the first accounting system to the second accounting system according to the relationship between the first accounting data structure and the second accounting data structure, and obtain the migrated second accounting data; a pre-online module, used to run the first accounting system and the second accounting system simultaneously within a preset time period, and obtain incremental data of the first accounting system and the second accounting system; a data verification module, used to verify the incremental data, and run the second accounting system for data processing when the incremental data passes the verification.

[0010] According to the above-mentioned implementation mode of the present invention, the first data structure of the first accounting system is converted into the standard accounting data structure according to the configured data structure information and mapping information, and then the standard accounting data structure is mapped to the second accounting data structure of the second accounting system, so as to realize automatic conversion and adaptation of the data structure and improve the efficiency and adaptability of data migration; after the data migration, the first accounting system and the second accounting system are run at the same time, and by verifying the incremental data of the first accounting system and the second accounting system, it is ensured that the migrated data can run correctly in the second accounting system, so as to ensure that the second accounting system can seamlessly connect the business logic and data flow of the first accounting system, so as to enable the historical business to continue.

[0011] In some embodiments of the present invention, the data verification module is further used to verify the integrity, accuracy and consistency of the first accounting data of the first accounting system and the migrated second accounting data.

[0012] According to the above-mentioned embodiments of the present invention, by comprehensively and accurately analyzing and verifying the first accounting data of the first accounting system and the migrated second accounting data, the integrity and logical correctness of the historical data and the migrated data can be ensured.

[0013] In some embodiments of the present invention, the data migration module distributes the first accounting data to multiple independent threads in sequence according to the loan information, and the multiple threads migrate the first accounting data to the second accounting system in batches.

[0014] According to the above implementation of the present invention, the first accounting data is migrated in batches according to the dimension of the IOU by adopting a multi-threaded concurrent task method. Since the threads are independent of each other, the problem of the data belonging to a IOU being processed by two or more threads can be avoided. This not only avoids the problem of data inconsistency in the IOU dimension, but also greatly improves the efficiency and stability of data migration.

[0015] In some embodiments of the present invention, the first mapping information and the second mapping information include: direct conversion rules, logic calculation conversion rules, encoding conversion rules, type conversion rules, and initialization data conversion rules.

[0016] According to the second aspect of the present invention, an embodiment of the present invention provides a data processing method, which includes: configuring a first data structure of a first accounting system and a second data structure of a second accounting system; obtaining first mapping information between the first data structure and a standard data structure, and converting the first accounting data structure into a standard accounting data structure according to the first mapping information; obtaining second mapping information between the second data structure and the standard data structure, and converting the standard accounting data structure into a second accounting data structure according to the second mapping information; migrating the first accounting data of the first accounting system to the second accounting system according to the relationship between the first accounting data structure and the second accounting data structure to obtain the migrated second accounting data; running the first accounting system and the second accounting system simultaneously within a preset time period, and obtaining incremental data of the first accounting system and the second accounting system; verifying the incremental data, and running the second accounting system for data processing when the incremental data passes the verification.

[0017] According to the above-mentioned implementation mode of the present invention, the first data structure of the first accounting system is converted into the standard accounting data structure according to the configured data structure information and mapping information, and then the standard accounting data structure is mapped to the second accounting data structure of the second accounting system, so as to realize automatic conversion and adaptation of the data structure and improve the efficiency and adaptability of data migration; after the data migration, the first accounting system and the second accounting system are run at the same time, and by verifying the incremental data of the first accounting system and the second accounting system, it is ensured that the migrated data can run correctly in the second accounting system, so as to ensure that the second accounting system can seamlessly connect the business logic and data flow of the first accounting system, so as to enable the historical business to continue.

[0018] In some embodiments of the present invention, the data processing method further includes: verifying the integrity, accuracy and consistency of the first accounting data of the first accounting system and the migrated second accounting data.

[0019] According to the above-mentioned embodiments of the present invention, by comprehensively and accurately analyzing and verifying the first accounting data of the first accounting system and the migrated second accounting data, the integrity and logical correctness of the historical data and the migrated data can be ensured.

[0020] In some embodiments of the present invention, the first accounting data is distributed to multiple independent threads in sequence according to the loan information, and the multiple threads migrate the first accounting data to the second accounting system in batches.

[0021] According to the above implementation of the present invention, the first accounting data is migrated in batches according to the dimension of the IOU by adopting a multi-threaded concurrent task method. Since the threads are independent of each other, the problem of the data belonging to a IOU being processed by two or more threads can be avoided. This not only avoids the problem of data inconsistency in the IOU dimension, but also greatly improves the efficiency and stability of data migration.

[0022] In some embodiments of the present invention, the first mapping information and the second mapping information include: direct conversion rules, logic calculation conversion rules, encoding conversion rules, type conversion rules, and initialization data conversion rules.

[0023] According to the third aspect of the present invention, an embodiment of the present invention provides a computer-readable storage medium having computer-readable instructions stored thereon. When the computer-readable instructions are executed by a processor, the computer performs the following operations: the operations include the steps included in the data processing method of any of the above embodiments.

[0024] According to the fourth aspect of the present invention, an embodiment of the present invention provides a computer device including a memory and a processor, wherein the memory is used to store one or more computer-readable instructions, wherein the one or more computer-readable instructions, when executed by the processor, can implement the data processing method described in any one of the above embodiments.

[0025] According to a fifth aspect of the present invention, an embodiment of the present invention provides a computer program product including a computer program, and when the computer program is executed by a processor, the data processing method described in any one of the above embodiments is implemented.

[0026] From the above, it can be seen that the data processing system, method, device, storage medium and computer program product provided in the embodiments of the present invention convert the first data structure of the first accounting system into a standard accounting data structure according to the configured data structure information and mapping information, and then map it to the second accounting data structure of the second accounting system, thereby realizing automatic conversion and adaptation of the data structure and improving the efficiency and adaptability of data migration; and, after the data migration, the first accounting system and the second accounting system are run simultaneously, and by verifying the incremental data of the first accounting system and the second accounting system, it is ensured that the migrated data can run correctly in the second accounting system, so as to ensure that the second accounting system can seamlessly connect the business logic and data flow of the first accounting system, so that historical business can be continued. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 is a schematic diagram of the architecture of a data processing system according to Embodiment 1 of the present invention;

[0028] Figure 2 is a flow chart of a data processing method according to Embodiment 2 of the present invention;

[0029] Figure 3 It is a flowchart of a data processing method according to Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0030] The various aspects of the present invention are described in detail below in conjunction with the accompanying drawings and specific embodiments. Among them, well-known modules, units and their connections, links, communications or operations are not shown or described in detail. In addition, the described features, architectures or functions can be combined in any way in one or more embodiments. It should be understood by those skilled in the art that the various embodiments described below are only used for illustration and are not intended to limit the scope of protection of the present invention. It can also be easily understood that the modules or units or processing methods in each embodiment described herein and shown in the accompanying drawings can be combined and designed in various different configurations.

[0031] [Example 1]

[0032] Figure 1 Schematic diagram of the architecture of a data processing system according to Embodiment 1 of the present invention.

[0033] like Figure 1 As shown, the data processing system includes: a structure configuration module 110 , a data structure mapping module 120 , a data migration module 130 , a pre-online module 140 , and a data verification module 150 .

[0034] The structure configuration module 110 is used to configure a first data structure of the first accounting system and a second data structure of the second accounting system. In this embodiment, the first accounting system and the second accounting system are the old accounting system and the new accounting system, respectively.

[0035] In some embodiments, configuring the first data structure of the first accounting system and the second data structure of the second accounting system includes: configuring the data table names and column names of the basic information of the loan notes, the loan amount information, the repayment plan information, and the cash flow information of the first accounting system and the second accounting system into the data structure configuration module. For example, sorting out the table structures of the first accounting system and the second accounting system, finding out the tables related to "Basic information of the loan notes (user number, loan note number, loan date, loan due date, loan interest rate, repayment method, repayment date, etc.)", "Loan amount information (loan amount, principal repaid, principal not repaid, interest repaid, interest not repaid, penalty interest repaid, penalty interest not repaid, compound interest repaid, compound interest not repaid, etc.)", "Repayment plan information (divided into historical repayment plans, current repayment plans, and future repayment plans)", and "Cash flow information (bank account number, deduction information, loan information, etc.)", and configuring them into the data structure configuration module. Among them, configuring the aforementioned related tables into the data structure configuration module includes but is not limited to the following two exemplary methods:

[0036] Configuration method 1:

[0037] Step (1), generate an Excel data template with a standard data structure, such as basic information of a loan note, the table header (the table header represents a standard data structure) is: user number, loan note number, loan date, loan due date, loan interest rate, repayment method, repayment date, etc. Among them, the table header represents a standard data structure; the second line is: the table name of the data columns such as user number, loan note number, loan date, loan due date, loan interest rate, repayment method, repayment date, etc. in the first data structure; the third line is: the column name of the data columns such as user number, loan note number, loan date, loan due date, loan interest rate, repayment method, repayment date, etc. in the first data structure; the fourth line is: optional conversion rules (conversion rules supported by the present invention).

[0038] Step (2), after filling in other information such as the loan amount, repayment plan information, and fund flow information according to the above rules, import them into the data structure configuration module in sequence.

[0039] Step (3), import the second data structure into the data structure configuration module according to the above rules.

[0040] Step (4), the data structure configuration module provides the data structure mapping module with the table name, column name and conversion mapping rules in the uploaded data template.

[0041] Configuration method 2:

[0042] The data structure configuration module provides page configuration functions, which can be configured directly on the page. The specific configuration method and process are the same as the aforementioned configuration method 1.

[0043] By flexibly configuring table structure information, data scattered in different tables can be aggregated into a standard data structure, realizing automatic mapping and conversion of data structures of old and new accounting systems.

[0044] The data structure mapping module 120 is used to obtain the first mapping information between the first data structure and the standard data structure, and convert the first accounting data structure into the standard accounting data structure according to the first mapping information, and obtain the second mapping information between the second data structure and the standard data structure, and convert the standard accounting data structure into the second accounting data structure according to the second mapping information. In this embodiment, the data structure mapping module pulls the data of the structure configuration module in full, maps the old data structure (first accounting data structure) into a standardized accounting data structure (standard accounting data structure), for example, mapping into a "loan note table", "loan note-interest rate segment table", "loan note-repayment method segment table", "repayment plan table", "repayment flow table" and "interest calculation record table", and then maps the standardized data structure again into the second accounting data structure of the new accounting system.

[0045] In some implementations, the first mapping information and the second mapping information include, but are not limited to, one or more of the following: direct conversion rules, logic calculation conversion rules, encoding conversion rules, type conversion rules, and initialization data conversion rules.

[0046] The data migration module 130 is used to migrate the first accounting data of the first accounting system to the second accounting system according to the relationship between the first accounting data structure and the second accounting data structure, so as to obtain the migrated second accounting data.

[0047] In some implementations, the data migration module 130 distributes the first accounting data to multiple independent threads in sequence according to the loan information, and the multiple threads migrate the first accounting data to the second accounting system in batches. By optimizing the migration strategy and concurrency control mechanism, not only the data inconsistency problem of the accounting dimension is avoided, but also the efficiency and stability of data migration can be greatly improved, the system launch time and maintenance cycle can be shortened, and the operating costs and risks of the enterprise can be reduced.

[0048] The pre-online module 140 is used to run the first accounting system and the second accounting system simultaneously within a preset time period, and obtain the incremental data of the first accounting system and the second accounting system. In this embodiment, during the parallel operation of the first accounting system and the second accounting system (new and old accounting systems), the new system only updates the data flow, and the old system updates the data flow and the capital flow at the same time.

[0049] The data verification module 150 is used to verify the incremental data, and when the incremental data passes the verification, the second accounting system is run to perform data processing. In this embodiment, the continuity of various types of business after the new accounting system goes online is verified by comparing whether the data of the newly added data streams of the new and old accounting systems are consistent. By verifying whether the data of the data streams of the new and old accounting systems are consistent and whether they develop according to business expectations, it is verified whether the business continuity corresponding to normal repayment, early repayment, early settlement, overdue repayment, and post-loan changes after the new accounting system goes online is correct. When there is data that has not passed the data logic verification, manual intervention is used to check whether there are any contradictions in the business logic of the new and old accounting systems. After the problem is solved, the business continuity logic verification is performed again.

[0050] In some embodiments, the data verification module is also used to verify the integrity, accuracy and consistency of the first accounting data of the first accounting system and the second accounting data after migration. Optionally, the historical data of the old accounting system is comprehensively and accurately verified according to the general accounting method to verify whether the integrity and logic of the data are correct, and the data that fails the verification is manually intervened to ensure the accuracy and reliability of the data; after completing the data migration, the migrated data is automatically comprehensively and logically verified, including but not limited to verifying whether the total data of the old and new accounting systems, the basic data of each loan note, the amount data, and the repayment plan data are consistent, and the integrity and correctness of the migrated data are ensured through a multi-level and multi-dimensional verification mechanism. Therefore, by comprehensively and accurately analyzing and verifying the first accounting data of the first accounting system and the second accounting data after migration, the integrity and logic of the historical data and the migrated data can be ensured, and problems such as business interruption or data loss caused by data migration can be avoided.

[0051] Among them, the aforementioned general accounting method includes the SQL implementation of the corresponding verification rules written according to the data structure of the first accounting data, but is not limited to the following accounting objectives: 1. Whether all IOUs have repayment plans; 2. Whether the normal principal of the IOU is equal to the normal principal of the repayment plan; 3. Whether the overdue principal of the IOU is equal to the overdue principal of the repayment plan; 4. Whether the overdue interest of the IOU is equal to the overdue interest of the repayment plan; 5. Whether the penalty interest of the IOU is equal to the penalty interest of the repayment plan; 6. Whether the compound interest of the IOU is equal to the compound interest of the repayment plan; 7. Whether the loan due date of the IOU is greater than or equal to the due date of the last item of the repayment plan; 8. The loan status is normal, whether the repayment plan is overdue; 9. Whether the repayment plan of the overdue loan is overdue; 10. Whether the settled IOU has a settlement date; 11. Whether the IOUs have loan interest rate information; 12. Compare the balances of each account in the general ledger with the sub-ledgers.

[0052] In a further embodiment, the data processing system of the present invention further includes a data extraction module for extracting data from the first accounting system, and the data extraction module supports comprehensive and efficient extraction of the full amount of data of the first accounting system (old accounting system) through data tables, data SQL files, database direct connection, etc. Optionally, multi-threaded concurrent methods are used to pull data simultaneously to ensure the timeliness and integrity of data extraction.

[0053] The above-mentioned data processing system of Example 1 of the present invention is used to convert the first data structure of the first accounting system into a standard accounting data structure according to the configured data structure information and mapping information, and then map the standard accounting data structure into the second accounting data structure of the second accounting system, so as to realize automatic conversion and adaptation of the data structure, improve the efficiency, adaptability and adaptability of data migration, and reduce the complexity and cost of manual conversion and migration; after data migration, the first accounting system and the second accounting system are run at the same time, and the incremental data of the first accounting system and the second accounting system are verified to ensure that the migrated data can run correctly in the second accounting system, so as to ensure that the second accounting system can seamlessly connect the business logic and data flow of the first accounting system, so that the historical business can be continued, and the business continuity and stability of the enterprise are guaranteed. At the same time, through the automated data extraction, verification, mapping and migration process and the auxiliary role of the manual intervention processing mechanism, the manual operation process can be greatly simplified and the risk of human error can be reduced, and the security and reliability of the data migration process can be improved.

[0054] [Example 2]

[0055] Figure 2 It is a flowchart of a data processing method according to Embodiment 2 of the present invention.

[0056] like Figure 2As shown, in Embodiment 2 of the present invention, the data processing method may include: step S21, step S22, step S23, step S24, step S25 and step S26, and the above steps are described in detail below.

[0057] In step S21, a first data structure of a first accounting system and a second data structure of a second accounting system are configured. In this embodiment, the first accounting system and the second accounting system are an old accounting system and a new accounting system, respectively.

[0058] In some embodiments, configuring the first data structure of the first accounting system and the second data structure of the second accounting system includes: configuring the data table names and column names of the loan basic information, loan amount information, repayment plan information, and fund flow information of the first accounting system and the second accounting system into the data structure configuration module. By flexibly configuring the table structure information, the automatic mapping and conversion of the data structures of the new and old accounting systems is achieved.

[0059] In step S22, first mapping information between the first data structure and the standard data structure is obtained, and the first accounting data structure is converted into a standard accounting data structure according to the first mapping information.

[0060] In step S23, second mapping information between the second data structure and the standard data structure is obtained, and the standard accounting data structure is converted into the second accounting data structure according to the second mapping information.

[0061] In some implementations, the first mapping information and the second mapping information include, but are not limited to, one or more of the following: direct conversion rules, logic calculation conversion rules, encoding conversion rules, type conversion rules, and initialization data conversion rules. The rules included in the mapping information include:

[0062] a. Direct conversion: move the data of the corresponding fields in the original table to the new table intactly;

[0063] b. Logical calculation conversion: For data that needs to be calculated before conversion, program logic is used for conversion mapping. The conversion rules are standardized accounting logic, which can save a lot of manpower and time costs;

[0064] c. Code conversion: Since the code rules of the new and old systems are different, the code conversion rules are used for mapping;

[0065] d. Type conversion: For example, the old table stores dates as strings 'YYYY-MM-DD', while the new table stores dates as DATE type, so mapping is performed through type conversion rules;

[0066] e. Initialization data conversion: Some fields in the new table may have default values, so the initialization data conversion rules are used. When the old table has no corresponding fields or the corresponding field data in the old table is empty, the default data will be written in the new table.

[0067] In step S24, the first accounting data of the first accounting system is migrated to the second accounting system according to the relationship between the first accounting data structure and the second accounting data structure to obtain migrated second accounting data.

[0068] In some implementations, the first accounting data is sequentially distributed to multiple independent threads according to the loan information, and the multiple threads migrate the first accounting data to the second accounting system in batches. By optimizing the migration strategy and concurrency control mechanism, not only the data inconsistency problem of the accounting dimension is avoided, but also the efficiency and stability of data migration are greatly improved.

[0069] In step S25, the first accounting system and the second accounting system are run simultaneously within a preset time period, and incremental data of the first accounting system and the second accounting system are obtained. In this embodiment, during the parallel operation of the first accounting system and the second accounting system (new and old accounting systems), the new system only updates the data flow, and the old system updates the data flow and the capital flow at the same time.

[0070] In step S26, the incremental data is verified, and when the incremental data passes the verification, the second accounting system is run to process the data. In this embodiment, the continuity of various businesses after the new accounting system is launched is verified by comparing the data of the newly added data streams of the new and old accounting systems.

[0071] By adopting the above-mentioned data processing method of Example 2 of the present invention, the verification and production environments are isolated by the verification container and the model container to avoid affecting the production; by configuring different rules, different models can be loaded into different containers, and then the corresponding loaded model files are associated with the model ID, which can avoid forming a reference dependency relationship with the system code. Therefore, when the model is called, the loaded model file can be directly obtained from the model container through the model ID and executed, so that the model files are decoupled, and the independent loading and offline of the model files are realized, making the model deployment more flexible, secure and efficient.

[0072] In a further embodiment, the data processing method of the present invention further includes checking the integrity, accuracy and consistency of the first accounting data of the first accounting system and the migrated second accounting data. Optionally, a logical check of the migrated data includes: first, checking whether the total data of the old and new accounting systems: total loan principal, total principal to be repaid, total interest to be repaid (including interest, penalty interest and compound interest), total principal repaid, total interest repaid (including interest, penalty interest and compound interest) are consistent; secondly, checking whether the basic data of each IOU: loan date, repayment date, loan due date, loan interest rate, penalty interest rate, and repayment method are consistent; then, checking whether the amount data of each IOU in the old and new accounting systems: loan principal, principal to be repaid, interest to be repaid (including interest, penalty interest and compound interest), repaid principal, repaid interest (including interest, penalty interest and compound interest) are consistent; finally, checking the data of each IOU in the new accounting system and the repayment plan data of the IOU: repayment date, repaid principal, interest repaid (including interest, penalty interest and compound interest), principal to be repaid, interest to be repaid and repayment plan data are consistent. Among them, data that fails the data logic check requires manual intervention to check whether there are omissions in the previous steps and whether the data structure of the new accounting system is configured normally. After correction, the data logic check should be performed again.

[0073] In a further embodiment, the data processing method of the present invention further includes extracting data from the first accounting system before step S21. In this embodiment, the data in the first accounting system is extracted by a data extraction module, and the data extraction module supports comprehensive and efficient extraction of the full amount of data of the first accounting system (old accounting system) through data tables, data SQL files, database direct connection, etc. Optionally, multi-threaded concurrent mode is used to pull data simultaneously to ensure the timeliness and integrity of data extraction.

[0074] [Example 3]

[0075] Figure 3 It is a flowchart of a data processing method according to Embodiment 3 of the present invention.

[0076] like Figure 3 As shown, in embodiment 3 of the present invention, the data processing method may include the following steps:

[0077] Step 1: Extract the full amount of historical accounting data (first accounting data) from the old accounting system through the data extraction module.

[0078] Step 2: Use the data verification module to verify the integrity, accuracy and consistency of the extracted data to ensure data quality. Data that passes the data verification will enter the subsequent process; data that does not pass the data verification will be processed through manual intervention, and the data will be corrected by correction or supplementary recording, and then the data will be verified again.

[0079] Step 3: Configure the data table names and column names of the IOU basic information, IOU amount information, repayment plan information, and fund flow information of the new and old accounting systems into the data structure configuration module.

[0080] Step 4: Extract the data of the structure configuration module, convert the data structure of the old accounting system into the standard accounting data structure according to the mapping information (including direct conversion, logic technology conversion, encoding conversion, type conversion, initialization data conversion, etc.), and then map the standard accounting data structure into the data structure of the new accounting system. The automatic conversion and adaptation of the data structures of the old and new accounting systems are achieved through two mappings.

[0081] Step 5: According to the IOU dimension, all accounting data is migrated in batches using multi-threaded concurrent tasks. Specifically, the IOUs are assigned to each thread in turn, and the threads are independent of each other. There will be no problem that the data belonging to one IOU is processed by two or more threads. This strategy and concurrent control mechanism not only avoids the problem of data inconsistency in the IOU dimension, but also greatly improves the efficiency and stability of data migration.

[0082] Step 6: After all data migration tasks are completed, the migrated data is automatically logically verified. Specifically, first verify whether the total data of the new and old accounting systems: total loan principal, total principal to be repaid, total interest to be repaid (including interest, penalty interest and compound interest), total principal repaid, total interest repaid (including interest, penalty interest and compound interest) are consistent; secondly, verify whether the basic data of each IOU: loan date, repayment date, loan due date, loan interest rate, penalty interest rate, and repayment method are consistent; then verify whether the amount data of each IOU in the new and old accounting systems: loan principal, principal to be repaid, interest to be repaid (including interest, penalty interest and compound interest), repaid principal, repaid interest (including interest, penalty interest and compound interest) are consistent; finally, verify whether the data of each IOU in the new accounting system and the repayment plan data of the IOU: repayment date, repaid principal, repaid interest (including interest, penalty interest and compound interest), principal to be repaid, interest to be repaid and repayment plan data are consistent. The above verification steps ensure the integrity and accuracy of the data. Among them, data that passes the data logic check enters the subsequent process; data that fails the data logic check requires manual intervention to check whether there are omissions in the previous steps and whether the data structure of the new accounting system is configured normally, and then perform data logic check again after correction.

[0083] Step 7: Pre-launch of the new system. The new and old accounting systems are launched and run in parallel. The new system is invisible to users. Users perform business operations in the original system. The new system updates the data flow according to the business logic, and the old system updates the data flow and capital flow according to the original business logic.

[0084] Step 8: Check the newly generated incremental data of the old and new accounting systems to verify whether the data flows of the new and old accounting systems are consistent and whether they are developing in accordance with business expectations, so as to verify whether the business continuity of normal repayment, early repayment, early settlement, overdue repayment, and post-loan changes after the new accounting system goes online is correct. Data that passes the business continuity logic check will enter the subsequent process and wait for the final official launch; data that does not pass the data logic check will be manually intervened to check whether there are omissions in the previous steps and whether there are any contradictions between the business logic of the old and new accounting systems. After the problems are solved, the business continuity logic check will be entered again.

[0085] By adopting the above-mentioned data processing method of Example 3 of the present invention, the following effects can be achieved: 1. Through a comprehensive data verification mechanism and a manual intervention processing mechanism, the integrity and accuracy of historical data can be ensured, and problems such as business interruption or data loss caused by data migration can be avoided; 2. Through flexible table structure configuration and data mapping rule setting, automatic mapping and conversion of data structures of the old and new accounting systems can be realized, which improves the adaptability and flexibility of data migration and reduces the complexity and cost of manual conversion and migration; 3. By adopting multi-threaded concurrent tasks and optimized migration strategies, the efficiency and stability of data migration can be greatly improved, the system launch time and maintenance cycle can be shortened, and the operating costs and risks of the enterprise can be reduced; 4. Through a multi-level and multi-dimensional data logic verification and business continuity verification mechanism, it can ensure that the migrated data runs correctly in the new accounting system and the historical business can be continued, ensuring the business continuity and stability of the enterprise; 5. Through the automated data extraction, verification, mapping and migration process and the auxiliary role of the manual intervention processing mechanism, the manual operation process can be greatly simplified and the risk of human errors can be reduced, while improving the security and reliability of the data migration process.

[0086] Through the description of the above implementation modes, those skilled in the art can clearly understand that the present invention can be implemented by combining software with a hardware platform. Based on such an understanding, all or part of the contribution of the technical solution of the present invention to the background technology can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various implementation modes of the present invention or some parts of the implementation modes.

[0087] Correspondingly, an embodiment of the present invention further provides a computer-readable storage medium on which computer-readable instructions or programs are stored. When the computer-readable instructions or programs are executed by a processor, the computer performs the following operations: the operations include the steps included in the data processing method described in any of the above embodiments, which are not repeated here. The storage medium may include, for example, an optical disk, a hard disk, a floppy disk, a flash memory, a magnetic tape, etc.

[0088] In addition, an embodiment of the present invention further provides a computer device including a memory and a processor, wherein the memory is used to store one or more computer-readable instructions or programs, wherein the one or more computer-readable instructions or programs can implement the data processing method described in any of the above embodiments when executed by the processor. The computer device can be, for example, a server, a desktop computer, a notebook computer, a tablet computer, etc.

[0089] The present invention also provides a computer program product including a computer program, wherein the computer program includes a program code for executing the data processing method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the data processing method provided by the embodiment of the present disclosure.

[0090] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0091] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention is described in detail with reference to the above embodiments, a person skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention. Therefore, the protection scope of the present invention shall be subject to the claims.

Claims

1. A data processing system, characterized in that: The data processing system comprises: A structure configuration module, used to configure a first data structure of a first accounting system and a second data structure of a second accounting system; a data structure mapping module, configured to obtain first mapping information between the first data structure and the standard data structure, and convert the first accounting data structure into the standard accounting data structure according to the first mapping information, and to obtain second mapping information between the second data structure and the standard data structure, and convert the standard accounting data structure into the second accounting data structure according to the second mapping information; A data migration module, configured to migrate the first accounting data of the first accounting system to the second accounting system according to the relationship between the first accounting data structure and the second accounting data structure, to obtain migrated second accounting data; A pre-online module, used to run the first accounting system and the second accounting system simultaneously within a preset time period, and obtain incremental data of the first accounting system and the second accounting system; The data verification module is used to verify the incremental data, and when the incremental data passes the verification, the second accounting system is run to perform data processing.

2. The data processing system according to claim 1, characterized in that The data verification module is also used to verify the integrity, accuracy and consistency of the first accounting data of the first accounting system and the migrated second accounting data.

3. The data processing system according to claim 1, wherein: The data migration module distributes the first accounting data to multiple independent threads in sequence according to the loan information, and the multiple threads migrate the first accounting data to the second accounting system in batches.

4. The data processing system according to claim 1, wherein: The first mapping information and the second mapping information include: direct conversion rules, logic calculation conversion rules, encoding conversion rules, type conversion rules, and initialization data conversion rules.

5. A data processing method, characterized in that: The data processing method comprises: configuring a first data structure of a first accounting system and a second data structure of a second accounting system; Acquire first mapping information between the first data structure and the standard data structure, and convert the first accounting data structure into the standard accounting data structure according to the first mapping information; Acquire second mapping information between the second data structure and the standard data structure, and convert the standard accounting data structure into the second accounting data structure according to the second mapping information; Migrating the first accounting data of the first accounting system to the second accounting system according to the relationship between the first accounting data structure and the second accounting data structure to obtain migrated second accounting data; Running the first accounting system and the second accounting system simultaneously within a preset time period, and acquiring incremental data of the first accounting system and the second accounting system; The incremental data is verified, and when the incremental data passes the verification, the second accounting system is run to perform data processing.

6. The data processing method according to claim 5, characterized in that: The data processing method further includes: verifying the integrity, accuracy and consistency of the first accounting data of the first accounting system and the migrated second accounting data.

7. The data processing method according to claim 5, characterized in that: The first accounting data is distributed to a plurality of independent threads in sequence according to the loan information, and the plurality of threads migrate the first accounting data to the second accounting system in batches.

8. The data processing method according to claim 5, characterized in that: The first mapping information and the second mapping information include: direct conversion rules, logic calculation conversion rules, encoding conversion rules, type conversion rules, and initialization data conversion rules.

9. A computer-readable storage medium storing computer-readable instructions, characterized in that: The computer-readable instructions are executed by a processor to implement the data processing method according to any one of claims 5 to 8.

10. A computer device comprising a memory and a processor, The memory stores computer-readable instructions, characterized in that: The processor executes the computer-readable instructions to implement the data processing method according to any one of claims 5 to 8.

11. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the data processing method according to any one of claims 5 to 8 is implemented.