Data migration method, device and equipment of pension management system and medium
By obtaining and creating the corresponding database table structure, the data of the pension management system is migrated to the new system, which solves the problem of data migration complexity and integrity, improves the accuracy and efficiency of the migration, and ensures the stability of the data in the new system. Consistency and stability.
Patent Information
- Application Number
- CN202410990996.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During the upgrade process of the pension management system, data migration is complex and difficult, especially due to scattered data storage and complex relationships, which makes data screening and sorting difficult, accuracy and efficiency low, and may lead to data integrity and consistency issues. .
By obtaining multiple data modules to be migrated and their database table structures, create corresponding new database table structures, and migrate the data to the new system to ensure the accuracy, integrity and consistency of the data during the migration process, while optimizing the migration. processes to improve efficiency.
It improves the accuracy and efficiency of data migration, reduces the difficulty of data screening and sorting, ensures the integrity and consistency of data in the new system, reduces conversion problems caused by structural mismatch, and improves the stability of the system. and reliability.
Smart Images

Figure CN118779302A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a data migration method, device, equipment and medium for a pension management system. Background Art
[0002] With the development of society and the changing needs of pension management, the pension management system needs to be upgraded. In the process of upgrading the original pension management system to the new pension management system, data migration is a key link, but this process is often very complicated.
[0003] In traditional data migration methods, the migration process is quite complicated, which brings many challenges to data migration and has a certain impact on data migration. First of all, it is necessary to conduct in-depth analysis and careful sorting of the massive data in the original pension management system. These data are huge in scale and cover a variety of information, including personal information of insured persons, payment records, pension payment records, etc. Faced with such a huge amount of data, it is not easy to conduct comprehensive and accurate analysis and sorting.
[0004] Moreover, the data in the original pension management system is not stored in a single database table, but is scattered in multiple database tables. The relationships between these database tables are intricate and intertwined. Some data may have direct associations, while others may have indirect and implicit connections. To clarify the relationships between these data, you need to have a very deep understanding of the database structure of the original system, which undoubtedly increases the difficulty of data screening and sorting. Summary of the invention
[0005] One or more embodiments of the present specification provide a data migration method, device, equipment and medium for a pension management system, which are used to solve the technical problems raised by the background technology.
[0006] One or more embodiments of this specification adopt the following technical solutions:
[0007] One or more embodiments of this specification provide a data migration method for a pension management system, the method comprising:
[0008] When the original pension management system is upgraded to the new pension management system, a plurality of data modules to be migrated in the original pension management system are obtained, wherein the data modules are data sets of a plurality of preset business types;
[0009] Acquire a database table structure of the plurality of data modules to be migrated and the data to be migrated of the plurality of data modules to be migrated, wherein the database table structure includes data information of corresponding data modules;
[0010] According to the database table structures of the multiple data modules to be migrated, creating a corresponding new database table structure in the new pension management system;
[0011] The data to be migrated of the multiple data modules to be migrated are migrated to the new pension management system, and the migrated data of the new pension management system are stored in corresponding positions of the new database table structure.
[0012] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0013] Improve the accuracy of data migration: By clearly obtaining multiple data modules to be migrated in the original pension management system, and these data modules are divided according to data sets of multiple preset business types, the data to be migrated can be determined more accurately, avoiding data omissions and erroneous screening, thereby improving the accuracy of data migration.
[0014] Reduce the difficulty of data screening and sorting: This method obtains the database table structure of the data module to be migrated and the data to be migrated, making the source and structure of the data clearer. Compared with the traditional method where the data is scattered and the relationships are complex, this method helps to screen and sort the data more systematically, reducing the difficulty of the work.
[0015] Enhance the adaptability of the database structure: Create a corresponding new database table structure in the new pension management system based on the database table structure of the data module to be migrated. This ensures that the database table structure of the new system matches the data structure of the original system, reduces data conversion problems caused by structure mismatch, and improves the efficiency and quality of data migration.
[0016] Ensure data integrity and consistency: Accurately migrate the data to the new system and store it in the corresponding location of the new database table structure, which can effectively maintain the original relationship between the data, ensure data integrity and consistency, and avoid data loss or errors during the migration process.
[0017] Improve the efficiency of data migration: This method optimizes the data migration process, reduces unnecessary intermediate links and duplication of work, and enables data to be migrated from the original system to the new system more quickly, saving time and resources and improving the overall efficiency of data migration.
[0018] Furthermore, the step of creating a corresponding new database table structure in the new pension management system according to the database table structure of the multiple data modules to be migrated includes:
[0019] Analyze the database table structure of multiple data modules to be migrated in the original pension management system to obtain analysis results, wherein the database table structure includes table name, field name and data type;
[0020] Determine the database table structure of the new pension management system according to the analysis results and the constraints of the new pension management system;
[0021] According to the database table structure of the new pension management system, a corresponding new database table structure is created in the new pension management system.
[0022] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0023] Improve data compatibility: By analyzing the database table structure of the data module to be migrated in the original pension management system, including table name, field name and data type, we can better understand the structural characteristics of the original data, thereby providing a basis for creating a compatible database table structure in the new system and improving the adaptability of the data in the new system.
[0024] Meeting the constraints of the new system: Determining the database table structure of the new system based on the analysis results and the constraints of the new pension management system can ensure that the newly created table structure not only conforms to the characteristics of the original data, but also meets the requirements of the new system, avoiding data migration problems or system operation failures caused by failure to meet the constraints.
[0025] Ensure data consistency: Creating a new database table structure according to this process can maintain the consistency of the data structure to the greatest extent. The relationships and logic in the original data are reasonably reflected in the new table structure, which helps to ensure the integrity and accuracy of the data during the migration process and reduce the risk of data loss or errors.
[0026] Improve data migration efficiency: A clear analysis and creation process helps reduce uncertainty and errors during data migration, thereby improving the efficiency of data migration. The early creation of new table structures can make data migration work smoother, saving time and resources.
[0027] Enhanced system scalability: The rationally designed new database table structure facilitates future expansion of the system. The table structure that takes into account the constraints of the new system has better flexibility and scalability, and can better adapt to possible business changes and functional expansion requirements of the pension management system.
[0028] Reduce maintenance costs: Creating a database table structure that matches the original data structure and meets the requirements of the new system helps reduce system maintenance costs. Data consistency and accuracy reduce system failures and maintenance work caused by data problems, and improve system stability and reliability.
[0029] Furthermore, the step of migrating the data to be migrated of the multiple data modules to be migrated to the new pension management system, and storing the migrated data of the new pension management system to a corresponding position of the new database table structure includes:
[0030] Evaluating the data to be migrated of the multiple data modules to be migrated to obtain evaluation results, wherein the evaluation results include migration amount evaluation results;
[0031] If the migration amount assessment result is that the migration amount of the data to be migrated is greater than the upper limit of a single migration, the number of migrations and the data module for each migration are set according to the upper limit of a single migration and the migration amount of the data to be migrated;
[0032] According to the number of migrations and the data modules of each migration, the data to be migrated of the multiple data modules to be migrated are migrated to the new pension management system respectively, and after each migration of the corresponding data module, the migration data corresponding to the new pension management system is stored in the corresponding position of the new database table structure.
[0033] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0034] Ensure the feasibility of migration: Evaluate the data to be migrated, especially the migration volume, to understand the scale and difficulty of data migration in advance. When the migration volume is greater than the upper limit of a single migration, the feasibility of data migration under technical and resource constraints is ensured by reasonably setting the number of migrations and the data modules for each migration, avoiding migration failure or system failure caused by excessive migration volume.
[0035] Improve migration efficiency: Make reasonable plans based on the migration volume and the upper limit of a single migration, and migrate data in batches to avoid performance bottlenecks and time consumption that may be caused by processing a large amount of data at one time. This can more effectively utilize system resources, improve the overall efficiency of data migration, and shorten the migration time.
[0036] Ensure orderly data migration: Set the data module for each migration to make the data migration process more orderly and controllable. Data can be migrated in batches according to certain logic and priority to ensure that important data and key business modules are processed first and reduce the impact on business operations.
[0037] Enhance data accuracy and integrity: After each migration of the corresponding data module, the migration data corresponding to the new pension management system is stored in the corresponding position of the new database table structure, which can ensure the accuracy and integrity of the data during the migration process. Avoid data confusion or loss, and ensure the quality of data in the new system.
[0038] Flexible response to migration needs of different scales: This batch migration method is very flexible and can adapt to the data migration needs of pension management systems of different scales. Whether it is a small-scale system upgrade or a large-scale system transformation, efficient data migration can be achieved by reasonably adjusting the migration parameters.
[0039] Reduced risk and error rate: Breaking down large-scale data migration into multiple small batches reduces the risk of errors during the migration process. Even if problems occur in a batch of migrations, they can be more easily investigated and repaired, reducing the impact on the entire data migration process.
[0040] Further, the evaluation result also includes a data module association evaluation result; the setting of the number of migrations and the data module for each migration according to the single migration upper limit and the migration amount of the data to be migrated includes:
[0041] The number of migrations and the data module for each migration are set according to the data module association evaluation result, the single migration upper limit and the migration amount of the data to be migrated.
[0042] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0043] Optimize migration strategy: Consider the data module association evaluation results to set the number of migrations and the data modules for each migration, so that the migration strategy can be formulated more scientifically. According to the degree of association between data modules, the migration sequence can be reasonably arranged to avoid migration problems caused by the dependency between data modules, thereby improving the success rate and efficiency of migration.
[0044] Ensure data integrity and consistency: Through data module association assessment, you can better understand the relationship between various data modules. When setting the number of migrations and the data modules for each migration, you can ensure that the associated data modules can be migrated at the right time, thereby ensuring the integrity and consistency of the data in the new system and reducing the risk of data errors and inconsistencies.
[0045] Improve system stability: Migrate according to the association of data modules, which can reduce the impact on the new pension management system caused by the incoordination between data modules. It helps to maintain the stability of the system and reduce the occurrence of system failures and abnormal situations.
[0046] Enhanced migration flexibility: The migration plan is set by comprehensively considering the data module association evaluation results, the upper limit of a single migration, and the amount of data to be migrated, which increases the flexibility of migration. Dynamic adjustments can be made according to actual conditions to better adapt to different migration needs and scenarios.
[0047] Reduce risks: Fully considering the relationship between data modules can effectively reduce the risks caused by improper handling of data relationships during the migration process. It reduces the impact on the normal operation of the pension management system and ensures the continuity and stability of the business.
[0048] Furthermore, after storing the migration data of the new pension management system in the corresponding position of the new database table structure, the method further includes:
[0049] Checking the migration data of the new pension management system with the data to be migrated of the multiple data modules to be migrated, and checking the database table structure of the original pension management system with the new database table structure of the new pension management system;
[0050] If the migration data of the new pension management system is consistent with the data to be migrated of the multiple data modules to be migrated, and the database table structure of the original pension management system is consistent with the new database table structure of the new pension management system, the upgrade of the original pension management system to the new pension management system is completed.
[0051] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0052] Ensure data accuracy: By checking the migration data of the new pension management system with the data to be migrated from multiple data modules to be migrated, it is possible to promptly detect whether there are errors or omissions in the data during the migration process, thereby ensuring the accuracy and completeness of the data migrated to the new system.
[0053] Ensure system consistency: Check the database table structure of the original pension management system with the new database table structure of the new pension management system to ensure that the database structure of the new system is consistent with the design of the original system, avoiding data storage and query problems caused by inconsistent structures.
[0054] Improve system reliability: Through double checking of data and table structure, the risk of system failure after upgrade is reduced, and the reliability and stability of the new pension management system is improved, enabling it to better serve users.
[0055] Enhance user trust: Accurate data migration and system upgrades can enhance user trust in the new pension management system. Users can use the new system with confidence to perform pension management-related operations, which improves user satisfaction.
[0056] Convenient for subsequent maintenance and expansion: Consistent data and table structure facilitates subsequent system maintenance and function expansion. Developers and maintainers can more easily understand and process data in the system, reducing maintenance costs and development difficulties.
[0057] Ensure successful system upgrade: The upgrade from the original pension management system to the new pension management system is completed only after the migration data and database table structure are verified to be correct, ensuring the quality and effect of the system upgrade and avoiding upgrade failure or subsequent problems caused by insufficient verification.
[0058] Furthermore, the method further comprises:
[0059] If there are unfinished pension businesses in the original pension management system, sort out the unfinished pension businesses in the original pension management system to obtain sorting results, wherein the sorting results include the business type of the unfinished pension business, the relevant data involved, and the current node in the business process;
[0060] Performing business transfer planning for the unfinished pension business according to the combing results, wherein the business transfer planning includes relevant processing procedures for the unfinished pension business in the new pension management system;
[0061] According to the business transfer plan, the unfinished pension business is started in the new pension management system.
[0062] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0063] Ensure business continuity: Sort out and plan the unfinished pension business in the original pension management system to ensure that these businesses can continue in the new pension management system, avoid business interruption due to system replacement, and ensure the continuity of pension business.
[0064] Improve business processing efficiency: Clarifying the business type, relevant data and current nodes of unfinished pension business will help to quickly formulate a reasonable business transfer plan, reduce the time to re-familiarize and process these businesses in the new system, and improve business processing efficiency.
[0065] Reduce business risks: By sorting out the status of unfinished business, possible problems and risks can be discovered in a timely manner, and they can be considered and resolved in the business transfer plan, reducing the possibility of errors or disputes during the business transfer process.
[0066] Ensure data consistency: Sort out the relevant data involved in the unfinished business and process it in the new system according to the plan, ensuring the consistency and coherence of the data and avoiding data loss or inconsistency.
[0067] Promote smooth system transition: Proper handling of unfinished business in the original system will help the smooth promotion and application of the new pension management system, achieve a smooth transition between the old and new systems, and reduce the negative impact of system switching on business operations.
[0068] Enhance system adaptability: Develop corresponding processing procedures based on the characteristics of unfinished business, so that the new pension management system can better adapt to actual business needs and improve the flexibility and adaptability of the system.
[0069] Furthermore, the method further comprises:
[0070] According to the unfinished pension business, the migrated data is marked in the new pension management system to distinguish between completed and unfinished business-related data.
[0071] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0072] Improve data management efficiency: By identifying the data related to unfinished pension business in the migrated data, staff can quickly and accurately identify and distinguish the data of completed and unfinished business, thereby improving the efficiency and accuracy of data management.
[0073] Facilitates business tracking and processing: After marking the data related to unfinished business, it is convenient for staff to track and process these businesses, ensuring that unfinished pension business can receive timely attention and resolution to avoid omissions or delays.
[0074] Reduce the risk of errors: Clearly distinguishing between data on completed and uncompleted business helps reduce errors caused by data confusion and reduces the risk of errors in business processing.
[0075] One or more embodiments of this specification provide a data migration device for a pension management system, including:
[0076] A first acquisition unit, when the original pension management system is upgraded to the new pension management system, acquires a plurality of data modules to be migrated in the original pension management system, wherein the data modules are data sets of a plurality of preset business types;
[0077] A second acquisition unit is configured to acquire a database table structure of the plurality of data modules to be migrated and data to be migrated of the plurality of data modules to be migrated, wherein the database table structure includes data information of corresponding data modules;
[0078] A creation unit, which creates a corresponding new database table structure in the new pension management system according to the database table structure of the multiple data modules to be migrated;
[0079] The migration unit migrates the to-be-migrated data of the multiple data modules to be migrated to the new pension management system, and stores the migrated data of the new pension management system to a corresponding position of the new database table structure.
[0080] One or more embodiments of this specification provide a data migration device for a pension management system, including:
[0081] at least one processor; and,
[0082] a memory communicatively connected to the at least one processor; wherein,
[0083] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0084] When the original pension management system is upgraded to the new pension management system, a plurality of data modules to be migrated in the original pension management system are obtained, wherein the data modules are data sets of a plurality of preset business types;
[0085] Acquire a database table structure of the plurality of data modules to be migrated and the data to be migrated of the plurality of data modules to be migrated, wherein the database table structure includes data information of corresponding data modules;
[0086] According to the database table structures of the multiple data modules to be migrated, creating a corresponding new database table structure in the new pension management system;
[0087] The data to be migrated of the multiple data modules to be migrated are migrated to the new pension management system, and the migrated data of the new pension management system are stored in corresponding positions of the new database table structure.
[0088] One or more embodiments of this specification provide a non-volatile computer storage medium storing computer executable instructions, which can achieve the following when executed by a computer:
[0089] When the original pension management system is upgraded to the new pension management system, a plurality of data modules to be migrated in the original pension management system are obtained, wherein the data modules are data sets of a plurality of preset business types;
[0090] Acquire a database table structure of the plurality of data modules to be migrated and the data to be migrated of the plurality of data modules to be migrated, wherein the database table structure includes data information of corresponding data modules;
[0091] According to the database table structures of the multiple data modules to be migrated, creating a corresponding new database table structure in the new pension management system;
[0092] The data to be migrated of the multiple data modules to be migrated are migrated to the new pension management system, and the migrated data of the new pension management system are stored in corresponding positions of the new database table structure.
[0093] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:
[0094] Improve the accuracy of data migration: By clearly obtaining multiple data modules to be migrated in the original pension management system, and these data modules are divided according to data sets of multiple preset business types, the data to be migrated can be determined more accurately, avoiding data omissions and erroneous screening, thereby improving the accuracy of data migration.
[0095] Reduce the difficulty of data screening and sorting: This method obtains the database table structure of the data module to be migrated and the data to be migrated, making the source and structure of the data clearer. Compared with the traditional method where the data is scattered and the relationships are complex, this method helps to screen and sort the data more systematically, reducing the difficulty of the work.
[0096] Enhance the adaptability of the database structure: Create a corresponding new database table structure in the new pension management system based on the database table structure of the data module to be migrated. This ensures that the database table structure of the new system matches the data structure of the original system, reduces data conversion problems caused by structure mismatch, and improves the efficiency and quality of data migration.
[0097] Ensure data integrity and consistency: Accurately migrate the data to the new system and store it in the corresponding location of the new database table structure, which can effectively maintain the original relationship between the data, ensure data integrity and consistency, and avoid data loss or errors during the migration process.
[0098] Improve the efficiency of data migration: This method optimizes the data migration process, reduces unnecessary intermediate links and duplication of work, and enables data to be migrated from the original system to the new system more quickly, saving time and resources and improving the overall efficiency of data migration. BRIEF DESCRIPTION OF THE DRAWINGS
[0099] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:
[0100] Figure 1 A flowchart of a data migration method for a pension management system provided by one or more embodiments of this specification;
[0101] Figure 2 A schematic diagram of the structure of a data migration device for a pension management system provided by one or more embodiments of this specification;
[0102] Figure 3 A schematic diagram of the structure of a data migration device for a pension management system provided in one or more embodiments of this specification. DETAILED DESCRIPTION
[0103] The embodiments of this specification provide a data migration method, device, equipment and medium for a pension management system.
[0104] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.
[0105] Figure 1 This is a flow chart of a data migration method for a pension management system provided in one or more embodiments of this specification, and the flow can be executed by a data migration system. Certain input parameters or intermediate results in the flow allow manual intervention and adjustment to help improve accuracy.
[0106] The method steps of the embodiment of this specification are as follows:
[0107] S102, when the original pension management system is upgraded to the new pension management system, a plurality of data modules to be migrated in the original pension management system are obtained, wherein the data modules are data sets of a plurality of preset business types.
[0108] In the examples of this specification, the above contents can be implemented by the following specific implementation schemes:
[0109] Determine the preset business types: clarify the various business types involved in the original pension management system, such as pension payment, pension distribution, personal information management, account management, etc.
[0110] Identify data modules: According to the determined preset business types, find the corresponding data sets in the original pension management system. These data sets are the data modules to be migrated.
[0111] Establish a data extraction mechanism: design corresponding data extraction tools or scripts that can accurately extract the above-mentioned data modules from the original pension management system.
[0112] Data verification and backup: Before extracting data, the data in the original pension management system must be verified for integrity and accuracy, and backed up to prevent data loss or damage.
[0113] Perform data extraction: Use the established data extraction mechanism to extract multiple data modules to be migrated from the original pension management system according to preset rules and processes.
[0114] Data organization and classification: Organize and classify the extracted data modules to ensure the standardization and consistency of the data for subsequent migration work.
[0115] It should be noted that the data module can be generated by the following specific implementation methods:
[0116] Determine business requirements and data types: It is necessary to clarify the business scope and functions of the pension management system, as well as the types of data that need to be processed. For example, it may include basic personal information, payment records, investment income, pension payment records, etc.
[0117] Divide business types: Divide the pension management system into multiple preset business types according to business needs. These business types should be independent of each other and have clear boundaries, such as payment management, investment management, payment management, etc.
[0118] Define data sets: For each preset business type, determine the data elements and data structures related to it. These data elements and data structures together constitute the data set of this business type. For example, the data set of the payment management business type may include data elements such as payer information, payment amount, and payment time.
[0119] Design data modules: Design the data set of each business type into a data module. When designing a data module, you need to consider the requirements of data storage method, data access rights, data consistency and integrity, etc.
[0120] Data collection and organization: According to the designed data module, relevant data is collected from various data sources of the original pension management system, and then organized and cleaned to ensure the accuracy and completeness of the data.
[0121] Data verification and review: Verify and review the collected and organized data to ensure that the data complies with business rules and data quality requirements. If problems are found in the data, they need to be corrected or supplemented.
[0122] Data module storage: Store verified and audited data modules in an appropriate manner, such as in a database or file system, to facilitate subsequent data migration and system upgrades.
[0123] S104, obtaining a database table structure of the multiple data modules to be migrated and the data to be migrated of the multiple data modules to be migrated, wherein the database table structure includes data information of corresponding data modules.
[0124] In the examples of this specification, the above contents can be implemented by the following specific implementation schemes:
[0125] Determine the data source: clarify the database location and access permissions of the original pension management system that stores the data modules to be migrated.
[0126] Analyze the database table structure: You can use the database management tool to connect to the database of the original pension management system. At the same time, check the database tables corresponding to each data module to be migrated, understand the table field definition, data type, constraints and other information to determine the database table structure.
[0127] Extract the data to be migrated: Write a data extraction script or use a data migration tool based on the determined database table structure. Perform a data extraction operation to read the data to be migrated from the database table and save it to a temporary storage medium (such as a file or a temporary database).
[0128] Data verification: Verify the extracted data to be migrated to check the integrity, accuracy and consistency of the data. This can be done through data duplication checking, data format checking, data logic verification, etc.
[0129] Data backup: Before performing data extraction and migration operations, back up the database of the original pension management system to prevent data loss or damage.
[0130] Record the operation process: During the entire implementation process, record each operation step, execution time, operator and other information in detail to facilitate subsequent problem troubleshooting and auditing.
[0131] S106: Create a corresponding new database table structure in the new pension management system according to the database table structure of the multiple data modules to be migrated.
[0132] In an embodiment of the present specification, the database table structure of multiple data modules to be migrated in the original pension management system can be analyzed first to obtain analysis results, wherein the database table structure includes table names, field names, and data types; then, based on the analysis results and the constraints of the new pension management system, the database table structure of the new pension management system is determined; finally, based on the database table structure of the new pension management system, a corresponding new database table structure is created in the new pension management system.
[0133] It should be noted that the above content can be implemented through the following specific implementation plans:
[0134] Analyze the database table structure of the data modules to be migrated in the original pension management system: You can use the database management tool to connect to the database of the original pension management system. Traverse the database tables corresponding to the multiple data modules to be migrated. For each table, record its table name, field name and data type to form a detailed analysis result document.
[0135] Determine the database table structure of the new pension management system: Obtain the constraints of the new pension management system, including data format requirements, business rules, performance requirements, etc. Compare and integrate the results of the database table structure analysis of the original pension management system with the constraints of the new system. Based on the results of the comparison and integration, determine the database table structure of the new pension management system, including table design, field definition, data type selection, etc.
[0136] Create a new database table structure in the new pension management system: You can use the database management tools supported by the new pension management system to connect to the database of the new system. According to the determined database table structure of the new pension management system, write SQL statements to create tables. Execute SQL statements to create the corresponding table structure in the database of the new pension management system. Check and verify the created table structure to ensure that it meets the design requirements.
[0137] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0138] Improve data compatibility: By analyzing the database table structure of the data module to be migrated in the original pension management system, including table name, field name and data type, we can better understand the structural characteristics of the original data, thereby providing a basis for creating a compatible database table structure in the new system and improving the adaptability of the data in the new system.
[0139] Meeting the constraints of the new system: Determining the database table structure of the new system based on the analysis results and the constraints of the new pension management system can ensure that the newly created table structure not only conforms to the characteristics of the original data, but also meets the requirements of the new system, avoiding data migration problems or system operation failures caused by failure to meet the constraints.
[0140] Ensure data consistency: Creating a new database table structure according to this process can maintain the consistency of the data structure to the greatest extent. The relationships and logic in the original data are reasonably reflected in the new table structure, which helps to ensure the integrity and accuracy of the data during the migration process and reduce the risk of data loss or errors.
[0141] Improve data migration efficiency: A clear analysis and creation process helps reduce uncertainty and errors during data migration, thereby improving the efficiency of data migration. The early creation of new table structures can make data migration work smoother, saving time and resources.
[0142] Enhanced system scalability: The rationally designed new database table structure facilitates future expansion of the system. The table structure that takes into account the constraints of the new system has better flexibility and scalability, and can better adapt to possible business changes and functional expansion requirements of the pension management system.
[0143] Reduce maintenance costs: Creating a database table structure that matches the original data structure and meets the requirements of the new system helps reduce system maintenance costs. Data consistency and accuracy reduce system failures and maintenance work caused by data problems, and improve system stability and reliability.
[0144] S108, migrating the data to be migrated of the multiple data modules to be migrated to the new pension management system, and storing the migrated data of the new pension management system to corresponding positions of the new database table structure.
[0145] In an embodiment of the present specification, the data to be migrated of the multiple data modules to be migrated can be evaluated first to obtain an evaluation result, wherein the evaluation result includes a migration amount evaluation result; if the migration amount evaluation result is that the migration amount of the data to be migrated is greater than an upper limit of a single migration, the number of migrations and the data module for each migration are set according to the upper limit of a single migration and the migration amount of the data to be migrated; finally, according to the number of migrations and the data module for each migration, the data to be migrated of the multiple data modules to be migrated are respectively migrated to the new pension management system, and after each migration of the corresponding data module, the migration data corresponding to the new pension management system is stored in the corresponding position of the new database table structure.
[0146] It should be noted that the embodiments of this specification with respect to the above content can be implemented through the following specific implementation schemes:
[0147] Evaluate the data to be migrated: Identify multiple data modules to be migrated and obtain the data to be migrated from these data modules. Count the total amount of data to be migrated and obtain the migration amount evaluation result.
[0148] Handling the situation where the migration amount is greater than the upper limit of a single migration: If the migration amount assessment result shows that the migration amount of data to be migrated is greater than the upper limit of a single migration, determine the upper limit of a single migration. Calculate the number of migrations based on the upper limit of a single migration and the migration amount of data to be migrated. Number of migrations = migration amount of data to be migrated / upper limit of a single migration, rounded up. Set the data modules for each migration according to certain rules. You can divide the data modules according to factors such as the size, importance, and relevance of the data modules to ensure that the amount of data migrated each time is within the upper limit of a single migration, while trying to ensure data integrity and availability.
[0149] Data migration starts according to the set migration times and the data modules for each migration. In each migration, the data to be migrated of the specified data module is extracted from the original system and transferred to the new pension management system. In the new pension management system, the received migration data is stored in the corresponding location according to the requirements of the new database table structure.
[0150] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0151] Ensure the feasibility of migration: Evaluate the data to be migrated, especially the migration volume, to understand the scale and difficulty of data migration in advance. When the migration volume is greater than the upper limit of a single migration, the feasibility of data migration under technical and resource constraints is ensured by reasonably setting the number of migrations and the data modules for each migration, avoiding migration failure or system failure caused by excessive migration volume.
[0152] Improve migration efficiency: Make reasonable plans based on the migration volume and the upper limit of a single migration, and migrate data in batches to avoid performance bottlenecks and time consumption that may be caused by processing a large amount of data at one time. This can more effectively utilize system resources, improve the overall efficiency of data migration, and shorten the migration time.
[0153] Ensure orderly data migration: Set the data module for each migration to make the data migration process more orderly and controllable. Data can be migrated in batches according to certain logic and priority to ensure that important data and key business modules are processed first and reduce the impact on business operations.
[0154] Enhance data accuracy and integrity: After each migration of the corresponding data module, the migration data corresponding to the new pension management system is stored in the corresponding position of the new database table structure, which can ensure the accuracy and integrity of the data during the migration process. Avoid data confusion or loss, and ensure the quality of data in the new system.
[0155] Flexible response to migration needs of different scales: This batch migration method is very flexible and can adapt to the data migration needs of pension management systems of different scales. Whether it is a small-scale system upgrade or a large-scale system transformation, efficient data migration can be achieved by reasonably adjusting the migration parameters.
[0156] Reduced risk and error rate: Breaking down large-scale data migration into multiple small batches reduces the risk of errors during the migration process. Even if problems occur in a batch of migrations, they can be more easily investigated and repaired, reducing the impact on the entire data migration process.
[0157] Furthermore, the evaluation result may also include a data module association evaluation result; when setting the number of migrations and the data module for each migration based on the single migration upper limit and the migration amount of the data to be migrated, the number of migrations and the data module for each migration may be set based on the data module association evaluation result, the single migration upper limit and the migration amount of the data to be migrated.
[0158] It should be noted that the embodiments of this specification with respect to the above content can be implemented through the following specific implementation schemes:
[0159] Evaluate the data to be migrated: Identify multiple data modules to be migrated and obtain the data to be migrated of these data modules. Count the total amount of data to be migrated to obtain the migration amount evaluation result. Analyze the association between data modules to obtain the data module association evaluation result.
[0160] Set the number of migrations and the data modules for each migration: If the migration volume assessment result shows that the amount of data to be migrated is greater than the upper limit of a single migration, determine the value of the upper limit of a single migration. Consider the data module association assessment result, the upper limit of a single migration, and the amount of data to be migrated to set the number of migrations and the data modules for each migration. For example, prioritize the migration of closely associated data modules, and ensure that the amount of data migrated each time is within the upper limit of a single migration. Reasonable division can be made based on factors such as the degree of association and the size of data modules.
[0161] Perform data migration: Start data migration according to the set migration times and the data modules for each migration. In each migration, the data to be migrated of the specified data module is extracted from the original system and transferred to the new pension management system. In the new pension management system, the received migration data is stored in the corresponding location according to the requirements of the new database table structure.
[0162] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0163] Optimize migration strategy: Consider the data module association evaluation results to set the number of migrations and the data modules for each migration, so that the migration strategy can be formulated more scientifically. According to the degree of association between data modules, the migration sequence can be reasonably arranged to avoid migration problems caused by the dependency between data modules, thereby improving the success rate and efficiency of migration.
[0164] Ensure data integrity and consistency: Through data module association assessment, you can better understand the relationship between various data modules. When setting the number of migrations and the data modules for each migration, you can ensure that the associated data modules can be migrated at the right time, thereby ensuring the integrity and consistency of the data in the new system and reducing the risk of data errors and inconsistencies.
[0165] Improve system stability: Migrate according to the association of data modules, which can reduce the impact on the new pension management system caused by the incoordination between data modules. It helps to maintain the stability of the system and reduce the occurrence of system failures and abnormal situations.
[0166] Enhanced migration flexibility: The migration plan is set by comprehensively considering the data module association evaluation results, the upper limit of a single migration, and the amount of data to be migrated, which increases the flexibility of migration. Dynamic adjustments can be made according to actual conditions to better adapt to different migration needs and scenarios.
[0167] Reduce risks: Fully considering the relationship between data modules can effectively reduce the risks caused by improper handling of data relationships during the migration process. It reduces the impact on the normal operation of the pension management system and ensures the continuity and stability of the business.
[0168] Furthermore, after storing the migration data of the new pension management system in the corresponding position of the new database table structure, the migration data of the new pension management system can be checked with the data to be migrated of the multiple data modules to be migrated, and the database table structure of the original pension management system can be checked with the new database table structure of the new pension management system; if the migration data of the new pension management system is consistent with the data to be migrated of the multiple data modules to be migrated, and the database table structure of the original pension management system is consistent with the new database table structure of the new pension management system, the upgrade of the original pension management system to the new pension management system is completed.
[0169] It should be noted that the embodiments of this specification with respect to the above content can be implemented through the following specific implementation schemes:
[0170] Data verification after data migration: After the migration data of the new pension management system is stored in the corresponding position of the new database table structure, the data verification work begins. Obtain the data to be migrated from multiple data modules to be migrated from the original pension management system. At the same time, obtain the database table structure information of the original pension management system. Compare the migration data of the new pension management system with the data to be migrated from the original system field by field and record by record to ensure data consistency. Compare the database table structure of the original pension management system with the new database table structure of the new pension management system, including verification of table names, field names, data types, constraints, etc.
[0171] Consistency judgment: Based on the results of data verification, judge whether the migration data of the new pension management system is consistent with the data to be migrated of multiple data modules to be migrated. At the same time, judge whether the database table structure of the original pension management system is consistent with the new database table structure of the new pension management system.
[0172] Complete system upgrade: If the migration data of the new pension management system is consistent with the data to be migrated of multiple data modules to be migrated, and the database table structure of the original pension management system is consistent with the new database table structure of the new pension management system, then the original pension management system is deemed to have been successfully upgraded to the new pension management system. Record and summarize the entire upgrade process, including the data migration process, data verification results, problems encountered and solutions, etc., for subsequent inquiries and references.
[0173] Handling of inconsistencies: If it is found that the migration data of the new pension management system is inconsistent with the data to be migrated of multiple data modules to be migrated: record the inconsistent data content and location. Analyze the cause of the inconsistency, which may be data transmission errors, data conversion problems or other reasons. Take appropriate solutions according to the cause, such as retransmitting data, correcting data conversion rules, etc. Check the corrected data again to ensure consistency. If there is an inconsistency between the database table structure of the original pension management system and the new database table structure of the new pension management system: record the inconsistent table structure information. Check whether the design of the new database table structure meets the requirements, and whether there are misunderstandings or errors in the original database table structure. Adjust the new database table structure or modify the understanding of the original system according to the actual situation to ensure consistency between the two.
[0174] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0175] Ensure data accuracy: By checking the migration data of the new pension management system with the data to be migrated from multiple data modules to be migrated, it is possible to promptly detect whether there are errors or omissions in the data during the migration process, thereby ensuring the accuracy and completeness of the data migrated to the new system.
[0176] Ensure system consistency: Check the database table structure of the original pension management system with the new database table structure of the new pension management system to ensure that the database structure of the new system is consistent with the design of the original system, avoiding data storage and query problems caused by inconsistent structures.
[0177] Improve system reliability: Through double checking of data and table structure, the risk of system failure after upgrade is reduced, and the reliability and stability of the new pension management system is improved, enabling it to better serve users.
[0178] Enhance user trust: Accurate data migration and system upgrades can enhance user trust in the new pension management system. Users can use the new system with confidence to perform pension management-related operations, which improves user satisfaction.
[0179] Convenient for subsequent maintenance and expansion: Consistent data and table structure facilitates subsequent system maintenance and function expansion. Developers and maintainers can more easily understand and process data in the system, reducing maintenance costs and development difficulties.
[0180] Ensure successful system upgrade: The upgrade from the original pension management system to the new pension management system is completed only after the migration data and database table structure are verified to be correct, ensuring the quality and effect of the system upgrade and avoiding upgrade failure or subsequent problems caused by insufficient verification.
[0181] Furthermore, if there are unfinished pension businesses in the original pension management system, the unfinished pension businesses in the original pension management system are sorted out to obtain sorting results, and the sorting results include the business type of the unfinished pension business, the relevant data involved, and the current node in the business process; according to the sorting results, a business transfer plan is made for the unfinished pension business, and the business transfer plan includes the relevant processing flow of the unfinished pension business in the new pension management system; according to the business transfer plan, the unfinished pension business is started in the new pension management system.
[0182] It should be noted that the embodiments of this specification with respect to the above content can be implemented through the following specific implementation schemes:
[0183] Sort out unfinished pension business: Conduct a comprehensive check on the original pension management system and screen out all unfinished pension business. For each unfinished pension business, record in detail its business type, related data involved (such as insured person information, payment records, benefit calculation parameters, etc.) and the current node in the business process (such as business under review, waiting for funds to arrive, etc.).
[0184] Develop business transfer plan: Based on the results of the review, analyze the characteristics and needs of each unfinished pension business. Combined with the functions and processes of the new pension management system, develop relevant processing procedures in the new system for each unfinished pension business. This may include creating corresponding business records in the new system, importing relevant data, setting processing steps and responsible persons, etc.
[0185] Implement business transfer: According to the business transfer plan, export the relevant data of the unfinished pension business from the original system, and carry out necessary sorting and conversion to meet the requirements of the new pension management system. In the new pension management system, create corresponding business records according to the plan, and import the sorted data into the new system. According to the planned processing flow, start the unfinished pension business in the new pension management system to ensure that the business can continue smoothly in the new system.
[0186] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0187] Ensure business continuity: Sort out and plan the unfinished pension business in the original pension management system to ensure that these businesses can continue in the new pension management system, avoid business interruption due to system replacement, and ensure the continuity of pension business.
[0188] Improve business processing efficiency: Clarifying the business type, relevant data and current nodes of unfinished pension business will help to quickly formulate a reasonable business transfer plan, reduce the time to re-familiarize and process these businesses in the new system, and improve business processing efficiency.
[0189] Reduce business risks: By sorting out the status of unfinished business, possible problems and risks can be discovered in a timely manner, and they can be considered and resolved in the business transfer plan, reducing the possibility of errors or disputes during the business transfer process.
[0190] Ensure data consistency: Sort out the relevant data involved in the unfinished business and process it in the new system according to the plan, ensuring the consistency and coherence of the data and avoiding data loss or inconsistency.
[0191] Promote smooth system transition: Proper handling of unfinished business in the original system will help the smooth promotion and application of the new pension management system, achieve a smooth transition between the old and new systems, and reduce the negative impact of system switching on business operations.
[0192] Enhance system adaptability: Develop corresponding processing procedures based on the characteristics of unfinished business, so that the new pension management system can better adapt to actual business needs and improve the flexibility and adaptability of the system.
[0193] Furthermore, the embodiments of the present specification may also mark the migrated data in the new pension management system according to the unfinished pension business, so as to distinguish between completed and unfinished business-related data.
[0194] It should be noted that the embodiments of this specification with respect to the above content can be implemented through the following specific implementation schemes:
[0195] Data identification preparation: Determine the method used to identify the unfinished pension business data in the new pension management system, such as setting a specific field or tag. Ensure that the new pension management system has the function and authority to perform data identification.
[0196] Filter unfinished business data: Get the unfinished pension business list from the original pension management system. Based on the list, filter out the corresponding migrated data in the new pension management system.
[0197] Data identification: The relevant data of the screened unfinished pension business will be marked in the new pension management system according to the predetermined identification method. Ensure the accuracy and consistency of the identification to avoid mis-labeling or missing labels.
[0198] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0199] Improve data management efficiency: By identifying the data related to unfinished pension business in the migrated data, staff can quickly and accurately identify and distinguish the data of completed and unfinished business, thereby improving the efficiency and accuracy of data management.
[0200] Facilitates business tracking and processing: After marking the data related to unfinished business, it is convenient for staff to track and process these businesses, ensuring that unfinished pension business can receive timely attention and resolution to avoid omissions or delays.
[0201] Reduce the risk of errors: Clearly distinguishing between data on completed and uncompleted business helps reduce errors caused by data confusion and reduces the risk of errors in business processing.
[0202] It should be noted that the embodiments of this specification relate to a computer technology for data extraction, conversion, and loading, which provides a tool for the system to realize data extraction and migration between different types of databases through simple system library configuration.
[0203] The implementation of this tool aims to provide a set of standard data migration tools and ideas, so that data migration can be completed after simple configuration, without the need to write and process the front-end page + back-end logic. This simplifies the development process. When the data migration strategy changes and needs to be adjusted, added, or deleted, the configuration can be adjusted flexibly, efficiently, and dynamically, and it will take effect directly. This tool has the following features:
[0204] 1. Realized data migration between different types of databases.
[0205] 2. Realized data migration between database tables with different structures in the new and old databases.
[0206] 3. Data migration is visualized, modularized, and multi-threaded.
[0207] 4. Support module breakpoint resume.
[0208] 5. Records key information during the migration process: start time, end time, status, data volume, etc.
[0209] 6. Implemented data verification of migrated data.
[0210] The present invention has the characteristics of full process automation, high efficiency, precision, etc., and has a good value for popularization and application. The updating and replacement of the system database involves data migration work.
[0211] In the traditional mode, first, the data of the old system needs to be extracted and processed into files, and then the new system imports the files. When the amount of data exceeds 100 million, the file size is large and the reading efficiency is low. Second, all database tables of the old system need to be synchronized to the same database type as the new system, and then data migration between the same database types is performed. The new database needs to have synchronization function, and there will be problems with data type conversion. Third, choosing the existing migration tools on the market involves copyright and cost issues. It is not conducive to project management and cost control.
[0212] The function of the present invention is to provide a data migration service tool to solve the above-mentioned problems.
[0213] 1. The initialization configuration is as follows:
[0214] 1) Configure the data module that needs to be migrated in the database.
[0215] 2) Configure all database tables under the specific data module in the database.
[0216] 3) Configure the verification script in the database.
[0217] 2. The supported scenarios are as follows:
[0218] 1) Multi-threaded processing: supports data migration between multiple databases.
[0219] 2) Multi-threaded processing: supports data migration of multiple data modules.
[0220] 3) Support module breakpoint resume.
[0221] 4) Support data re-migration of the entire module.
[0222] 5) Records the start time, end time, status, and data volume of all library tables in the entire module.
[0223] 6) Records the start time, end time and status of all library table checks in the entire module.
[0224] 3. Check the specific operation method:
[0225] 1) Select a specific module and a pop-up window will appear to view the specific table migration status.
[0226] 2) After data migration, from a technical perspective, five layers of data verification rules are required to verify the data’s basicness and integrity. They mainly include the following:
[0227] a) Check the migration data volume
[0228] i. Check the total number of migrations and migration-in tables, the number of records migrated in each table, the number of tables and records involved in data splitting or merging, and ensure consistency in the number of data migrated out.
[0229] b) Business data layer verification
[0230] i. Comprehensively check the field information of the migrated business tables, especially important business tables such as business operations and customer data, which require closer checking.
[0231] c) Account and asset level verification
[0232] i. Strengthen the verification of account funds and investment transaction data.
[0233] d) In-transit business level verification
[0234] i. During the migration, the small amount of in-transit business that cannot be completed in the old system will be checked to ensure that the business processing can be completed in the new system to ensure business continuity.
[0235] e) System logic check
[0236] i. After the data migration is completed, the new system’s own data structure, data relationship, dictionary conversion, asset general ledger and other logical relationships are further blended to ensure the consistency of the data structure logic.
[0237] Figure 2 A schematic structural diagram of a data migration device for a pension management system provided in one or more embodiments of this specification includes: a first acquisition unit 202 , a second acquisition unit 204 , a creation unit 206 and a migration unit 208 .
[0238] A first acquisition unit 202, when the original pension management system is upgraded to the new pension management system, acquires a plurality of data modules to be migrated in the original pension management system, wherein the data modules are data sets of a plurality of preset business types;
[0239] A second acquiring unit 204 is configured to acquire a database table structure of the plurality of data modules to be migrated and data to be migrated of the plurality of data modules to be migrated, wherein the database table structure includes data information of corresponding data modules;
[0240] A creation unit 206, creating a corresponding new database table structure in the new pension management system according to the database table structure of the multiple data modules to be migrated;
[0241] The migration unit 208 migrates the to-be-migrated data of the multiple data modules to be migrated to the new pension management system, and stores the migrated data of the new pension management system to a corresponding position of the new database table structure.
[0242] Figure 3 A schematic diagram of a data migration device for a pension management system provided in one or more embodiments of this specification includes:
[0243] at least one processor; and,
[0244] a memory communicatively connected to the at least one processor; wherein,
[0245] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0246] When the original pension management system is upgraded to the new pension management system, a plurality of data modules to be migrated in the original pension management system are obtained, wherein the data modules are data sets of a plurality of preset business types;
[0247] Acquire a database table structure of the plurality of data modules to be migrated and the data to be migrated of the plurality of data modules to be migrated, wherein the database table structure includes data information of corresponding data modules;
[0248] According to the database table structures of the multiple data modules to be migrated, creating a corresponding new database table structure in the new pension management system;
[0249] The data to be migrated of the multiple data modules to be migrated are migrated to the new pension management system, and the migrated data of the new pension management system are stored in corresponding positions of the new database table structure.
[0250] One or more embodiments of this specification provide a non-volatile computer storage medium storing computer executable instructions, which can achieve the following when executed by a computer:
[0251] When the original pension management system is upgraded to the new pension management system, a plurality of data modules to be migrated in the original pension management system are obtained, wherein the data modules are data sets of a plurality of preset business types;
[0252] Acquire a database table structure of the plurality of data modules to be migrated and the data to be migrated of the plurality of data modules to be migrated, wherein the database table structure includes data information of corresponding data modules;
[0253] According to the database table structures of the multiple data modules to be migrated, creating a corresponding new database table structure in the new pension management system;
[0254] The data to be migrated of the multiple data modules to be migrated are migrated to the new pension management system, and the migrated data of the new pension management system are stored in corresponding positions of the new database table structure.
[0255] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
Claims
1. A data migration method for a pension management system, characterized in that: The method comprises: When the original pension management system is upgraded to the new pension management system, a plurality of data modules to be migrated in the original pension management system are obtained, wherein the data modules are data sets of a plurality of preset business types; Acquire a database table structure of the plurality of data modules to be migrated and the data to be migrated of the plurality of data modules to be migrated, wherein the database table structure includes data information of corresponding data modules; According to the database table structures of the multiple data modules to be migrated, creating a corresponding new database table structure in the new pension management system; The data to be migrated of the multiple data modules to be migrated are migrated to the new pension management system, and the migrated data of the new pension management system are stored in corresponding positions of the new database table structure.
2. The method according to claim 1, characterized in that The step of creating a corresponding new database table structure in the new pension management system according to the database table structure of the multiple data modules to be migrated includes: Analyze the database table structure of multiple data modules to be migrated in the original pension management system to obtain analysis results, wherein the database table structure includes table name, field name and data type; Determine the database table structure of the new pension management system according to the analysis results and the constraints of the new pension management system; According to the database table structure of the new pension management system, a corresponding new database table structure is created in the new pension management system.
3. The method according to claim 1, characterized in that The step of migrating the data to be migrated of the multiple data modules to be migrated to the new pension management system, and storing the migrated data of the new pension management system to corresponding positions of the new database table structure includes: Evaluating the data to be migrated of the multiple data modules to be migrated to obtain evaluation results, wherein the evaluation results include migration amount evaluation results; If the migration amount assessment result is that the migration amount of the data to be migrated is greater than the upper limit of a single migration, the number of migrations and the data module for each migration are set according to the upper limit of a single migration and the migration amount of the data to be migrated; According to the number of migrations and the data modules of each migration, the data to be migrated of the multiple data modules to be migrated are migrated to the new pension management system respectively, and after each migration of the corresponding data module, the migration data corresponding to the new pension management system is stored in the corresponding position of the new database table structure.
4. The method according to claim 3, characterized in that: The evaluation result also includes a data module association evaluation result; the setting of the number of migrations and the data module for each migration according to the single migration upper limit and the migration amount of the data to be migrated includes: The number of migrations and the data module for each migration are set according to the data module association evaluation result, the single migration upper limit and the migration amount of the data to be migrated.
5. The method according to claim 1, characterized in that After storing the migration data of the new pension management system in the corresponding position of the new database table structure, the method further includes: Checking the migration data of the new pension management system with the data to be migrated of the multiple data modules to be migrated, and checking the database table structure of the original pension management system with the new database table structure of the new pension management system; If the migration data of the new pension management system is consistent with the data to be migrated of the multiple data modules to be migrated, and the database table structure of the original pension management system is consistent with the new database table structure of the new pension management system, the upgrade of the original pension management system to the new pension management system is completed.
6. The method according to claim 1, characterized in that The method further comprises: If there are unfinished pension businesses in the original pension management system, sort out the unfinished pension businesses in the original pension management system to obtain sorting results, wherein the sorting results include the business type of the unfinished pension business, the relevant data involved, and the current node in the business process; Performing business transfer planning for the unfinished pension business according to the combing results, wherein the business transfer planning includes relevant processing procedures for the unfinished pension business in the new pension management system; According to the business transfer plan, the unfinished pension business is started in the new pension management system.
7. The method according to claim 6, characterized in that The method further comprises: According to the unfinished pension business, the migrated data is marked in the new pension management system to distinguish between completed and unfinished business-related data.
8. A data migration device for a pension management system, characterized in that: include: A first acquisition unit, when the original pension management system is upgraded to the new pension management system, acquires a plurality of data modules to be migrated in the original pension management system, wherein the data modules are data sets of a plurality of preset business types; A second acquisition unit is configured to acquire a database table structure of the plurality of data modules to be migrated and data to be migrated of the plurality of data modules to be migrated, wherein the database table structure includes data information of corresponding data modules; A creation unit, which creates a corresponding new database table structure in the new pension management system according to the database table structure of the multiple data modules to be migrated; The migration unit migrates the to-be-migrated data of the multiple data modules to be migrated to the new pension management system, and stores the migrated data of the new pension management system to a corresponding position of the new database table structure.
9. A data migration device for a pension management system, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: When the original pension management system is upgraded to the new pension management system, a plurality of data modules to be migrated in the original pension management system are obtained, wherein the data modules are data sets of a plurality of preset business types; Acquire a database table structure of the plurality of data modules to be migrated and the data to be migrated of the plurality of data modules to be migrated, wherein the database table structure includes data information of corresponding data modules; According to the database table structures of the multiple data modules to be migrated, creating a corresponding new database table structure in the new pension management system; The data to be migrated of the multiple data modules to be migrated are migrated to the new pension management system, and the migrated data of the new pension management system are stored in corresponding positions of the new database table structure.
10. A non-volatile computer storage medium, characterized in that: Computer executable instructions are stored, and when the computer executable instructions are executed by a computer, the following can be achieved: When the original pension management system is upgraded to the new pension management system, a plurality of data modules to be migrated in the original pension management system are obtained, wherein the data modules are data sets of a plurality of preset business types; Acquire a database table structure of the plurality of data modules to be migrated and the data to be migrated of the plurality of data modules to be migrated, wherein the database table structure includes data information of corresponding data modules; According to the database table structures of the multiple data modules to be migrated, creating a corresponding new database table structure in the new pension management system; The data to be migrated of the multiple data modules to be migrated are migrated to the new pension management system, and the migrated data of the new pension management system are stored in corresponding positions of the new database table structure.
Citation Information
Patent Citations
Data migration method, data migration device, medium and electronic equipment
CN114185871A
Batch service processing method and device and batch service processing platform
CN114298830A
Resource migration method and device, electronic equipment and storage medium
CN115827193A
Database migration processing method and system
CN117349267A
Cross-database-type data migration method and device
CN117520309A
