An ERP system and a method for using the same in dual-active deployment in dual data centers

Through the active-active deployment method of dual data centers, the efficient migration of ERP system data from minicomputer servers to The dual effect of data accuracy.

CN113409015BInactive Publication Date: 2024-08-23浙江省能源集团有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110683648.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-21
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When the existing ERP system is migrated to an X86 server, there is a lack of efficient data migration methods, which requires professional intervention. The cost is high and data accuracy is difficult to guarantee.

Method used

Using the dual-data center active-active deployment method, the ERP system data is migrated to the Real-time monitoring and repair of data, distributed deployment based on R3LOAD tool.

Benefits of technology

It realizes data migration without the participation of professionals, significantly improves the efficiency of automated processing, saves labor costs, and ensures the accuracy of the data source to the destination database.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113409015B
    Figure CN113409015B
Patent Text Reader

Abstract

The present invention discloses an ERP system and a method for using the dual-active deployment in dual data centers. The ERP system includes at least a login system, a functional system and a data center system, wherein the login system is used to record and pre-store an account number given to a user of the ERP system, and transmit the user's account information to the data center system; at the same time, it is connected to the functional system, accesses and receives a demand request issued by the functional system, and receives the feedback result obtained by the demand request; the functional system is used to realize the tight integration of the people, production, supply and marketing of the users of the ERP system and the corresponding logistics, information flow, and management flow, and stores them in the data center system; the data center system is used for data migration and deployment of the ERP system to an X86 server. The system of the present invention monitors, repairs, and corrects in real time during the migration process, ensuring the accuracy of the data source to the destination database, and the method of use is simple.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to an ERP system and a method for using the system in dual-active deployment in dual data centers. Background Art

[0002] With the continuous improvement of x86 servers in terms of architecture, process technology, core number, etc., the performance is catching up with minicomputers, and the versatility and standardization are quite mature. They are more suitable for long-term enterprise applications and demand expansion, easier to maintain and update, and can meet high-load requirements on demand. The use of X86 servers has become a trend of future development. In addition, from the perspective of the market, Oracle has terminated the product line of Oracle Solaris operating system, and it is imperative for minicomputers to switch to X86. In addition, the purchase and maintenance prices of X86 servers are much lower than those of minicomputers for servers with the same configuration. From an economic point of view, X86 servers are a better choice.

[0003] Most enterprises have been using ERP systems for a long time. However, with the continuous improvement of minicomputers to X86 and the increasing advantages in data processing, in order to better maintain and operate ERP systems in the future, it is necessary to study the technology of migrating ERP systems from minicomputer servers to X86 servers, develop corresponding migration systems and deploy them in dual data centers. Summary of the invention

[0004] The object of the present invention is to provide an ERP system and a method for using the same in dual-active deployment in dual data centers to solve the problems existing in the prior art.

[0005] To achieve the above purpose, the technical solution adopted by the present invention is: to provide an ERP system, including a login system, a functional system and a data center system, wherein:

[0006] The login system is used to record and pre-store the account number of the user given to the ERP system, and transmit the user's account information to the data center system; at the same time, it is connected to the functional system, accesses and receives the demand request issued by the functional system, and receives the feedback result obtained from the demand request;

[0007] The functional system is used to realize the close integration of the human resources, finance, materials, production, supply and marketing and the corresponding logistics, information flow and management flow of the users of the ERP system, and store them in the data center system to realize resource optimization and sharing;

[0008] The data center system is used for data migration and deployment of the ERP system to the X86 server.

[0009] Preferably, in the present technical solution, the functional system at least includes a cost accounting subsystem, a procurement management subsystem, a sales management subsystem, a production management subsystem and a logistics management subsystem;

[0010] The cost accounting subsystem, the purchasing management subsystem, the sales management subsystem, the production management subsystem and the logistics management subsystem each independently complete the data information transmission with the login system and the data center system.

[0011] Preferably, in the present technical solution, the data center system includes at least a source database module, a source data model, a dual data deployment system and a destination database module;

[0012] The source data module is used to store and process the supplier list, customer information, inventory data, sales orders, purchase orders, financial accounts receivable and financial accounts payable data information of the ERP system;

