Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Inactive Publication Date: 2019-05-07
SHANDONG INSPUR GENESOFT INFORMATION TECH CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical task of the present invention is to provide a data docking method and system based on Java reflection technology to solve how to perform relational mapping and reflective value transfer on fields participating in data docking between multiple systems, so as to improve the versatility and ease of use of the program and scalability, eliminating the problems of inflexibility and inconvenient maintenance in traditional methods

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A data integrating method and system based on a Java reflection technology
  • A data integrating method and system based on a Java reflection technology
  • A data integrating method and system based on a Java reflection technology

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a data integrating method and system based on a Java reflection technology, and belongs to the technical field of computers. The technical problem to be solved by the inventionis how to perform relation mapping and reflection value transmission on fields participating in data connection among a plurality of systems., improve the program versatility, the usability and the expansibility; The adopted technical scheme is as follows: the data connection method based on a Java reflection technology. comprises the following steps of: establishing a data field mapping relationof two or more relatively independent associated fields in a system; storing the mapping relation into a database table; inquiring A mapping relation of data fields configured in a database by compiling SQL; obtaining a sending data field and a receiving data field according, inquiring the sending data set in a system to obtain the data type and the value of a certain data field, and realizing data transfer and conversion through formatting conversion, data type conversion and Java reflection technologies. The invention also discloses a data docking system based on the Java reflection technology.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a data docking method and system based on Java reflection technology. Background technique [0002] The Java reflection mechanism is in the running state. For any entity class, you can know all the properties and methods of this class; for any object, you can call any of its methods and properties; this dynamic acquisition of information and dynamic call objects The function of the method is called the reflection mechanism of the java language. [0003] Java reflection (radiation) mechanism: "When the program is running, it is allowed to change the program structure or variable type. This language is called a dynamic language." From this point of view, Perl, Python, and Ruby are dynamic languages, while C++, Java, and C# are not dynamic languages. But JAVA has a very prominent dynamic related mechanism: Reflection, used in Java means that we can load, detect, and use classes ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/448G06F16/25
Inventor 杨鹏陈建史艳庆
Owner SHANDONG INSPUR GENESOFT INFORMATION TECH CO LTD