Method for realizing heterogeneous database data acquisition
A data collection and database technology, applied in structured data retrieval, database management systems, special data processing applications, etc., can solve problems such as time-consuming, labor-intensive, manpower maintenance, and incomplete consideration.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0097] Embodiments of the present invention provide a method for realizing heterogeneous database data acquisition, such as figure 1 shown, including:
[0098] Step 1: according to the basic information of each branch database, configure database information and trigger rules for each branch database;
[0099] Step 2: According to the database configuration information of each branch, select the database driver, and determine the data acquisition interface based on the database driver;
[0100] Step 3: Log in to the branch database according to the trigger rule, and use the data collection interface to collect data;
[0101] Step 4: Process the collected data and summarize it to the head office database.
[0102] In this embodiment, the database driver is essentially a driver program, which is used to realize the startup and various operations of the database.
[0103] In this embodiment, the trigger rule is used to wake up the branch database to provide a basis for subsequ...
Embodiment 2
[0106] On the basis of Embodiment 1, the embodiment of the present invention provides a method for realizing heterogeneous database data collection. Before step 1, it also includes: obtaining the basic information of each branch database, and the process is as follows:
[0107] Obtain the key value of each branch database, and determine the data type of the key value;
[0108] determining a preset parsing rule corresponding to the data type, using the preset parsing rule to parse the key value, and obtaining characteristic data corresponding to the key value;
[0109] Determine the port range of each branch database service based on the characteristic data, and determine the database type of each branch database according to the mapping relationship between the port range-database type;
[0110] Determine the feature extension rules of the database type, and use the feature extension rules to scan the databases of each branch company to obtain the basic information of the data...
Embodiment 3
[0119] Based on Embodiment 1, the embodiment of the present invention provides a method for realizing heterogeneous database data collection. In step 1, configure database information and trigger rules for each branch database according to the basic information of each branch database include:
[0120] Based on the basic information of each branch database, determine the configuration server and configuration information attributes;
[0121] Based on the configuration server, determining a configuration transmission start point and a configuration transmission end point;
[0122] Obtain a dynamic configuration process based on the configuration information attribute, and determine a configuration transmission process point;
[0123] Establishing a configuration path based on the predetermined configuration transmission starting point, configuration transmission process point, and configuration transmission end point;
[0124] Acquire database information from the configurati...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