[0013] The source data model is used to define the model of the data source, so as to facilitate the inspection and correction of the data source attributes when the data source is exported from the ERP system to ensure that the exported data source is correct;

[0014] The dual data deployment system is used to realize data migration between the ERP system and the X86 server.

[0015] Preferably, in the present technical solution, the source data model is implemented using an Oracle model.

[0016] Preferably, in the present technical solution, the dual data deployment system includes a data migration module, a dynamic migration module, a data management module and an auxiliary function module, and each module is connected by parallel information transmission.

[0017] Preferably, in the present technical solution, the data migration module is used to convert and migrate the relational database data in the ERP system to the data management module and the X86 server for user management.

[0018] Preferably, in the present technical solution, the dynamic migration module is used to monitor in real time the changes in data in the relational database when the data migration module is exporting and importing data, including the addition and modification of data, and can dynamically migrate the updated data in the relational database to the X86 server in real time.

[0019] Preferably, in the present technical solution, the data management module is based on a heterogeneous system to implement data copying between the source database module and the destination database module, data switching between the ERP system and the X86 server, and management of various files and logs.

[0020] Preferably, in the present technical solution, when performing system and data switching, the data management module adopts a distributed deployment method based on the R3LOAD tool to achieve matching of the data deployment solution with the user access behavior.

[0021] Another object of the present invention is to provide a method for using an ERP system in dual-active deployment in dual data centers, comprising the following steps:

[0022] S100, in a secure network environment, the ERP system and X86PC server are started and registered;

[0023] S200, the X86 server sends a request to the ERP system to obtain tasks at a predetermined time. The data center system of the ERP system performs a full database backup, creates export and import directories, reserves enough space according to the amount of data, and reasonably selects and generates task configuration information;

[0024] S300, based on the configuration information of the task, the source data model converts the number of tasks being executed and the data information according to the performance indicators of the X86 server, and sends it to the dual data deployment system;

[0025] S400, the dual data deployment system processes the migrated data based on the acquired task information, and imports the processed data into the destination database module;

[0026] S500, verifying the processed and imported data;

[0027] S510, if the verification is successful, the data source is switched to the database or storage of the X86 server to complete the data migration.

[0028] S520, if the verification fails, the failure information is recorded, and the failure information includes the number of failures and abnormal data; the abnormal data is repaired and verified until the verification succeeds, and the data is transferred to the database or storage of the X86 server to complete the data migration.

[0029] Compared with the prior art, the present invention has the following beneficial effects:

[0030] The present invention sets up a data center system in the ERP system and adopts a dual data deployment method, which can realize data migration from the ERP system to the X86 server based on data heterogeneity. Such data migration only requires office staff to handle, without the intervention of professionals, and the efficiency of program automation data processing increases geometrically with the amount of data commission, which can save a lot of labor costs for the company. In addition, this method is not only applicable to ERP data migration, but all similar data migration tasks can be processed in a similar way. The method of use is simple and fast, and real-time monitoring, repair, and correction are performed during the migration process to ensure the accuracy of the data source to the destination database. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is the framework diagram of the ERP system of the present invention;

[0032] Figure 2 A framework diagram of a data center system of the present invention;

[0033] Figure 3 The framework of the dual data deployment system of the present invention Figure 1 ;

[0034] Figure 4 The framework of the dual data deployment system of the present invention Figure 2 ;

[0035] Figure 5 The present invention is a flowchart of a method for using the active-active deployment of the ERP system in dual data centers. DETAILED DESCRIPTION

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

[0037] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; the same or similar concepts or processes may not be repeated in some embodiments.

[0038] See also Figure 1 , an ERP system of the present invention at least comprises a login system 100, a functional system 200 and a data center system 300, wherein,

[0039] The login system 100 is used to record and pre-store the account number given to the user of the ERP system, and transmit the user's account information to the data center system 300; at the same time, it is connected to the functional system 200, accesses and receives demand requests issued by the functional system 200, and receives feedback results obtained from the demand requests.

