An interactive method and device for monitoring and reporting database

By automatically generating interaction modules, the source database data table is converted into the target database data table, which solves the problems of stability and fault tolerance when interacting between different types of databases, and achieves simple and efficient database interaction.

CN112632176BActive Publication Date: 2024-09-17AGRICULTURAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011637688.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-31
Publication Date
2024-09-17
Estimated Expiration
2040-12-31

AI Technical Summary

Technical Problem

In the regulatory reporting system, errors are prone to occur when direct interaction between different types of databases, resulting in reduced stability and fault tolerance, and a large amount of manpower and material resources are required to develop specific interactive programs.

Method used

By obtaining the types of the source database and the target database, the configuration information is obtained from the database interaction configuration library, the interactive module is automatically generated, the source data table is converted into the target data table, and loaded into the target database to ensure that the data table format matches.

Benefits of technology

It saves manpower and material resources, improves the stability and fault tolerance of the regulatory reporting system, and realizes simple interaction between different types of databases.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112632176B
    Figure CN112632176B
Patent Text Reader

Abstract

The present application discloses an interactive method and device for a regulatory reporting database, the method comprising: obtaining a first type of source database, a format of a source data table, and a second type of target database; obtaining database interaction configuration information of the first type and the second type from a database interaction configuration library; generating an interactive module according to the database interaction configuration information and the format of the source data table; converting the source data table in the source database into a target data table through the interactive module, and loading it into the target database; the format of the target data table matches the target database. It can be seen that the interactive method for a regulatory reporting database provided in the embodiment of the present application can automatically generate different interactive modules to complete the interaction according to different types of databases and different formats of data tables to be loaded in the database, saving manpower and material resources, and because the interactive modules in the present application are all automatically generated by the same standard, the stability and fault tolerance of the regulatory reporting system are less affected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power supplies, and in particular to an interactive method and device for a regulatory reporting database. Background Art

[0002] In the regulatory reporting system, the field definition formats of data tables stored in different types of databases are different. If data table files are directly loaded between different types of databases, errors will occur.

[0003] At present, for the interaction between two different types of databases, it is necessary to develop specific interactive programs or components based on the types of the two databases. When there are multiple types of databases, this method requires a lot of manpower and material resources. And because the interactive programs between different types of databases may be different, it is easy to cause the stability and fault tolerance of the regulatory reporting system to decrease. Therefore, how to provide a relatively simple and less impact on the stability and fault tolerance of the regulatory reporting system The interactive method of the regulatory reporting database has become a technical problem that urgently needs to be solved in this field. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides a method and device for evaluating the attenuation degree of a battery cell, which are used to evaluate the attenuation degree of a battery cell without affecting the normal operation of the device.

[0005] In order to achieve the above purpose, the technical solutions provided by the embodiments of the present application are as follows:

[0006] The present application provides an interactive method for a regulatory reporting database, the method comprising:

[0007] Obtaining a first type of a source database, a format of a source data table, and a second type of a target database;

[0008] Acquire database interaction configuration information of the first type and the second type from a database interaction configuration library;

[0009] Generate an interaction module according to the database interaction configuration information and the format of the source data table;

[0010] The source data table in the source database is converted into a target data table through the interaction module and loaded into the target database; the format of the target data table matches the target database.

[0011] Optionally, the interaction module includes a data export control and a data import control; generating the interaction module according to the database interaction configuration information and the format of the source data table includes:

[0012] Generate the data export control according to the format of the source data table and the conversion function from the data type of the source data table in the database interaction configuration information to the data type of the standard file; the conversion function is used to realize the conversion of the field granularity;

[0013] The data import control is generated according to the format of the target data table and the database interaction configuration information; the format of the target data table is determined by the format of the source data table.

[0014] Optionally, converting the source data table in the source database into a target data table through the interaction module includes:

[0015] Generate the standard file from the source data table in the source database through the data export control, and send the standard file to the data import control;

[0016] The data in the standard file is loaded into the target data table through the data import control.

[0017] Optionally, the data import control includes: a table creation control, a table loading control and a table conversion control;

[0018] The step of generating the data import control according to the format of the target data table and the database interaction configuration information includes:

