A data integrating method and system based on a Java reflection technology
A data and technology technology, applied in the field of data docking method and system based on Java reflection technology, can solve the problems of inconvenient maintenance and inflexibility, and achieve the effect of avoiding low scalability and improving usability and efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] as attached figure 1As shown, the data docking method based on Java reflection technology of the present invention, the method is to establish the data field mapping relationship of the associated fields in two or more relatively independent systems, and save the mapping relationship in the database table, by writing SQL is used to query the mapping relationship of the data fields configured in the database to obtain the sending data field and the receiving data field, and then obtain the data type and value of a certain data field by querying the sending data set in the system, and through formatting conversion, data type Conversion and Java reflection technology, data processing on the persistent layer database object, to realize the transfer and conversion of data from one system to another system; specifically include the following steps:
[0041] S1. Configure and establish the mapping relationship of data fields between different systems in the database to form a ...
Embodiment 2
[0056] The data docking system based on Java reflection technology of the present invention, the system includes,
[0057] The mapping relationship module is used to establish the data field mapping relationship between two or more relatively independent systems in the database. When realizing multi-system data interaction, the data is automatically mapped according to the configuration, and there is no need to fix the mapping relationship in the program. The data fields used to establish the mapping relationship adopt elastic configuration, and the data mapping fields can be increased or decreased as needed without modifying the program. At the same time, the addition or deletion of data fields will take effect immediately without restarting the application server, which improves the usability and usage Efficiency, to ensure that the data presentation layer and data persistence layer objects can be quickly initialized; the mapping relationship module configures the mapping rel...
Embodiment 3
[0062] Taking system A and system B as an example, establish the mapping relationship table of the associated fields of system A and system B, query the mapping relationship configured in the database by writing SQL, get the sent data field and received data field, and then query the system A Send data set, so as to obtain the data type and value of a certain data field, and complete the transfer of data from system A to system B through format conversion, data type processing and reflection operations; the specific steps are as follows:
[0063] (1), as attached image 3 As shown, the mapping relationship between the data fields between system A and system B is established to form a data field mapping relationship table;
[0064] (2), as attached Figure 4 As shown, the format of the mapping field in the database is controlled, and the formatting tool for format conversion is established according to the actual situation, so as to write the format conversion module. The form...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