[0040] Functional system 200 is used to realize the close integration of human, financial, material, production, supply and marketing and corresponding logistics, information flow, management flow, etc. of users (such as enterprises) of ERP system, and store them in data center system to realize resource optimization and sharing. In the present invention, functional system 200 at least includes cost accounting subsystem 310, procurement management subsystem 320, sales management subsystem 330, production management subsystem 340 and logistics management subsystem 350. Each subsystem in functional system 200 independently completes the data information transmission with login system 100 and data center system 300. Among them, cost accounting subsystem 310 is used to compare the company's production cost accounting with actual cost, summarize the cost according to the number of completed orders and the number of on-time delivery, reflect the actual production cost of each product produced in different orders, and generate cost accounting logs or reports, which are transmitted to data center system 300 for storage. The purchasing management subsystem 320 is used to manage the bidding and tendering of the company's raw materials, purchase applications, warehousing of purchased raw materials, invoice registration, return and exchange of unqualified materials, etc., and generate a purchase record log or report and transmit it to the data center system 300 for storage. The sales management subsystem 330 is used to complete the sales order entry, sales order execution, sales price management, discount management, return and exchange management and sales settlement management in the ERP system, and generate sales transaction data information and store it in the data center system 300. The production management subsystem 340 is used to determine the main production plan of the company's production department based on the specific sales product quantity of each sales order. The production department determines and issues the production orders and production plans of each machine and employee according to the production capacity of each machine and the delivery date of the sales order, organizes production and other matters, and generates production transaction data information and stores it in the data center system 300.

[0041] The data center system 300 is used for data migration and deployment from the ERP system to the X86 server. In the present invention, as shown in 2, the data center system 300 includes at least a source database module 210, a source data model 220, a dual data deployment system 230 and a destination database module 240. Among them, the source data module 210 is used to store and process the supplier list, customer information, inventory data, sales orders, purchase orders, financial accounts receivable, financial accounts payable and other data information of the ERP system. The source data model 220 is used to define the model of the data source to facilitate the inspection and correction of the data source attributes when the data source is exported from the ERP system to ensure that the exported data source is correct; in this embodiment, the source data model 220 can be implemented using models such as the Oracle model. The dual data deployment system 230 is used to realize data migration between the ERP system and the X86 server.

[0042] Furthermore, in this embodiment, if Figure 3 and Figure 4 As shown, the dual data deployment system 230 includes at least a data migration module 231, a dynamic migration module 232, a data management module 233 and an auxiliary function module 234, and each module is connected by parallel information transmission.

[0043] Further, in this embodiment, the data migration module 231 is used to convert and migrate the relational database data in the ERP system to the data management module 233 and the server (e.g., an X86 server) for user management and use. More specifically, the management platform sends a data export request to the ERP system, the source database module 210 stops all services of the system, and backs up the export data source. The data migration module 231 creates an export and import directory, reserves enough data space according to the data type, selects a reasonable number of parallel processing and split tables, and then establishes an import strategy according to the data migration protocol between the SQLSERVER database and the WSACF framework, executes data import, and correctly configures the database-related parameters in the destination database module 240. When determining the import strategy, in order to improve the migration efficiency, it is preferred to select a bidirectional parallel import strategy based on the data security strategy and the migration protocol to export data from the source system while importing data on the target system. When configuring the relevant parameters in the destination database module, the adaptation setting can be performed based on the tool selected for parallel data import. For example, when the SWPM tool is selected to migrate data in parallel, the configuration includes the correct parameters with a JAVA operating environment.

[0044] Furthermore, in this embodiment, the dynamic migration module 232 is used to monitor in real time the changes in data in the relational database when the data migration module 231 is exporting and importing data, including the addition and modification of data, and can dynamically migrate the updated data in the relational database to the X86 server in real time.

[0045] Furthermore, in this embodiment, the data management module 233 implements data copying between the source database module 210 and the destination database module 240 and data switching between the ERP system and the X86 server, as well as management of various files and logs based on heterogeneous systems. Preferably, when performing system and data switching, the data management module 233 uses a distributed deployment method based on the R3LOAD tool to match the data deployment plan with the user access behavior, thereby improving the data system operation performance. Specifically, it is as follows:

[0046] In accordance with L col field length, the database is divided into N data sets. The file size stored in each data set is defined as F, assuming that the data file export rate is μ, and the export file stays in the system for a time T s It follows a random exponential distribution, and the time interval between import and export is Δt, e μΔt is the correct export rate (effectiveness) within the non-interval time Δt, then the data file export size function within time t It is expressed as shown in formula (1).