[0019] Generate the table creation control according to the format of the source data table and the database interaction configuration information;

[0020] Generate the table loading control corresponding to the table creation control;

[0021] The table conversion control corresponding to the table creation control is generated.

[0022] Optionally, converting the source data table in the standard file into a target data table through the data import control includes:

[0023] An intermediate data table and the target data table are created by using the table creation control; the data type of the intermediate table matches the data type of the standard file;

[0024] Loading the data in the standard file into the intermediate data table through the table loading control;

[0025] The intermediate data table is loaded into the target data table through the table conversion control.

[0026] The embodiment of the present application also provides an interactive device for a regulatory reporting database, the device comprising:

[0027] A determination module, used to obtain a first type of a source database, a format of a source data table, and a second type of a target database;

[0028] An information acquisition module, used to acquire the database interaction configuration information of the first type and the second type from a database interaction configuration library;

[0029] A generating module, used for generating an interaction module according to the database interaction configuration information and the format of the source data table;

[0030] A loading module is used to convert the source data table in the source database into a target data table through the interaction module, and load the target data table into the target database; the format of the target data table matches the target database.

[0031] Optionally, the interaction module includes a data export control and a data import control; the generation module includes:

[0032] An export control generation module, used to generate the data export control according to the format of the source data table and the conversion function from the data type of the source data table in the database interaction configuration information to the standard file data type; the conversion function is used to realize the conversion of field granularity;

[0033] The import control generation module is used to generate the data import control according to the format of the target data table and the database interaction configuration information; the format of the target data table is determined by the format of the source data table.

[0034] Optionally, the loading module includes:

[0035] A standard file generation module, used for generating the standard file from the source data table in the source database through the data export control, and sending the standard file to the data import control;

[0036] The standard file loading module is used to load the data in the standard file into the target data table through the data import control.

[0037] Optionally, the data import control includes: a table creation control, a table loading control and a table conversion control;

[0038] The import control generation module is specifically used for:

[0039] Generate the table creation control according to the format of the source data table and the database interaction configuration information;

[0040] Generate the table loading control corresponding to the table creation control;

[0041] The table conversion control corresponding to the table creation control is generated.

[0042] Optionally, the standard file loading module is specifically used to:

[0043] An intermediate data table and the target data table are created by using the table creation control; the data type of the intermediate table matches the data type of the standard file;

[0044] Loading the data in the standard file into the intermediate data table through the table loading control;

[0045] The intermediate data table is loaded into the target data table through the table conversion control.

[0046] It can be seen from the above technical scheme that the present application has the following beneficial effects: the embodiment of the present application provides an interactive method and device for a regulatory reporting database, the method comprising: obtaining a first type of source database, a format of a source data table and a second type of target database; obtaining database interaction configuration information of the first type and the second type from a database interaction configuration library; generating an interactive module according to the database interaction configuration information and the format of the source data table; through the interactive module, converting the source data table in the source database into a target data table and loading it into the target database; the format of the target data table matches the target database.

[0047] It can be seen from this that the method provided by the present application obtains the configuration information of these two types of databases from the database interaction configuration library by obtaining the type of the source database, the type of the source data table to be loaded in the source database, and the type of the target database. Then, a specific interaction module is automatically generated according to the configuration information and the type of the source data table, so that the data table in the source database is loaded in the target database to complete the interaction between the databases. In this way, the interaction method of the supervision and reporting database provided by the embodiment of the present application can automatically generate different interaction modules to complete the interaction according to different types of databases and different formats of data tables to be loaded in the database, saving manpower and material resources, and because the interaction modules in the present application are all automatically generated by the same standard, the stability and fault tolerance of the supervision and reporting system are less affected. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0049] Figure 1A flowchart of an interactive method for a regulatory reporting database provided in an embodiment of the present application;

[0050] Figure 2 A schematic flow chart of a method for generating and applying an interactive module provided in an embodiment of the present application;

[0051] Figure 3 A schematic diagram of a method flow for generating and applying a data import control provided in an embodiment of the present application;

[0052] Figure 4 A schematic diagram of the structure of an interactive device for a regulatory reporting database provided in an embodiment of the present application. DETAILED DESCRIPTION

