Batch data processing method and system, medium and equipment
Through batch data processing methods, automated data extraction, cleaning and loading solve the time-consuming and labor-intensive problem of traditional data processing, improve data processing efficiency and accuracy, are suitable for massive data processing, and enhance the reliability and security of the system. .
Patent Information
- Application Number
- CN202410599325.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-08-23
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional data processing methods consume a lot of manpower and time, are error-prone, reduce data accuracy and efficiency, and are difficult to effectively process massive data.
Provides a batch data processing method. By receiving batch processing requirements, it obtains the extraction rules and format conversion principles of the data source and target database, performs data extraction, cleaning and format conversion, and finally loads it into the target database in batches, using the extraction conversion loading tool. Manage the entire process and automate it.
It improves the efficiency and accuracy of data processing, reduces labor costs, is suitable for processing massive data, and enhances the reliability and security of the system through exception handling and role authority management.
Smart Images

Figure CN118535626A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a batch data processing method, system, medium and equipment. Background Art
[0002] In the data processing of enterprises, data collection, cleaning and conversion are essential steps. The traditional method requires a lot of manpower and time, and is prone to errors, which reduces the accuracy and efficiency of data. Therefore, a new data processing solution is needed to meet the requirements of processing massive data. Summary of the invention
[0003] In view of at least one of the above technical problems, an embodiment of the present invention provides a batch data processing method and system, medium, and device.
[0004] According to a first aspect, a batch data processing method provided by an embodiment of the present invention includes:
[0005] Receiving a batch processing requirement; wherein the batch processing requirement includes a data source identifier and a target database identifier;
[0006] According to the data source identifier, obtaining a data extraction rule corresponding to the data source;
[0007] According to the target database identifier, obtaining a format conversion principle corresponding to the target database;
[0008] Extracting data from a data source corresponding to the data source identifier according to the data extraction rule to obtain original extracted data;
[0009] Performing data cleaning on the original extracted data to obtain cleaned extracted data;
[0010] According to the format conversion principle, the cleaned extracted data is format converted to obtain extracted data in a target format; wherein the target format is a format that meets the requirements of the target database corresponding to the target database identifier;
[0011] The extracted data in the target format is loaded in batches into the target database corresponding to the target database identifier.
[0012] In one embodiment, extracting data from a data source corresponding to the data source identifier according to the data extraction rule to obtain original extracted data includes:
[0013] If the data extraction rule includes an extraction method, the data extraction operation is performed according to the extraction method; wherein the extraction method is a method of extracting from a database, a method of extracting from a representational state transfer application program interface, or a method of extracting from a log file;
[0014] If the data extraction rule includes an incremental extraction strategy, the incremental data in the data source is extracted through a timestamp or an incremental tag;
[0015] The data extraction process is detected through an exception handling mechanism. If it is detected that the data source is unavailable or the extraction fails, a notification message of the extraction failure is pushed.
[0016] In one embodiment, the step of performing data cleaning on the original extracted data to obtain cleaned extracted data includes:
[0017] According to data quality rules, quality inspection and quality repair are performed on the original extracted data;
[0018] Display the status of quality inspection and quality repair on the front-end page in the form of a data quality monitoring dashboard;
[0019] De-duplicate the extracted data after quality inspection and quality repair.
[0020] In one embodiment, an extraction conversion loading tool is used to control and manage various processes in the method, and a data converter is defined by the extraction conversion loading tool. The data converter is used to execute the step of converting the format of the cleaned extracted data.
[0021] In one embodiment, the target database is configured with a dimension table and a fact table, wherein the dimension table is used to store various attribute information of the business data in the fact table, and the fact table is used to store the business data and the key value of the corresponding dimension table;
[0022] And / or, the target database stores the loaded different data by using a partition table, and automatically backs up and / or snapshots the loaded various data.
[0023] In one embodiment, the target database is configured with a role authority authorization module, an identity recognition and access management module, and a single identity authentication module, wherein:
[0024] The role authority authorization module is used to grant different authorities to different roles, so that access users with different roles have different access rights to the data stored in the target database;
[0025] The identity recognition and access management module is used to identify the identity of the access user and manage the access rights based on the role of the access user;
[0026] The single identity authentication module is used to authenticate the access user during identity recognition.
[0027] In one embodiment, the batch loading of the extracted data in the target format into the target database corresponding to the target database identifier includes:
[0028] If the target database is a fully managed cloud data warehouse Amazon Redshift, the extracted data in the target format is batch loaded into the target database based on a copy command of the fully managed cloud data warehouse Amazon Redshift.
[0029] According to a second aspect, an embodiment of the present invention provides a batch data processing device comprising:
[0030] A demand receiving module, used for receiving a batch processing demand; wherein the batch processing demand includes a data source identifier and a target database identifier;
[0031] A first acquisition module, used to acquire a data extraction rule corresponding to the data source according to the data source identifier;
[0032] A second acquisition module, configured to acquire a format conversion principle corresponding to the target database according to the target database identifier;
[0033] A data extraction module, configured to extract data from a data source corresponding to the data source identifier according to the data extraction rule to obtain original extracted data;
[0034] A data processing module, used for performing data cleaning on the original extracted data to obtain cleaned extracted data;
[0035] A data conversion module, used to perform format conversion on the cleaned extracted data according to the format conversion principle to obtain extracted data in a target format; wherein the target format is a format that meets the requirements of the target database corresponding to the target database identifier;
[0036] A data loading module is used to batch load the extracted data in the target format into a target database corresponding to the target database identifier.
[0037] According to a third aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to execute the method provided in the first aspect.
[0038] According to a fourth aspect, an embodiment of the present invention provides a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method provided in the first aspect is implemented.
[0039] The batch data processing method, device, medium, and equipment provided by the embodiments of the present invention, when receiving a batch processing demand, obtains the corresponding data extraction rule according to the data source identifier, obtains the corresponding format conversion principle according to the target database identifier, extracts data from the corresponding data source according to the data extraction rule to obtain the original extracted data, and then cleans the original extracted data to obtain the cleaned extracted data. Then, the format of the cleaned extracted data is converted according to the format conversion principle to obtain the extracted data in the target format, and the extracted data in the target format is batch loaded into the target database corresponding to the target database identifier. It can be seen that the method provided by the embodiments of the present invention can realize automatic extraction, conversion, and loading of data without consuming a lot of manpower and time, is not prone to errors, improves the accuracy and efficiency of data, and is suitable for processing massive data. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 Schematic diagram of a process of batch data processing according to an embodiment of the present invention;
[0041] Figure 2 FIG. 4 is a structural block diagram of a batch data processing device in one embodiment of the present invention. DETAILED DESCRIPTION
[0042] In a first aspect, an embodiment of the present invention provides a batch data processing method, see Figure 1 The method comprises the following steps S110 to S170:
[0043] S110, receiving a batch processing requirement; wherein the batch processing requirement includes a data source identifier and a target database identifier;
[0044] The data source identifier is a unique identifier of a data source, and there may be multiple data sources, such as a relational database. The target database identifier is a unique identifier of a target database.
[0045] S120, acquiring data extraction rules corresponding to the data source according to the data source identifier;
[0046] It is understandable that different data sources require different data extraction rules for data extraction. Therefore, after knowing the data source, it is necessary to obtain the corresponding data extraction rules.
[0047] Among them, data extraction rules can include extraction frequency, extraction fields, whether to remove sensitive information, etc. Of course, in addition to this, data extraction rules can also include extraction methods, incremental extraction strategies, etc.
[0048] S130, acquiring a format conversion principle corresponding to the target database according to the target database identifier;
[0049] Among them, different target databases store data in different formats, and therefore the format conversion principles are different. Therefore, after determining the target database, the format conversion principle of the target database is determined.
[0050] S140, extracting data from a data source corresponding to the data source identifier according to the data extraction rule to obtain original extracted data;
[0051] That is to say, data extraction operations are performed from the data source according to the data extraction rules to obtain the original extracted data.
[0052] In one embodiment, extracting data from the data source corresponding to the data source identifier according to the data extraction rule in S140 to obtain original extracted data may include:
[0053] S141. If the data extraction rule includes an extraction method, then perform a data extraction operation according to the extraction method; wherein the extraction method is a method of extracting from a database, a method of extracting from a representational state transfer application program interface, or a method of extracting from a log file;
[0054] S142: If the data extraction rule includes an incremental extraction strategy, extract incremental data from the data source through a timestamp or an incremental tag;
[0055] S143. The data extraction process is detected through an exception handling mechanism. If it is detected that the data source is unavailable or the extraction fails, a notification message of the extraction failure is pushed.
[0056] It can be seen that the data can be directly extracted from the database, or extracted from the Representational State Transfer API, or extracted from the log file. The Representational State Transfer API is REST.
[0057] It can be seen that we can use timestamps to identify which data is incremental data, and we can also use incremental tags to determine which data is incremental data, and then extract the incremental data instead of extracting all the data, which can greatly reduce the amount of extracted data.
[0058] It can be seen that the extraction process is monitored through the exception handling mechanism, and notification is given when there is a problem with the extraction, so as to prevent the occurrence of extraction anomalies without knowing it.
[0059] S150, performing data cleaning on the original extracted data to obtain cleaned extracted data;
[0060] That is, by performing data cleaning on the original extracted data, better quality data can be obtained.
[0061] In one embodiment, the step of performing data cleaning on the original extracted data to obtain cleaned extracted data in S150 may include:
[0062] S151. Performing quality inspection and quality repair on the original extracted data according to data quality rules;
[0063] S152. Display the status of quality inspection and quality repair on the front-end page in the form of a data quality monitoring dashboard;
[0064] S153, performing deduplication processing on the extracted data after quality inspection and quality repair.
[0065] That is to say, the quality of the original extracted data is tested through the pre-set data quality rules, and the data with quality problems is repaired. In addition, the results of the quality test and the quality repair are displayed on the front-end page in the form of a data quality monitoring dashboard, so that users can understand the quality and quality repair of the data in a timely manner. Finally, the extracted data after quality repair will be deduplicated to avoid duplicate data.
[0066] S160, performing format conversion on the cleaned extracted data according to the format conversion principle to obtain extracted data in a target format; wherein the target format is a format that meets the requirements of the target database corresponding to the target database identifier;
[0067] S170. Batch load the extracted data in the target format into the target database corresponding to the target database identifier.
[0068] That is to say, the cleaned extracted data is converted into a format to obtain the extracted data in the target format, which is also the format of the storage data of the target database. Then, the extracted data in the target format is batch loaded into the target database, thus realizing the whole process of data extraction, conversion and loading.
[0069] In one embodiment, an extraction conversion loading tool can be used to control and manage various processes in the method, and a data converter can be defined by the extraction conversion loading tool. The data converter is used to execute the step of converting the format of the cleaned extracted data.
[0070] For example, Apache NiFi is used as an extraction, transformation and loading tool, which can also be abbreviated as an ETL tool. Apache NiFi provides powerful data flow management and data conversion capabilities. In addition, Apache NiFi develops custom data converters to handle business-specific data transformation requirements. Deploying a cluster of Apache NiFi can achieve high availability and scalability.
[0071] In one embodiment, the target database is configured with a dimension table and a fact table, wherein the dimension table is used to store various attribute information of the business data in the fact table, and the fact table is used to store the business data and the key value of the corresponding dimension table.
[0072] The target database may be Amazon Redshift, which is suitable for large-scale data analysis.
[0073] In order to meet the reporting requirements of the business, the target database is designed with dimension tables and fact tables. The dimension tables store various attribute information of business data, such as the name, class, age and other attribute information of students. The fact tables store business data and the key values of the associated dimension tables. The business data can be the measurement data in the business process. By designing dimension tables and fact tables, statistical processing and other processing are facilitated.
[0074] In one embodiment, the target database stores different loaded data by using a partition table, and automatically backs up and / or snapshots the various loaded data.
[0075] It can be seen that the target database uses partition tables to store different loaded data, which can improve query performance. In addition, backing up or snapshotting the loaded data can ensure data availability and recovery.
[0076] In one embodiment, the target database may be configured with a role authority authorization module, an identity recognition and access management module, and a single identity authentication module, wherein:
[0077] The role authority authorization module is used to grant different authorities to different roles, so that access users with different roles have different access rights to the data stored in the target database;
[0078] The identity recognition and access management module is used to identify the identity of the access user and manage the access rights based on the role of the access user;
[0079] The single identity authentication module is used to authenticate the access user during identity recognition.
[0080] The roles include administrator, data analyst, data quality inspector, etc. Different roles need to be granted different permissions. The role permission authorization module manages the permissions of different roles.
[0081] Among them, the identity identification and access management module, for example, AWS Identity and Access Management, Identity and Access Management is abbreviated as IAM, which means Identity Identification and Access Management Module in Chinese. AWS IAM manages the access rights of Amazon resources, that is, it identifies the identity of the accessing user, thereby determining the corresponding role of the accessing user, and then manages the access rights based on the role of the accessing user.
[0082] Among them, the single authentication module, namely SSO, authenticates the accessing users, which can simplify user access and enhance security.
[0083] In one embodiment, the step of loading the extracted data in the target format in batches into the target database corresponding to the target database identifier in S170 may specifically include:
[0084] If the target database is a fully managed cloud data warehouse Amazon Redshift, the extracted data in the target format is batch loaded into the target database based on a copy command of the fully managed cloud data warehouse Amazon Redshift.
[0085] That is, Amazon Redshift's COPY command can perform efficient bulk loading. Moreover, you can also create a data loading job schedule to update the data warehouse regularly.
[0086] It can be seen that the embodiment of the present invention provides an efficient method for extracting, converting and loading data, which involves multiple parts such as data extraction principles, format conversion principles, target database design, role authority design, exception notification design, etc., and the management and control of the entire process is realized based on the extraction, conversion and loading tool.
[0087] It can be seen that the embodiments of the present invention can realize automatic extraction, conversion and loading of data, reduce labor costs, and improve data processing accuracy and efficiency.
[0088] The method provided by the embodiment of the present invention has the following effects:
[0089] (1) Efficient data processing: The method provided by the embodiments of the present invention can quickly and reliably extract, clean, convert and load data from data sources into data warehouses. This improves the speed of data processing and enables decision makers to obtain real-time or regular data reports more quickly.
[0090] (2) Improved data quality: Data cleaning helps improve data quality. By detecting and fixing data quality issues, data accuracy and consistency are ensured. This reduces the potential impact of data errors on business decisions.
[0091] (3) Maintainability is enhanced: The entire process is managed and controlled by the extraction, transformation and loading tool, which is easier to maintain and monitor. Administrators can more easily manage ETL jobs, monitor performance, and solve problems.
[0092] (4) Simplified role-based permission management: Since different roles are designed in the target database to correspond to permissions, it helps to simplify user permission management, so that only authorized users can access and operate the ETL system, thereby enhancing data security and compliance.
[0093] (5) Real-time notification: If any problems are found during the entire process, notifications can be pushed to relevant personnel, which helps to quickly respond to data processing problems and reduce potential data process interruption time.
[0094] (6) Business and data separation: The target database separates business logic from data processing, which improves maintainability and scalability. Business changes can be implemented more easily without affecting the data processing process.
[0095] In summary, the method provided by the embodiment of the present invention can realize automatic extraction, conversion and loading of data without consuming a lot of manpower and time, is less prone to errors, improves data accuracy and efficiency, and is suitable for processing massive data.
[0096] In a second aspect, an embodiment of the present invention provides a batch data processing device, see Figure 2 , the device 100 comprises:
[0097] The demand receiving module 110 is used to receive a batch processing demand; wherein the batch processing demand includes a data source identifier and a target database identifier;
[0098] A first acquisition module 120, configured to acquire a data extraction rule corresponding to the data source according to the data source identifier;
[0099] A second acquisition module 130, configured to acquire a format conversion principle corresponding to the target database according to the target database identifier;
[0100] A data extraction module 140 is used to extract data from the data source corresponding to the data source identifier according to the data extraction rule to obtain original extracted data;
[0101] The data processing module 150 is used to clean the original extracted data to obtain cleaned extracted data;
[0102] The data conversion module 160 is used to perform format conversion on the cleaned extracted data according to the format conversion principle to obtain the extracted data in a target format; wherein the target format is a format that meets the requirements of the target database corresponding to the target database identifier;
[0103] The data loading module 170 is used to batch load the extracted data in the target format into the target database corresponding to the target database identifier.
[0104] In one embodiment, the data extraction module includes:
[0105] A first extraction unit is used to: if the data extraction rule includes an extraction method, perform a data extraction operation according to the extraction method; wherein the extraction method is a method of extracting from a database, a method of extracting from a representational state transfer application program interface, or a method of extracting from a log file;
[0106] A second extraction unit is configured to: if the data extraction rule includes an incremental extraction strategy, extract incremental data from the data source through a timestamp or an incremental tag;
[0107] The exception handling unit is used to detect the data extraction process through the exception handling mechanism, and if it is detected that the data source is unavailable or the extraction fails, a notification message of the extraction failure is pushed.
[0108] In one embodiment, the data processing module includes:
[0109] A quality processing unit, used for performing quality detection and quality repair on the original extracted data according to data quality rules;
[0110] The quality display unit is used to display the quality inspection and quality repair status on the front-end page in the form of a data quality monitoring dashboard;
[0111] The data deduplication unit is used to perform deduplication processing on the extracted data after quality inspection and quality repair.
[0112] In one embodiment, an extraction, conversion and loading tool is used to control and manage each process in the method, and a data converter is defined by the extraction, conversion and loading tool. The data converter is used to control the data conversion module to execute the step of converting the format of the cleaned extracted data.
[0113] In one embodiment, the target database is configured with a dimension table and a fact table, wherein the dimension table is used to store various attribute information of the business data in the fact table, and the fact table is used to store the business data and the key value of the corresponding dimension table; and / or, the target database uses a partition table to store different loaded data, and automatically backs up and / or snapshots the various loaded data.
[0114] In one embodiment, the target database is configured with a role authority authorization module, an identity recognition and access management module, and a single identity authentication module, wherein:
[0115] The role authority authorization module is used to grant different authorities to different roles, so that access users with different roles have different access rights to the data stored in the target database;
[0116] The identity recognition and access management module is used to identify the identity of the access user and manage the access rights based on the role of the access user;
[0117] The single identity authentication module is used to authenticate the access user during identity recognition.
[0118] In one embodiment, the data loading module is specifically used to: if the target database is a fully managed cloud data warehouse Amazon Redshift, batch load the extracted data in the target format into the target database based on a copy command of the fully managed cloud data warehouse Amazon Redshift.
[0119] It is understandable that the explanation of the relevant contents, specific implementation methods, beneficial effects, examples, etc. in the system provided in the embodiment of the present invention can be found in the corresponding parts of the method provided in the first aspect, and will not be repeated here.
[0120] In a third aspect, an embodiment of the present invention provides a computer-readable medium, on which computer instructions are stored. When the computer instructions are executed by a processor, the processor executes the method provided in the first aspect.
[0121] Specifically, a system or device equipped with a storage medium can be provided, on which software program code that implements the functions of any of the above-mentioned embodiments is stored, and a computer (or CPU or MPU) of the system or device can read and execute the program code stored in the storage medium.
[0122] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
[0123] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.
[0124] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.
[0125] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.
[0126] It is understandable that the explanation, specific implementation methods, beneficial effects, examples, etc. of the relevant contents in the computer-readable medium provided in the embodiment of the present invention can be found in the corresponding parts of the method provided in the first aspect, and will not be repeated here.
[0127] In a fourth aspect, an embodiment of the present specification provides a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, it implements the method in any embodiment of the specification.
[0128] It is understandable that the explanation, specific implementation, beneficial effects, examples, etc. of the relevant contents in the computing device provided in the embodiment of the present invention can be found in the corresponding parts of the method provided in the first aspect, and will not be repeated here.
[0129] 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 embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0130] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the present invention can be implemented by hardware, software, widgets, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium.
[0131] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solution of the present invention should be included in the scope of protection of the present invention.
Claims
1. A batch data processing method, It is characterized in that include: Receiving a batch processing requirement; wherein the batch processing requirement includes a data source identifier and a target database identifier; According to the data source identifier, obtaining a data extraction rule corresponding to the data source; According to the target database identifier, obtaining a format conversion principle corresponding to the target database; Extracting data from a data source corresponding to the data source identifier according to the data extraction rule to obtain original extracted data; Performing data cleaning on the original extracted data to obtain cleaned extracted data; According to the format conversion principle, the cleaned extracted data is format converted to obtain extracted data in a target format; wherein the target format is a format that meets the requirements of the target database corresponding to the target database identifier; The extracted data in the target format is batch loaded into the target database corresponding to the target database identifier.
2. The method according to claim 1, It is characterized in that The step of extracting data from a data source corresponding to the data source identifier according to the data extraction rule to obtain original extracted data includes: If the data extraction rule includes an extraction method, the data extraction operation is performed according to the extraction method; wherein the extraction method is a method of extracting from a database, a method of extracting from a representational state transfer application program interface, or a method of extracting from a log file; If the data extraction rule includes an incremental extraction strategy, the incremental data in the data source is extracted through a timestamp or an incremental tag; The data extraction process is detected through an exception handling mechanism. If it is detected that the data source is unavailable or the extraction fails, a notification message of the extraction failure is pushed.
3. The method according to claim 1, It is characterized in that The step of performing data cleaning on the original extracted data to obtain cleaned extracted data includes: According to data quality rules, quality inspection and quality repair are performed on the original extracted data; Display the status of quality inspection and quality repair on the front-end page in the form of a data quality monitoring dashboard; De-duplicate the extracted data after quality inspection and quality repair.
4. The method according to claim 1, It is characterized in that The extraction conversion loading tool controls and manages each process in the method, and defines a data converter through the extraction conversion loading tool. The data converter is used to execute the step of converting the format of the cleaned extracted data.
5. The method according to claim 1, It is characterized in that The target database is configured with a dimension table and a fact table, wherein the dimension table is used to store various attribute information of the business data in the fact table, and the fact table is used to store the business data and the key value of the corresponding dimension table; And / or, the target database stores the loaded different data by using a partition table, and automatically backs up and / or snapshots the loaded various data.
6. The method according to claim 1, It is characterized in that The target database is configured with a role authority authorization module, an identity recognition and access management module, and a single identity authentication module, wherein: The role authority authorization module is used to grant different authorities to different roles, so that access users with different roles have different access rights to the data stored in the target database; The identity recognition and access management module is used to identify the identity of the access user and manage the access rights based on the role of the access user; The single identity authentication module is used to authenticate the access user during identity recognition.
7. The method according to claim 1, It is characterized in that The step of batch loading the extracted data in the target format into a target database corresponding to the target database identifier includes: If the target database is a fully managed cloud data warehouse Amazon Redshift, the extracted data in the target format is batch loaded into the target database based on a copy command of the fully managed cloud data warehouse Amazon Redshift.
8. A batch data processing device, It is characterized in that include: A demand receiving module, used for receiving a batch processing demand; wherein the batch processing demand includes a data source identifier and a target database identifier; A first acquisition module, used to acquire a data extraction rule corresponding to the data source according to the data source identifier; A second acquisition module, configured to acquire a format conversion principle corresponding to the target database according to the target database identifier; A data extraction module, configured to extract data from a data source corresponding to the data source identifier according to the data extraction rule to obtain original extracted data; A data processing module, used for performing data cleaning on the original extracted data to obtain cleaned extracted data; A data conversion module, used to perform format conversion on the cleaned extracted data according to the format conversion principle to obtain extracted data in a target format; wherein the target format is a format that meets the requirements of the target database corresponding to the target database identifier; A data loading module is used to batch load the extracted data in the target format into a target database corresponding to the target database identifier.
9. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the computer program is executed in a computer, the computer is caused to execute the method according to any one of claims 1 to 7.
10. A computing device, It is characterized in that The method comprises a memory and a processor, wherein the memory stores executable codes, and when the processor executes the executable codes, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Massive multi-source heterogeneous data ETL method and system supporting interface adaptation
CN108846076A
Cited By
NiFi-based order data delivery method and device, equipment and storage medium
CN120950498A