[0047]

[0048] The probability function P that the data set does not leave the ERP system within time t is t It is defined as shown in formula (2):

[0049] P t =Fe -μΔt (2)

[0050] In order to further optimize the number of processes and shorten the time for data export and import, the data set sum algorithm is used to monitor and judge data migration. Specifically, T 0 -T k (k=0,1,2,,,,,N) The file size function of the number of data sets transmitted is formula (3):

[0051]

[0052] The size of the sum is used to monitor and judge the modified data file, and then the size is compared with Fμ(T-Δt) to determine whether the data migration is complete. Specifically, it is compared with formula (3). When the file sizes are the same, it means that the data migration is complete, otherwise, the data migration is incomplete.

[0053] Furthermore, in this embodiment, the auxiliary function module 234 is used to provide extended function services for system upgrades. For example, the auxiliary function module 234 uses the SUM tool, and can include release upgrades of important release changes, system updates including EHP installations, application support packages, application Java patches, and correction of installed software information based on the SUM tool, thereby improving the overall performance and functions of the data center system 100.

[0054] Another improvement of the present invention is to provide a method for using an ERP system in dual-active deployment in dual data centers, which specifically includes the following steps:

[0055] S100, in a secure network environment, the ERP system and X86PC server are started and registered;

[0056] S200, the X86 server sends a request to the ERP system to obtain tasks at a predetermined time. The data center system of the ERP system performs a full database backup, creates export and import directories, reserves enough space according to the amount of data, and reasonably selects and generates task configuration information;

[0057] S300, based on the configuration information of the task, the source data model converts the number of tasks being executed and the data information according to the performance indicators of the X86 server, and sends it to the dual data deployment system;

[0058] S400, the dual data deployment system processes the migrated data based on the acquired task information, and imports the processed data into the destination database module;

[0059] S500, verifying the processed and imported data;

[0060] S510, if the verification is successful, the data source is switched to the database or storage of the X86 server to complete the data migration;

[0061] S520, if the verification fails, the failure information is recorded, and the failure information includes the number of failures and abnormal data; the abnormal data is repaired and verified until the verification succeeds, and the data is transferred to the database or storage of the X86 server to complete the data migration.

[0062] The specific process of repairing and verifying the abnormal data in step S520 includes the following steps:

[0063] S521, first recheck the data determined to be abnormal in the dual data deployment system. If the verification succeeds, the data source is directly imported from the ERP system to the database of the X86 server to complete the data migration. If the verification fails, the failure information is recorded and the failure information is recorded in the abnormal information table.

[0064] S521, obtain the data information that failed the verification from the abnormal information table, process the data in a positive order loop, generate a data format that is acceptable and compatible with the source database, such as Rowkey, convert it into the data format of HBase, and send it back to the source database, which will perform repair processing.

[0065] In summary, the present invention sets up a data center system in the ERP system and adopts a dual data deployment method, which can realize data migration from the ERP system to the X86 server based on data heterogeneity. Such data migration only needs office staff to handle it, without the intervention of professionals, and the efficiency of program automation data processing increases geometrically with the amount of data commission, which can save a lot of manpower costs for the company. In addition, this method is not only suitable for ERP data migration, as long as the parameter comparison table is clearly described, all similar data migration tasks can be processed similarly, the method of use is simple and fast, and real-time monitoring, repair, and correction are carried out during the migration process to ensure the accuracy of the data source to the destination database.

[0066] The component structures, connection relationships, working principles, etc. not described in this embodiment are all implemented using existing technologies and will not be repeated here.