[0053] In order to help better understand the solution provided by the embodiments of the present application, before introducing the method provided by the embodiments of the present application, the application scenario of the solution of the embodiments of the present application is first introduced.

[0054] In the regulatory reporting system, the field definition formats of data tables stored in different types of databases are different. If data table files are directly loaded between different types of databases, errors will occur.

[0055] At present, for the interaction between two different types of databases, it is necessary to develop specific interactive programs or components based on the types of the two databases. When there are multiple types of databases, this method requires a lot of manpower and material resources. And because the interactive programs between different types of databases may be different, it is easy to cause the stability and fault tolerance of the regulatory reporting system to decrease. Therefore, how to provide a relatively simple and less impact on the stability and fault tolerance of the regulatory reporting system The interactive method of the regulatory reporting database has become a technical problem that urgently needs to be solved in this field.

[0056] In order to solve the above-mentioned technical problems, an embodiment of the present application provides an interactive method and device for a regulatory reporting database, the method comprising: obtaining a first type of a source database, a format of a source data table and a second type of a target database; obtaining database interaction configuration information of the first type and the second type from a database interaction configuration library; generating an interactive module according to the database interaction configuration information and the format of the source data table; through the interactive module, converting the source data table in the source database into a target data table and loading it into the target database; the format of the target data table matches the target database.

[0057] It can be seen from this that the method provided by the present application obtains the configuration information of these two types of databases from the database interaction configuration library by obtaining the type of the source database, the type of the source data table to be loaded in the source database, and the type of the target database. Then, a specific interaction module is automatically generated according to the configuration information and the type of the source data table, so that the data table in the source database is loaded in the target database to complete the interaction between the databases. In this way, the interaction method of the supervision and reporting database provided by the embodiment of the present application can automatically generate different interaction modules to complete the interaction according to different types of databases and different formats of data tables to be loaded in the database, saving manpower and material resources, and because the interaction modules in the present application are all automatically generated by the same standard, the stability and fault tolerance of the supervision and reporting system are less affected.

[0058] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0059] See also Figure 1 , which is a flow chart of an interactive method for monitoring and reporting databases provided in an embodiment of the present application. Figure 1 As shown, the interactive method of the regulatory reporting database provided in the embodiment of the present application includes the following steps S101 to S104:

[0060] S101: Obtain a first type of a source database, a format of a source data table, and a second type of a target database.

[0061] S102: Acquire first-type and second-type database interaction configuration information from a database interaction configuration library.

[0062] S103: Generate an interaction module according to the database interaction configuration information and the format of the source data table.

[0063] S104: converting the source data table in the source database into a target data table through the interaction module, and loading the target data table into the target database; the format of the target data table matches the target database.

[0064] It should be noted that in the embodiments of the present application, there are multiple types of databases. For example, database types such as hive, gbase, oracle, and sybase. Among them, different database types can load different data table formats. It should be noted that the database interaction configuration library in the embodiments of the present application contains interaction configuration information corresponding to multiple database types. The method provided in the embodiments of the present application can obtain the database interaction configuration information of the type from the database interaction configuration library after obtaining the type of source data and the type of target data.

[0065] It should be noted that, in the embodiment of the present application, the target data table is a data table that can be directly loaded into the target database, that is, the format of the target data table matches the target database.

[0066] The specific implementation of step S103 and step S104 in the embodiment of the present application is described in detail below:

[0067] See also Figure 2 , which is a flow chart of a method for generating and applying an interactive module provided in an embodiment of the present application. Figure 2 As shown, the method for generating an interactive module and applying an interactive module provided in the embodiment of the present application includes two parts: generating an interactive module and applying an interactive module. The following specifically introduces these two parts:

[0068] Generate an interactive module: The interactive module in the embodiment of the present application includes a data export control and a data import control; according to the database interaction configuration information, generate an interactive module, including:

[0069] S201: generating the data export control according to the format of the source data table and the conversion function from the data type of the source data table in the database interaction configuration information to the data type of the standard file; the conversion function is used to realize the conversion of the field granularity;

[0070] S202: Generate the data import control according to the format of the target data table and the database interaction configuration information; the format of the target data table is determined by the format of the source data table.

[0071] Application interaction module: Accordingly, in the embodiment of the present application, the source data table in the source database is converted into the target data table through the interaction module, which may include:

[0072] S203: Generate a standard file from the source data table in the source database through the data export control, and send the standard file to the data import control;

[0073] S204: The data in the standard file is installed into the target data table through the data import control.

[0074] It should be noted that in step S201 of the embodiment of the present application, in some systems, a data export control can be generated according to a conversion function from the data type of the source data table in the database interaction configuration information to the data type of the standard file. It should be noted that in the embodiment of the present application, the data type of the standard file is preset. As an example, the data type of the standard file data table may include: at least one of a row separator, a column separator, a character encoding, and a date format. It should be noted that in the embodiment of the present application, the mapping relationship between the format of the target data table and the format of the source data table is determined by the type of the target database and / or the type of the conversion function.

[0075] As a possible implementation, the type of the source data table in the embodiment of the present application can be obtained by parsing the source data table, or can be directly input manually. Of course, the method provided in the embodiment of the present application can obtain the format of the source data table and the format of the target data table according to other methods, which are not limited in the embodiment of the present application.

[0076] It should be noted that in the embodiment of the present application, the solution of the present application can be implemented in the order of step S201 to step S204, or step S203 can be implemented after step S201, then step S202 is implemented, and finally step S204 is implemented. The embodiment of the present application is not limited here.

[0077] As a possible implementation, the data import control in the embodiment of the present application includes: a table creation control, a table loading control and a table conversion control;

[0078] See also Figure 3 , which is a flow chart of a method for generating and applying a data import control provided by an embodiment of the present application. Figure 3 As shown, the method for generating and applying a data import control provided in an embodiment of the present application includes two parts: generating a data import control and applying the data import control:

[0079] Generating a data import control: In the embodiment of the present application, generating a data import control according to the format of the source data table and the format of the target data table in the database interaction configuration information includes:

[0080] S301: Generate the table creation control according to the format of the source data table and the database interaction configuration information; generate a table loading control corresponding to the table creation control; and generate a table conversion control corresponding to the table creation control.

[0081] Application data import control: In the embodiment of the present application, the source data table in the standard file is converted into the target data table through the data import control, including:

[0082] S302: Create an intermediate data table and a target data table through a table creation control; load the data in the standard file into the intermediate data table through a table loading control; load the intermediate data table into the target data table through a table conversion control.

[0083] It should be noted that in the embodiment of the present application, the data type in the standard file matches the intermediate data table. In the embodiment of the present application, the data type of the source data table is converted into the data type of the standard file through the export control, and then the data in the standard file is directly loaded into the intermediate table through the import control.

[0084] It should be noted that in the embodiment of the present application, in order to save development costs, the source data table is first loaded into the intermediate data table, and then the intermediate data table is loaded into the target data table. In this way, the method provided in the embodiment of the present application only needs to generate one table loading control for one source data table format; and only needs to generate one table conversion control for one target data table format. That is, if there are N types of data packet formats in the present application, the method provided in the embodiment of the present application only needs to generate N types of table loading controls and N types of table conversion controls, and then N types of table loading controls and N types of table conversion controls can be constructed based on the N types of table loading controls and N types of table conversion controls. 2 However, if you generate data import controls directly, you need to generate N 2 Compared with the solution of generating N types of table loading controls and N types of table conversion controls, the solution provided by the embodiment of the present application saves development costs to a certain extent.

[0085] As a possible implementation, considering that the intermediate data table and the target data table in the embodiment of the present application may already exist, in order to avoid duplicate creation, the method provided in the embodiment of the present application may also include: when the intermediate data table and the target data table exist, in step S302 in the embodiment of the present application: create the intermediate data table and the target data table through the table creation control. Accordingly, when the intermediate data table or the target data table exists alone, the method provided in the embodiment of the present application can skip the steps corresponding to generating the intermediate data table or the target data alone.