[0067] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0068] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. An ERP system, characterized in that: Including login system, functional system and data center system, among which, The login system is used to record and pre-store the account number of the user given to the ERP system, and transmit the user's account information to the data center system; at the same time, it is connected to the functional system, accesses and receives the demand request issued by the functional system, and receives the feedback result obtained from the demand request; The functional system is used to realize the close integration of the human resources, finance, materials, production, supply and marketing and the corresponding logistics, information flow and management flow of the users of the ERP system, and store them in the data center system to realize resource optimization and sharing; The data center system is used for data migration and deployment of the ERP system to the X86 server; The data center system at least includes a source database module, a source data model, a dual data deployment system and a destination database module; The source database module is used to store and process the supplier list, customer information, inventory data, sales orders, purchase orders, financial accounts receivable and financial accounts payable data information of the ERP system; The source data model is used to define the model of the data source, so as to facilitate the inspection and correction of the data source attributes when the data source is exported from the ERP system to ensure that the exported data source is correct; The dual data deployment system is used to realize data migration between the ERP system and the X86 server; The dual data deployment system includes a data migration module, a dynamic migration module, a data management module and an auxiliary function module, and each module is connected by parallel information transmission; The data management module is based on heterogeneous systems to achieve data copying between the source database module and the destination database module, data switching between the ERP system and the X86 server, and management of various files and logs. When performing system and data switching, the data management module uses a distributed deployment method based on the R3LOAD tool to match the data deployment plan with user access behavior and improve the data system operation performance. The details are as follows: According to the length of the Lcol field, the database is divided into N data sets. The file size stored in each data set is defined as F. Assuming that the export rate of the data file is μ, the residence time of the exported file in the system is T. s It follows a random exponential distribution, and the time interval between import and export is Δt, e μΔt is the correct export rate within the non-interval time Δt, then the data file export size function within time t It is expressed as shown in formula (1); f Ts (t)=Fμe μΔt ,μ≥0,t≥0, (1) The probability function P that the data set does not leave the ERP system within time t is t It is defined as shown in formula (2): P t =Fe -μΔt (2) In order to further optimize the number of processes and shorten the data export and import time, the data set sum algorithm is used to monitor and judge the data migration, specifically T0-T k (k=0,1,2,,,,,N) The file size function of the number of data sets transmitted is formula (3): The size of the total is used to monitor and judge the modified data file, and then the size is compared with Fμ(T-Δt) to determine whether the data migration is complete. Specifically, it is compared with formula (3). When the file sizes are the same, it means that the data migration is complete, otherwise the data migration is incomplete.

2. The ERP system according to claim 1, characterized in that: The functional system at least includes a cost accounting subsystem, a procurement management subsystem, a sales management subsystem, a production management subsystem and a logistics management subsystem; The cost accounting subsystem, the purchasing management subsystem, the sales management subsystem, the production management subsystem and the logistics management subsystem each independently complete the data information transmission with the login system and the data center system.

3. The ERP system according to claim 1, characterized in that: The source data model is implemented using an Oracle model.

4. The ERP system according to claim 1, characterized in that: The data migration module is used to convert and migrate the relational database data in the ERP system to the data management module and the X86 server for user management.

5. The ERP system according to claim 1, characterized in that: The dynamic migration module is used to monitor in real time the changes of data in the relational database when the data migration module is exporting and importing data, including the addition and modification of data, and can dynamically migrate the updated data in the relational database to the X86 server in real time.

6. The ERP system according to claim 1, characterized in that: The data management module implements data copying between the source database module and the destination database module, data switching between the ERP system and the X86 server, and management of various files and logs based on heterogeneous systems.

7. The ERP system according to claim 6, characterized in that: When performing system and data switching, the data management module uses a distributed deployment method based on the R3LOAD tool to achieve matching of data deployment solutions with user access behaviors.

8. The method for using the active-active deployment of the ERP system in dual data centers according to any one of claims 1 to 7, characterized in that: The steps include: S100, in a secure network environment, the ERP system and X86PC server are started and registered; S200, the X86 server sends a request to the ERP system to obtain tasks at a predetermined time. The data center system of the ERP system performs a full database backup, creates export and import directories, reserves enough space according to the amount of data, and reasonably selects and generates task configuration information; S300, based on the configuration information of the task, the source data model converts the number of tasks being executed and the data information according to the performance indicators of the X86 server, and sends it to the dual data deployment system; S400, the dual data deployment system processes the migrated data based on the acquired task information, and imports the processed data into the destination database module; S500, verifying the processed and imported data; S510, if the verification is successful, the data source is switched to the database or storage of the X86 server to complete the data migration; S520, if the verification fails, the failure information is recorded, and the failure information includes the number of failures and abnormal data; the abnormal data is repaired and verified until the verification succeeds, and the data is transferred to the database or storage of the X86 server to complete the data migration.