[0086] As a possible implementation, in order to expand the scope of application of the intermediate data table of the embodiment of the present application, the length of the intermediate data table of the embodiment of the present application can be a fixed value. Accordingly, the embodiment of the present application loads the source data table in the standard file into the intermediate data table, including: filling the blank part in the intermediate data table with preset characters. The embodiment of the present application loads the intermediate data table into the target data table, including: deleting the preset characters in the intermediate data table and then loading it into the target data table. In this way, the intermediate data table provided by the embodiment of the present application can load source data tables of different lengths, so that when multiple source data tables in the source database are loaded into the target database, the same intermediate data table can be used.

[0087] It should be noted that there is no strict order between step S301 and step S302 in the embodiment of the present application. In the embodiment of the present application, step S301 can be implemented first, and then step S302, or the methods included in step S301 and step S302 can be interspersed and executed, and the embodiment of the present application does not limit this.

[0088] It can be seen from this that the method provided by the present application obtains the configuration information of these two types of data from the database interaction configuration library by determining the types of two different types of source databases and target databases that interact. Then, a specific interaction module is automatically generated according to the configuration information, so that the data table in the source database is loaded in the target database, and the interaction between the databases is completed. In this way, the interaction method of the supervision and reporting database provided by the embodiment of the present application can automatically generate different interaction modules according to different types of databases to complete the interaction, saving manpower and material resources, and because the interaction modules in the present application are all automatically generated by the same standard, the stability and fault tolerance of the supervision and reporting system are less affected.

[0089] According to the interactive method of the regulatory reporting database provided in the above-mentioned embodiment, the embodiment of the present application also provides an interactive device of the regulatory reporting database.

[0090] See also Figure 4 , which is a schematic diagram of the structure of an interactive device for a regulatory reporting database provided in an embodiment of the present application. Figure 4 As shown, the interactive device of the supervision reporting database provided in the embodiment of the present application includes:

[0091] The determination module 100 is used to obtain a first type of a source database, a format of a source data table, and a second type of a target database.

[0092] The information acquisition module 200 is used to acquire the first type and the second type of database interaction configuration information from a database interaction configuration library.

[0093] The generating module 300 is used to generate an interaction module according to the database interaction configuration information and the format of the source data table.

[0094] The loading module 400 is used to convert the source data table in the source database into a target data table through the interaction module, and load the target data table into the target database; the format of the target data table matches the target database.

[0095] In an embodiment of the present application, as a possible implementation, the interaction module includes a data export control and a data import control; the generation module includes: an export control generation module, which is used to generate the data export control according to the format of the source data table and the conversion function from the data type of the source data table in the database interaction configuration information to the standard file data type; the conversion function is used to realize the conversion of field granularity; an import control generation module, which is used to generate the data import control according to the format of the target data table and the database interaction configuration information; the format of the target data table is determined by the format of the source data table.

[0096] In an embodiment of the present application, as a possible implementation method, the loading module includes: a standard file generation module, which is used to generate the standard file from the source data table in the source database through the data export control, and send the standard file to the data import control; a standard file loading module, which is used to load the data in the standard file into the target data table through the data import control.

[0097] In an embodiment of the present application, as a possible implementation method, the data import control includes: a table creation control, a table loading control and a table conversion control; the import control generation module is specifically used to: generate the table creation control according to the format of the source data table and the database interaction configuration information; generate the table loading control corresponding to the table creation control; generate the table conversion control corresponding to the table creation control.

[0098] In an embodiment of the present application, as a possible implementation method, the standard file loading module is specifically used to: create an intermediate data table and the target data table through the table creation control; the data type of the intermediate table matches the data type of the standard file; load the data in the standard file into the intermediate data table through the table loading control; load the intermediate data table into the target data table through the table conversion control.

[0099] It can be seen from this that the device provided by the present application obtains the configuration information of these two types of databases from the database interaction configuration library by obtaining the type of the source database, the type of the source data table to be loaded in the source database, and the type of the target database. Then, a specific interaction module is automatically generated according to the configuration information and the type of the source data table, so that the data table in the source database is loaded in the target database to complete the interaction between the databases. In this way, the interaction method of the supervision and reporting database provided by the embodiment of the present application can automatically generate different interaction modules to complete the interaction according to different types of databases and different formats of data tables to be loaded in the database, saving manpower and material resources, and because the interaction modules in the present application are all automatically generated by the same standard, the stability and fault tolerance of the supervision and reporting system are less affected.

[0100] It can be known from the description of the above implementation mode that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., including several instructions for enabling a computer device (which can be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.

[0101] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the method disclosed in the embodiment, since it corresponds to the system disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the system part description.

[0102] It should also be noted that, in this article, the term "includes", "comprising" or any other variation thereof is 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. In the absence of more restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0103] The above description of the disclosed embodiments will enable professionals in the field to implement or use the various modifications of these embodiments to be apparent to professionals in the field, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An interactive method for supervising and submitting a database, characterized in that: The method comprises: Obtaining a first type of a source database, a format of a source data table, and a second type of a target database; Acquire database interaction configuration information of the first type and the second type from a database interaction configuration library; Generate an interaction module according to the database interaction configuration information and the format of the source data table; By means of the interactive module, the source data table in the source database is converted into a target data table and loaded into the target database; the format of the target data table matches the target database; The interactive module includes a data export control and a data import control; the interactive module is generated according to the database interactive configuration information and the format of the source data table, including: Generate the data export control according to the format of the source data table and the conversion function from the data type of the source data table in the database interaction configuration information to the data type of the standard file; the conversion function is used to realize the conversion of the field granularity; Generate the data import control according to the format of the target data table and the database interaction configuration information; the format of the target data table is determined by the format of the source data table; The data import control includes: a table creation control, a table loading control and a table conversion control; The step of generating the data import control according to the format of the target data table and the database interaction configuration information includes: Generate the table creation control according to the format of the source data table and the database interaction configuration information; Generate the table loading control corresponding to the table creation control; Generate the table conversion control corresponding to the table creation control; Converting the source data table in the standard file into the target data table through the data import control includes: An intermediate data table and the target data table are created by using the table creation control; the data type of the intermediate data table matches the data type of the standard file; Loading the data in the standard file into the intermediate data table through the table loading control; Through the table conversion control, the preset characters in the intermediate data table are deleted and then loaded into the target data table.

2. The method according to claim 1, characterized in that The step of converting the source data table in the source database into a target data table through the interaction module includes: Generate the standard file from the source data table in the source database through the data export control, and send the standard file to the data import control; The data in the standard file is loaded into the target data table through the data import control.

3. An interactive device for supervising and reporting a database, characterized in that: The device comprises: A determination module, used to obtain a first type of a source database, a format of a source data table, and a second type of a target database; An information acquisition module, used to acquire the database interaction configuration information of the first type and the second type from a database interaction configuration library; A generating module, used for generating an interaction module according to the database interaction configuration information and the format of the source data table; A loading module, used to convert the source data table in the source database into a target data table through the interaction module, and load the target data table into the target database; the format of the target data table matches the target database; The interaction module includes a data export control and a data import control; the generation module includes: An export control generation module, used to generate the data export control according to the format of the source data table and the conversion function from the data type of the source data table in the database interaction configuration information to the standard file data type; the conversion function is used to realize the conversion of field granularity; An import control generation module, used to generate the data import control according to the format of the target data table and the database interaction configuration information; the format of the target data table is determined by the format of the source data table; The data import control includes: a table creation control, a table loading control and a table conversion control; The import control generation module is specifically used for: Generate the table creation control according to the format of the source data table and the database interaction configuration information; Generate the table loading control corresponding to the table creation control; Generate the table conversion control corresponding to the table creation control; The loading module includes a standard file loading module, which is specifically used for: An intermediate data table and the target data table are created by using the table creation control; the data type of the intermediate data table matches the data type of the standard file; Loading the data in the standard file into the intermediate data table through the table loading control; Through the table conversion control, the preset characters in the intermediate data table are deleted and then loaded into the target data table.

4. The device according to claim 3, characterized in that The loading module comprises: A standard file generation module, used for generating the standard file from the source data table in the source database through the data export control, and sending the standard file to the data import control; The standard file loading module is used to load the data in the standard file into the target data table through the data import control.