WO2019000629A1 - Multi-data-source data synchronizing method and system, application server and computer readable storage medium - Google Patents

Multi-data-source data synchronizing method and system, application server and computer readable storage medium Download PDF

Info

Publication number
WO2019000629A1
WO2019000629A1 PCT/CN2017/100051 CN2017100051W WO2019000629A1 WO 2019000629 A1 WO2019000629 A1 WO 2019000629A1 CN 2017100051 W CN2017100051 W CN 2017100051W WO 2019000629 A1 WO2019000629 A1 WO 2019000629A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
source
type
task
synchronized
Prior art date
Application number
PCT/CN2017/100051
Other languages
French (fr)
Chinese (zh)
Inventor
付军
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019000629A1 publication Critical patent/WO2019000629A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Definitions

  • the present invention relates to the field of computer information technology, and in particular, to a multi-data source data synchronization method, system, application server, and computer readable storage medium.
  • the existing multi-data source data synchronization operation is very complicated, developers need to develop a large number of scripts, and need to go through development, testing, deployment and other processes, long development cycle, large amount of tasks, and error-prone. Therefore, the data synchronization operation of multiple data sources in the prior art is not reasonable enough and needs to be improved.
  • the present invention provides a multi-data source data synchronization method, system, application server and computer readable storage medium, which eliminates the development, testing and deployment process of the developer, and the entire data synchronization process realizes fully automatic operation, It saves development costs and reduces the risk of error for developers.
  • the present invention provides an application server including a memory, a processor, and a multi-data source data synchronization system stored on the memory and operable on the processor,
  • the multi-data source data synchronization system is implemented by the processor to implement the following steps:
  • the built-up task and the data synchronization task corresponding to each generated data source are sent to a preset workflow scheduling engine, and the preset workflow scheduling engine executes the table-building task and the data synchronization task corresponding to each data source.
  • the present invention further provides a multi-data source data synchronization method, which is applied to an application server, and the method includes:
  • the built-up task and the data synchronization task corresponding to each generated data source are sent to a preset workflow scheduling engine, and the preset workflow scheduling engine executes the table-building task and the data synchronization task corresponding to each data source.
  • the present invention also provides a computer readable storage medium storing a data source data synchronization system, the multiple data source data synchronization system being configurable by at least one processor Execute to implement the following steps:
  • the built-up task and the data synchronization task corresponding to each generated data source are sent to a preset workflow scheduling engine, and the preset workflow scheduling engine executes the table-building task and the data synchronization task corresponding to each data source.
  • the present invention further provides a multi-data source data synchronization system, the system comprising:
  • connection module configured to establish a first connection between the data platform and the at least one data source, and establish a second connection between the data platform and the application server;
  • the task generation module is configured to receive a source table and a data source type that are selected by the user and need to be synchronized, and generate a table construction task and a data synchronization task corresponding to each data source according to the source table structure of each data source obtained in advance;
  • a data synchronization module configured to: publish a table-building task and a data synchronization task corresponding to each generated data source to a preset workflow scheduling engine, and execute a table corresponding to each data source by using the preset workflow scheduling engine Task and data synchronization tasks.
  • the application server, the multi-data source data synchronization method, the system, and the computer-readable storage medium provided by the present invention automatically generate corresponding data sources according to the source table and the data source type selected by the user to be synchronized.
  • the data synchronization task is automatically published to the preset workflow scheduling engine, and the preset workflow scheduling engine is used to execute the execution center.
  • the task of creating tables and data synchronization tasks realizes one-stop data synchronization service, which eliminates the development, testing and deployment process of developers.
  • the entire data synchronization process realizes fully automatic operation, which saves development costs and reduces developers. The risk of error.
  • FIG. 1 is a schematic diagram of an optional application environment of each embodiment of the present invention.
  • FIG. 2 is a schematic diagram of an optional hardware architecture of the application server of FIG. 1;
  • FIG. 3 is a schematic diagram of functional modules of an embodiment of a multi-data source data synchronization system according to the present invention.
  • FIG. 4 is a schematic diagram of an implementation process of an embodiment of a multi-data source data synchronization method according to the present invention.
  • first, second and the like in the present invention are for the purpose of description only, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of indicated technical features. .
  • features defining “first” and “second” may include at least one of the features, either explicitly or implicitly.
  • the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. It is also within the scope of protection required by the present invention.
  • FIG. 1 it is a schematic diagram of an optional application environment according to various embodiments of the present invention.
  • the present invention is applicable to an application environment including, but not limited to, an application server 2, a network 3, a data platform 4, and a data source 5.
  • the application server 2 may be a computing device such as a rack server, a blade server, a tower server, or a rack server.
  • the application server 2 may be an independent server or a server cluster composed of multiple servers.
  • the network 3 may be an intranet, an Internet, a Global System of Mobile communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, Wireless or wired networks such as 5G networks, Bluetooth, Wi-Fi, etc.
  • GSM Global System of Mobile communication
  • WCDMA Wideband Code Division Multiple Access
  • 4G Wireless or wired networks
  • 5G networks Bluetooth, Wi-Fi, etc.
  • the application server 2 is communicably connected to the data platform 4 via the network 3, and the data platform 4 is communicably connected to each data source 5 through the network 3.
  • a first connection (or a first type of connection) is established between the data platform 4 and each data source 5, so that the data platform 4 can perform data transmission with each data source 5 through the first connection.
  • a second connection (or a second type of connection) is established between the data platform 4 and the application server 2, so that the data platform 4 can perform data transmission and interaction with the application server 2 through the second connection. .
  • the application server 2 may include, but is not limited to, a memory 21, a processor 22, and a network interface 23 that can communicate with each other through a system bus. It is noted that FIG. 2 only shows the application server 2 with components 21-23, but it should be understood that not all illustrated components may be implemented, and more or fewer components may be implemented instead.
  • the memory 21 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), and a random access memory (RAM). , static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the memory 21 may be an internal storage unit of the application server 2, such as a hard disk or memory of the application server 2.
  • the memory 21 may also be an external storage device of the application server 2, such as a plug-in hard disk equipped on the application server 2, a smart memory card (SMC), and a secure digital number. (Secure Digital, SD) card, flash card, etc.
  • the memory 21 may also include both the internal storage unit of the application server 2 and its external storage device.
  • the memory 21 is generally used to store an operating system installed in the application server 2 and various types of application software, such as program codes of the multi-data source data synchronization system 20.
  • the memory 21 can also be used to temporarily store various types of data that have been output or are to be output.
  • the processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments.
  • the processor 22 is typically used to control the overall operation of the application server 2, such as performing control and processing related to data interaction or communication with the application server 2.
  • the processor 22 is configured to run program code or process data stored in the memory 21, such as running the multi-data source data synchronization system 20 and the like.
  • the network interface 23 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the application server 2 and other electronic devices.
  • the network interface 23 is mainly used to connect the application server 2 to the data platform 4 through the network 3, and establish data transmission between the application server 2 and the data platform 4. Channel and communication connections.
  • the present invention proposes a multiple data source data synchronization system 20.
  • the multi-data source data synchronization system 20 may be divided into one or more modules, the one or more modules being stored in the memory 21 and being processed by one or more processors ( This embodiment is executed by the processor 22) to complete the present invention.
  • the multi-data source data synchronization system 20 can be divided into a connection module 201, a task generation module 202, and a data synchronization module 203.
  • the functional module referred to in the present invention refers to a series of computer program instruction segments capable of performing a specific function, and is more suitable than the program to describe the execution process of the multi-data source data synchronization system 20 in the application server 2.
  • the functions of the respective function modules 201-203 will be described in detail below.
  • the connection module 201 is configured to establish a first connection (or a first type of connection) between the data platform 4 and the at least one data source 5, and establish the data platform 4 and an application server 2 (such as a resolution server).
  • the second connection (or the second type of connection).
  • the data platform 4 adopts a Hadoop data platform, and establishes a first connection between the data platform 4 and each data source 5 through a data transmission tool in the data platform 4.
  • the data transfer tool is a Sqoop tool set in Hadoop.
  • the data platform and data transfer tool may be of other types.
  • the task generation module 202 is configured to receive a source table (partial or all) and a data source type that are selected by the user to be synchronized, and generate a table-building task corresponding to each data source according to the source table structure of each data source obtained in advance. Synchronize tasks with data (or as data extraction tasks).
  • the data source type includes, but is not limited to, a first type of data source (such as an MS SQL Server data source), and a second type of data source (such as an Oracle data source), Three types of data sources (such as MySQL data sources).
  • a first type of data source such as an MS SQL Server data source
  • a second type of data source such as an Oracle data source
  • Three types of data sources such as MySQL data sources.
  • the number of data source types may also be increased or decreased according to the requirements of different data platforms. For example, a user may choose to synchronize a portion of the source table in the first type of data source.
  • the source table structure of the data source 5 includes, but is not limited to, a data type of each data source 5, field information included, and the like.
  • the application server 2 is provided with a corresponding parsing script file of each data source 5, and the data transfer tool in the data platform 4 is controlled to execute each parsing script file in parallel through a parallel scheduling mechanism.
  • the source table structure parsing task parsing the source table structure of each data source, and returning the source table structure of each data source obtained by the parsing to the application server 2 through the second connection.
  • the generating a table-building task corresponding to each data source includes: generating a source table with the selected source table according to a source table (partial or all) and a source table type that are selected by the user to be synchronized.
  • the target table corresponding to the type.
  • the source table type includes, but is not limited to, a first type dimension table (ie, a small amount of data, a source table used by the associated configuration), and a second type task table (ie, the data in the table is continuously updated and added, and the same day Update the historical data except the day), the third type of flow meter (that is, the data in the table is constantly added, and the historical data except the day will not be updated on the same day).
  • the source table type selected by the user to be synchronized is the first type dimension table (that is, the source table is small, the source table used by the association configuration)
  • the source table structure corresponding to the first type dimension table is generated.
  • the second type task table is generated.
  • the second type target table corresponding to the source table structure, wherein the number of the second type target table is determined according to the number of the second type source table that the user selects to synchronize.
  • the source table type selected by the user to be synchronized is the third type of flow table (that is, the data in the table is continuously added, and the historical data except the day is not updated on the day)
  • the source of the third type of the flow table is generated.
  • the third type target table corresponding to the table structure, wherein the number of the third type target table is determined according to the number of the third type source table selected by the user to be synchronized.
  • the generating a data synchronization task corresponding to each data source includes:
  • the resource configuration (such as CPU, memory, disk, etc.) and resource management nodes required for data synchronization of each task are determined, wherein the resource configuration can be listed by means of a list.
  • the resource management node may be implemented by using a Hadoop resource representation model and a resource allocation model;
  • the source table type selected by the user to be synchronized is the first type dimension table
  • Corresponding relationship between the corresponding field of the first type dimension table that needs to be synchronized and the corresponding field of each generated first type target table, and according to the corresponding relationship between the first type dimension table and the corresponding field of the first type target table Generating a data extraction task corresponding to each first type dimension table
  • the source table type that is selected by the user to be synchronized is the second type task table
  • the corresponding relationship between the corresponding field of the second type task table that needs to be synchronized and the corresponding field of each generated second type target table is established. And generating a data extraction task corresponding to each second type task table according to the correspondence between the second type task table and the corresponding field of the second type target table;
  • the source table type that is selected by the user to be synchronized is the third type of flow table
  • the corresponding relationship between the corresponding field of the third type of flow table that needs to be synchronized and the corresponding field of each generated third type target table is established. And generating a data extraction task corresponding to each third type of flow table according to the correspondence between the third type of flow table and the corresponding field of the third type target table.
  • the data synchronization module 203 is configured to advertise the built-up task and the data synchronization task corresponding to each generated data source to a preset workflow scheduling engine (such as an oozie scheduling engine), and schedule the workflow through the preset workflow.
  • the engine executes the task of creating a table and data synchronization corresponding to each data source.
  • the performing of the data synchronization task includes:
  • the data corresponding to each data source is started to synchronize each task, the resource configuration required for each task of data synchronization is acquired, and the data corresponding to the corresponding field is extracted from each source table (metadata information) ), and the extracted data is stored in the corresponding fields of each target table.
  • the source table type that is selected by the user to be synchronized is the first type dimension table
  • the first data corresponding to the corresponding field is respectively extracted from each first type dimension table, and the extracted first data is separately stored.
  • the source table type that is selected by the user to be synchronized is the second type task table
  • the second data corresponding to the corresponding field is respectively extracted from each second type task table, and the extracted second data is separately stored in each second type.
  • the source table type selected by the user to be synchronized is the third type of flow table
  • the third data corresponding to the corresponding field is respectively extracted from each third type of flow table, and the extracted third data is separately stored in each third type.
  • the following steps are also implemented:
  • the multi-data source data synchronization system 20 of the present invention automatically generates a table-building task and a data synchronization task corresponding to each data source according to the source table and the data source type selected by the user. And automatically generating the table-building task and the data synchronization task corresponding to the generated data source to a preset workflow scheduling engine, and scheduling, by using the preset workflow scheduling engine, the table-building task and the data synchronization task,
  • a one-stop data synchronization service eliminates the development, testing, and deployment process of developers, and the entire data synchronization process enables fully automated operations. It saves development costs and reduces the risk of error for developers.
  • the present invention also proposes a multi-data source data synchronization method.
  • FIG. 4 it is a schematic flowchart of an implementation manner of an embodiment of a multi-data source data synchronization method according to the present invention.
  • the order of execution of the steps in the flowchart shown in FIG. 4 may be changed according to different requirements, and some steps may be omitted.
  • Step S41 establishing a first connection (or a first type of connection) between the data platform 4 and the at least one data source 5, and establishing a second connection between the data platform 4 and an application server 2 (such as a resolution server) ( Or call it the second type of connection).
  • an application server 2 such as a resolution server
  • the data platform 4 adopts a Hadoop data platform, and establishes a first connection between the data platform 4 and each data source 5 through a data transmission tool in the data platform 4.
  • the data transfer tool is a Sqoop tool set in Hadoop.
  • the data platform and data transfer tool may be of other types.
  • Step S42 receiving a source table (partial or all) and a data source type that are selected by the user to be synchronized, and generating a table construction task and a data synchronization task corresponding to each data source according to the source table structure of each data source obtained by pre-parsing (or Call it a data extraction task).
  • the data source type includes, but is not limited to, a first type of data source (such as an MS SQL Server data source), a second type of data source (such as an Oracle data source), and a third type of data.
  • a first type of data source such as an MS SQL Server data source
  • a second type of data source such as an Oracle data source
  • a third type of data such as MySQL data source
  • Source such as MySQL data source
  • the number of data source types may also be increased or decreased according to the requirements of different data platforms. For example, a user may choose to synchronize a portion of the source table in the first type of data source.
  • the source table structure of the data source 5 includes, but is not limited to, a data type of each data source 5, field information included, and the like.
  • the application server 2 is provided with a corresponding parsing script file of each data source 5, and the data transfer tool in the data platform 4 is controlled to execute each parsing script file in parallel through a parallel scheduling mechanism.
  • the source table structure parsing task parsing the source table structure of each data source, and returning the source table structure of each data source obtained by the parsing to the application server 2 through the second connection.
  • the generating a table-building task corresponding to each data source includes: generating a source table with the selected source table according to a source table (partial or all) and a source table type that are selected by the user to be synchronized.
  • the target table corresponding to the type.
  • the source table type includes, but is not limited to, a first type dimension table (ie, a small amount of data, a source table used by an associated configuration), and a second type task table (ie, data in the table continuously) There are updates and additions, and the historical data except the day will be updated on the same day), and the third type of flow table (that is, the data in the table is continuously added, and the historical data except the day is not updated on the same day).
  • a first type dimension table ie, a small amount of data, a source table used by an associated configuration
  • a second type task table ie, data in the table continuously
  • the source table type selected by the user to be synchronized is the first type dimension table (that is, the source table is small, the source table used by the association configuration)
  • the source table structure corresponding to the first type dimension table is generated.
  • the number of source tables that need to be synchronized is determined by the number of source tables.
  • the second type task table is generated.
  • the second type target table corresponding to the source table structure, wherein the number of the second type target table is determined according to the number of the second type source table that the user selects to synchronize.
  • the source table type selected by the user to be synchronized is the third type of flow table (that is, the data in the table is continuously added, and the historical data except the day is not updated on the day)
  • the source of the third type of the flow table is generated.
  • the third type target table corresponding to the table structure, wherein the number of the third type target table is determined according to the number of the third type source table selected by the user to be synchronized.
  • the generating a data synchronization task corresponding to each data source includes:
  • the resource configuration (such as CPU, memory, disk, etc.) and resource management nodes required for data synchronization of each task are determined, wherein the resource configuration can be listed by means of a list.
  • the resource management node may be implemented by using a Hadoop resource representation model and a resource allocation model;
  • the source table type that the user selects to synchronize is the first type dimension table
  • the corresponding field of the first type dimension table that needs to be synchronized and the corresponding field of each generated first type target table are established.
  • the source table type that is selected by the user to be synchronized is the second type task table
  • the corresponding relationship between the corresponding field of the second type task table that needs to be synchronized and the corresponding field of each generated second type target table is established. And generating a data extraction task corresponding to each second type task table according to the correspondence between the second type task table and the corresponding field of the second type target table;
  • the source table type that is selected by the user to be synchronized is the third type of flow table
  • the corresponding relationship between the corresponding field of the third type of flow table that needs to be synchronized and the corresponding field of each generated third type target table is established. And generating a data extraction task corresponding to each third type of flow table according to the correspondence between the third type of flow table and the corresponding field of the third type target table.
  • Step S43 Publish the built-up task and the data synchronization task corresponding to the generated data sources to a preset workflow scheduling engine (such as an oozie scheduling engine), and execute corresponding data sources by using the preset workflow scheduling engine.
  • a preset workflow scheduling engine such as an oozie scheduling engine
  • the performing of the data synchronization task includes:
  • the data corresponding to each data source is started to synchronize each task, the resource configuration required for each task of data synchronization is acquired, and the data corresponding to the corresponding field is extracted from each source table (metadata information) ), and the extracted data is stored in the corresponding fields of each target table.
  • the source table type that is selected by the user to be synchronized is the first type dimension table
  • the first data corresponding to the corresponding field is respectively extracted from each first type dimension table, and the extracted first data is separately stored.
  • the source table type that is selected by the user to be synchronized is the second type task table
  • the second data corresponding to the corresponding field is respectively extracted from each second type task table, and the extracted second data is separately stored in each second type.
  • the source table type selected by the user to be synchronized is the third type of flow table
  • the third data corresponding to the corresponding field is respectively extracted from each third type of flow table, and the extracted third data is separately stored in each third type.
  • the method further comprises the steps of:
  • the multi-data source data synchronization method proposed by the present invention automatically generates a table-building task and a data synchronization task corresponding to each data source according to the source table and the data source type selected by the user to be synchronized, and
  • the generated table-building task and the data synchronization task corresponding to each generated data source are automatically advertised to a preset workflow scheduling engine, and the preset workflow task scheduling engine executes the table-building task and the data synchronization task to implement one
  • the station-based data synchronization service eliminates the developer's development, testing, and deployment processes, and the entire data synchronization process enables fully automated operations, saving development costs and reducing developer error risk.
  • the present invention further provides a computer readable storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), the computer readable storage medium storing a multiple data source data synchronization system 20,
  • the multiple data source data synchronization system 20 can be executed by at least one processor 22 to cause the at least one processor to perform the steps of the multiple data source data synchronization method as described above.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and can also be implemented by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A multi-data-source data synchronizing method and system, an application server, and a computer readable storage medium. The method comprising steps of: establishing a first connection between a data platform (4) and at least one data source (5), and establishing a second connection between the data platform (4) and the application server (2) (S41); receiving a source table and types of data sources, selected by a user and needing to be synchronized, and generating table establishing tasks and data synchronizing tasks corresponding to various data sources according to source table structures of the various data sources obtained by pre-resolving (S42); and publishing the generated table establishing tasks and data synchronizing tasks corresponding to the various data sources to a preset workflow scheduling engine, and executing the table establishing tasks and data synchronizing tasks corresponding to the various data sources by means of the preset workflow scheduling engine (S43). The described method can achieve a full-automatic operation of a whole data synchronizing flow, thus reducing the flows of development, testing and deployment for developers.

Description

多数据源数据同步方法、系统、应用服务器及计算机可读存储介质Multi-data source data synchronization method, system, application server and computer readable storage medium
本申请申明享有2017年6月25日递交的申请号为201710490443.7、名称为“多数据源数据同步方法、应用服务器及计算机可读存储介质”的中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。The present application claims the priority of the Chinese patent application entitled "Multi-data source data synchronization method, application server and computer readable storage medium", which is filed on June 25, 2017, the entire disclosure of which is hereby incorporated by reference. The content is incorporated herein by reference.
技术领域Technical field
本发明涉及计算机信息技术领域,尤其涉及一种多数据源数据同步方法、系统、应用服务器及计算机可读存储介质。The present invention relates to the field of computer information technology, and in particular, to a multi-data source data synchronization method, system, application server, and computer readable storage medium.
背景技术Background technique
现有的多数据源数据同步操作非常复杂,开发人员需要开发大量脚本,而且需要经过开发、测试、部署等流程,开发周期长,任务量大,且容易出错。故,现有技术中多数据源的数据同步操作不够合理,亟需改进。The existing multi-data source data synchronization operation is very complicated, developers need to develop a large number of scripts, and need to go through development, testing, deployment and other processes, long development cycle, large amount of tasks, and error-prone. Therefore, the data synchronization operation of multiple data sources in the prior art is not reasonable enough and needs to be improved.
发明内容Summary of the invention
有鉴于此,本发明提出一种多数据源数据同步方法、系统、应用服务器及计算机可读存储介质,省却了开发人员的开发、测试和部署流程,整个数据同步流程实现了全自动作业,既节省了开发成本,又降低了开发人员的出错风险。In view of this, the present invention provides a multi-data source data synchronization method, system, application server and computer readable storage medium, which eliminates the development, testing and deployment process of the developer, and the entire data synchronization process realizes fully automatic operation, It saves development costs and reduces the risk of error for developers.
首先,为实现上述目的,本发明提出一种应用服务器,所述应用服务器包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的多数据源数据同步系统,所述多数据源数据同步系统被所述处理器执行时实现如下步骤:First, in order to achieve the above object, the present invention provides an application server including a memory, a processor, and a multi-data source data synchronization system stored on the memory and operable on the processor, The multi-data source data synchronization system is implemented by the processor to implement the following steps:
建立一数据平台与至少一个数据源的第一连接,并建立该数据平台与该应用服务器的第二连接;Establishing a first connection between the data platform and the at least one data source, and establishing a second connection between the data platform and the application server;
接收用户选择的需要同步的源表和数据源类型,根据预先解析获得的各数据源的源表结构,生成各数据源对应的建表任务和数据同步任务;及Receiving a source table and a data source type that are selected by the user to be synchronized, and generating a table construction task and a data synchronization task corresponding to each data source according to the source table structure of each data source obtained by the pre-parsing;
将所述生成的各数据源对应的建表任务和数据同步任务发布至预设的工作流调度引擎,通过该预设的工作流调度引擎执行各数据源对应的建表任务和数据同步任务。The built-up task and the data synchronization task corresponding to each generated data source are sent to a preset workflow scheduling engine, and the preset workflow scheduling engine executes the table-building task and the data synchronization task corresponding to each data source.
此外,为实现上述目的,本发明还提供一种多数据源数据同步方法,该方法应用于应用服务器,所述方法包括:In addition, to achieve the above object, the present invention further provides a multi-data source data synchronization method, which is applied to an application server, and the method includes:
建立一数据平台与至少一个数据源的第一连接,并建立该数据平台与该应用服务器的第二连接;Establishing a first connection between the data platform and the at least one data source, and establishing a second connection between the data platform and the application server;
接收用户选择的需要同步的源表和数据源类型,根据预先解析获得的各数据源的源表结构,生成各数据源对应的建表任务和数据同步任务;及 Receiving a source table and a data source type that are selected by the user to be synchronized, and generating a table construction task and a data synchronization task corresponding to each data source according to the source table structure of each data source obtained by the pre-parsing;
将所述生成的各数据源对应的建表任务和数据同步任务发布至预设的工作流调度引擎,通过该预设的工作流调度引擎执行各数据源对应的建表任务和数据同步任务。The built-up task and the data synchronization task corresponding to each generated data source are sent to a preset workflow scheduling engine, and the preset workflow scheduling engine executes the table-building task and the data synchronization task corresponding to each data source.
进一步地,为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质存储有多数据源数据同步系统,所述多数据源数据同步系统可被至少一个处理器执行,以实现如下步骤:Further, to achieve the above object, the present invention also provides a computer readable storage medium storing a data source data synchronization system, the multiple data source data synchronization system being configurable by at least one processor Execute to implement the following steps:
建立一数据平台与至少一个数据源的第一连接,并建立该数据平台与该应用服务器的第二连接;Establishing a first connection between the data platform and the at least one data source, and establishing a second connection between the data platform and the application server;
接收用户选择的需要同步的源表和数据源类型,根据预先解析获得的各数据源的源表结构,生成各数据源对应的建表任务和数据同步任务;及Receiving a source table and a data source type that are selected by the user to be synchronized, and generating a table construction task and a data synchronization task corresponding to each data source according to the source table structure of each data source obtained by the pre-parsing;
将所述生成的各数据源对应的建表任务和数据同步任务发布至预设的工作流调度引擎,通过该预设的工作流调度引擎执行各数据源对应的建表任务和数据同步任务。The built-up task and the data synchronization task corresponding to each generated data source are sent to a preset workflow scheduling engine, and the preset workflow scheduling engine executes the table-building task and the data synchronization task corresponding to each data source.
更近一步地,为实现上述目的,本发明还提供一种多数据源数据同步系统,该系统包括:Further, in order to achieve the above object, the present invention further provides a multi-data source data synchronization system, the system comprising:
连接模块,用于建立一数据平台与至少一个数据源的第一连接,并建立该数据平台与该应用服务器的第二连接;a connection module, configured to establish a first connection between the data platform and the at least one data source, and establish a second connection between the data platform and the application server;
任务生成模块,用于接收用户选择的需要同步的源表和数据源类型,根据预先解析获得的各数据源的源表结构,生成各数据源对应的建表任务和数据同步任务;及The task generation module is configured to receive a source table and a data source type that are selected by the user and need to be synchronized, and generate a table construction task and a data synchronization task corresponding to each data source according to the source table structure of each data source obtained in advance; and
数据同步模块,用于将所述生成的各数据源对应的建表任务和数据同步任务发布至预设的工作流调度引擎,通过该预设的工作流调度引擎执行各数据源对应的建表任务和数据同步任务。a data synchronization module, configured to: publish a table-building task and a data synchronization task corresponding to each generated data source to a preset workflow scheduling engine, and execute a table corresponding to each data source by using the preset workflow scheduling engine Task and data synchronization tasks.
相较于现有技术,本发明所提出的应用服务器、多数据源数据同步方法、系统及计算机可读存储介质,根据用户选择的需要同步的源表和数据源类型,自动生成各数据源对应的建表任务和数据同步任务,并将所述生成的各数据源对应的建表任务和数据同步任务自动发布至预设的工作流调度引擎,通过该预设的工作流调度引擎调度执行所述建表任务和数据同步任务,实现一站式数据同步服务,省却了开发人员的开发、测试和部署流程,整个数据同步流程实现了全自动作业,既节省了开发成本,又降低了开发人员的出错风险。Compared with the prior art, the application server, the multi-data source data synchronization method, the system, and the computer-readable storage medium provided by the present invention automatically generate corresponding data sources according to the source table and the data source type selected by the user to be synchronized. And the data synchronization task is automatically published to the preset workflow scheduling engine, and the preset workflow scheduling engine is used to execute the execution center. The task of creating tables and data synchronization tasks realizes one-stop data synchronization service, which eliminates the development, testing and deployment process of developers. The entire data synchronization process realizes fully automatic operation, which saves development costs and reduces developers. The risk of error.
附图说明DRAWINGS
图1是本发明各个实施例一可选的应用环境示意图;1 is a schematic diagram of an optional application environment of each embodiment of the present invention;
图2是图1中应用服务器一可选的硬件架构的示意图;2 is a schematic diagram of an optional hardware architecture of the application server of FIG. 1;
图3是本发明多数据源数据同步系统一实施例的功能模块示意图; 3 is a schematic diagram of functional modules of an embodiment of a multi-data source data synchronization system according to the present invention;
图4为本发明多数据源数据同步方法一实施例的实施流程示意图。FIG. 4 is a schematic diagram of an implementation process of an embodiment of a multi-data source data synchronization method according to the present invention.
附图标记:Reference mark:
应用服务器 application server 22
网络The internet 33
数据平台Data platform 44
数据源 data source 55
多数据源数据同步系统Multi-data source data synchronization system 2020
存储器Memory 21twenty one
处理器processor 22twenty two
网络接口Network Interface 23twenty three
连接模块 Connection module 201201
任务生成模块 Task generation module 202202
数据同步模块 Data synchronization module 203203
流程步骤Process step S41-S43S41-S43
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
需要说明的是,在本发明中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本发明要求的保护范围之内。It should be noted that the descriptions of "first", "second" and the like in the present invention are for the purpose of description only, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of indicated technical features. . Thus, features defining "first" and "second" may include at least one of the features, either explicitly or implicitly. In addition, the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. It is also within the scope of protection required by the present invention.
进一步需要说明的是,在本文中,术语“包括”、“包含”或者其任何其 他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be further noted that, in this document, the terms "include", "include" or any of its He is intended to cover non-exclusive inclusions, such that a process, method, article, or device that includes a series of elements includes not only those elements but also other elements not explicitly listed, or An element inherent in a method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
参阅图1所示,是本发明各个实施例一可选的应用环境示意图。Referring to FIG. 1 , it is a schematic diagram of an optional application environment according to various embodiments of the present invention.
在本实施例中,本发明可应用于包括,但不限于,应用服务器2、网络3、数据平台4、及数据源5的应用环境中。其中,所述应用服务器2可以是机架式服务器、刀片式服务器、塔式服务器或机柜式服务器等计算设备,该应用服务器2可以是独立的服务器,也可以是多个服务器所组成的服务器集群。所述网络3可以是企业内部网(Intranet)、互联网(Internet)、全球移动通讯系统(Global System of Mobile communication,GSM)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi等无线或有线网络。In the present embodiment, the present invention is applicable to an application environment including, but not limited to, an application server 2, a network 3, a data platform 4, and a data source 5. The application server 2 may be a computing device such as a rack server, a blade server, a tower server, or a rack server. The application server 2 may be an independent server or a server cluster composed of multiple servers. . The network 3 may be an intranet, an Internet, a Global System of Mobile communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, Wireless or wired networks such as 5G networks, Bluetooth, Wi-Fi, etc.
其中,所述应用服务器2中通过所述网络3与数据平台4通信连接,所述数据平台4通过所述网络3分别与各数据源5通信连接。所述数据平台4与各数据源5之间建立有第一连接(或称其为第一类连接),以使所述数据平台4能够通过所述第一连接与各数据源5进行数据传输和交互。所述数据平台4与应用服务器2之间建立有第二连接(或称其为第二类连接),以使所述数据平台4能够通过所述第二连接与应用服务器2进行数据传输和交互。The application server 2 is communicably connected to the data platform 4 via the network 3, and the data platform 4 is communicably connected to each data source 5 through the network 3. A first connection (or a first type of connection) is established between the data platform 4 and each data source 5, so that the data platform 4 can perform data transmission with each data source 5 through the first connection. And interact. A second connection (or a second type of connection) is established between the data platform 4 and the application server 2, so that the data platform 4 can perform data transmission and interaction with the application server 2 through the second connection. .
参阅图2所示,是图1中应用服务器2一可选的硬件架构的示意图。本实施例中,所述应用服务器2可包括,但不限于,可通过系统总线相互通信连接存储器21、处理器22、网络接口23。需要指出的是,图2仅示出了具有组件21-23的应用服务器2,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。Referring to FIG. 2, it is a schematic diagram of an optional hardware architecture of the application server 2 in FIG. In this embodiment, the application server 2 may include, but is not limited to, a memory 21, a processor 22, and a network interface 23 that can communicate with each other through a system bus. It is noted that FIG. 2 only shows the application server 2 with components 21-23, but it should be understood that not all illustrated components may be implemented, and more or fewer components may be implemented instead.
其中,所述存储器21至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器21可以是所述应用服务器2的内部存储单元,例如该应用服务器2的硬盘或内存。在另一些实施例中,所述存储器21也可以是所述应用服务器2的外部存储设备,例如该应用服务器2上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器21还可以既包括所述应用服务器2的内部存储单元也包括其外部存储设备。本实施例中,所述存储器21通常用于存储安装于所述应用服务器2的操作系统和各类应用软件,例如所述多数据源数据同步系统20的程序代码等。此外, 所述存储器21还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 21 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), and a random access memory (RAM). , static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like. In some embodiments, the memory 21 may be an internal storage unit of the application server 2, such as a hard disk or memory of the application server 2. In other embodiments, the memory 21 may also be an external storage device of the application server 2, such as a plug-in hard disk equipped on the application server 2, a smart memory card (SMC), and a secure digital number. (Secure Digital, SD) card, flash card, etc. Of course, the memory 21 may also include both the internal storage unit of the application server 2 and its external storage device. In this embodiment, the memory 21 is generally used to store an operating system installed in the application server 2 and various types of application software, such as program codes of the multi-data source data synchronization system 20. In addition, The memory 21 can also be used to temporarily store various types of data that have been output or are to be output.
所述处理器22在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器22通常用于控制所述应用服务器2的总体操作,例如执行与所述应用服务器2进行数据交互或者通信相关的控制和处理等。本实施例中,所述处理器22用于运行所述存储器21中存储的程序代码或者处理数据,例如运行所述的多数据源数据同步系统20等。The processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 22 is typically used to control the overall operation of the application server 2, such as performing control and processing related to data interaction or communication with the application server 2. In this embodiment, the processor 22 is configured to run program code or process data stored in the memory 21, such as running the multi-data source data synchronization system 20 and the like.
所述网络接口23可包括无线网络接口或有线网络接口,该网络接口23通常用于在所述应用服务器2与其他电子设备之间建立通信连接。本实施例中,所述网络接口23主要用于通过所述网络3将所述应用服务器2与所述数据平台4相连,在所述应用服务器2与所述数据平台4之间的建立数据传输通道和通信连接。The network interface 23 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the application server 2 and other electronic devices. In this embodiment, the network interface 23 is mainly used to connect the application server 2 to the data platform 4 through the network 3, and establish data transmission between the application server 2 and the data platform 4. Channel and communication connections.
至此,己经详细介绍了本发明各个实施例的应用环境和相关设备的硬件结构和功能。下面,将基于上述应用环境和相关设备,提出本发明的各个实施例。So far, the application environment and the hardware structure and functions of the related devices of the various embodiments of the present invention have been described in detail. Hereinafter, various embodiments of the present invention will be proposed based on the above-described application environment and related equipment.
首先,本发明提出一种多数据源数据同步系统20。First, the present invention proposes a multiple data source data synchronization system 20.
参阅图3所示,是本发明多数据源数据同步系统20一实施例的功能模块图。本实施例中,所述的多数据源数据同步系统20可以被分割成一个或多个模块,所述一个或者多个模块被存储于所述存储器21中,并由一个或多个处理器(本实施例中为所述处理器22)所执行,以完成本发明。例如,在图3中,所述的多数据源数据同步系统20可以被分割成连接模块201、任务生成模块202、以及数据同步模块203。本发明所称的功能模块是指能够完成特定功能的一系列计算机程序指令段,比程序更适合于描述所述多数据源数据同步系统20在所述应用服务器2中的执行过程。以下将就各功能模块201-203的功能进行详细描述。Referring to FIG. 3, it is a functional block diagram of an embodiment of the multi-data source data synchronization system 20 of the present invention. In this embodiment, the multi-data source data synchronization system 20 may be divided into one or more modules, the one or more modules being stored in the memory 21 and being processed by one or more processors ( This embodiment is executed by the processor 22) to complete the present invention. For example, in FIG. 3, the multi-data source data synchronization system 20 can be divided into a connection module 201, a task generation module 202, and a data synchronization module 203. The functional module referred to in the present invention refers to a series of computer program instruction segments capable of performing a specific function, and is more suitable than the program to describe the execution process of the multi-data source data synchronization system 20 in the application server 2. The functions of the respective function modules 201-203 will be described in detail below.
所述连接模块201,用于建立一数据平台4与至少一个数据源5的第一连接(或称其为第一类连接),并建立该数据平台4与一应用服务器2(如解析服务器)的第二连接(或称其为第二类连接)。The connection module 201 is configured to establish a first connection (or a first type of connection) between the data platform 4 and the at least one data source 5, and establish the data platform 4 and an application server 2 (such as a resolution server). The second connection (or the second type of connection).
优选地,在本实施例中,所述数据平台4采用Hadoop数据平台,并通过该数据平台4中的数据传输工具建立该数据平台4与各数据源5的第一连接。例如,所述数据传输工具为Hadoop中设置的Sqoop工具。本领域技术人员应当可以理解,在其它实施例中,所述数据平台和数据传输工具也可以采用其它类型。Preferably, in the embodiment, the data platform 4 adopts a Hadoop data platform, and establishes a first connection between the data platform 4 and each data source 5 through a data transmission tool in the data platform 4. For example, the data transfer tool is a Sqoop tool set in Hadoop. Those skilled in the art will appreciate that in other embodiments, the data platform and data transfer tool may be of other types.
所述任务生成模块202,用于接收用户选择的需要同步的源表(部分或全部)和数据源类型,根据预先解析获得的各数据源的源表结构,生成各数据源对应的建表任务和数据同步任务(或称其为数据抽取任务)。The task generation module 202 is configured to receive a source table (partial or all) and a data source type that are selected by the user to be synchronized, and generate a table-building task corresponding to each data source according to the source table structure of each data source obtained in advance. Synchronize tasks with data (or as data extraction tasks).
优选地,在本实施例中,所述数据源类型包括,但不限于,第一类型数据源(如MS SQL Server数据源),第二类型数据源(如Oracle数据源),第 三类型数据源(如MySQL数据源)等。本领域技术人员应当可以理解,在其它实施例中,所述数据源类型的数量,也可以根据不同数据平台的需求增加或减少。例如,用户可以选择同步第一类型数据源中的部分源表。Preferably, in this embodiment, the data source type includes, but is not limited to, a first type of data source (such as an MS SQL Server data source), and a second type of data source (such as an Oracle data source), Three types of data sources (such as MySQL data sources). Those skilled in the art should understand that in other embodiments, the number of data source types may also be increased or decreased according to the requirements of different data platforms. For example, a user may choose to synchronize a portion of the source table in the first type of data source.
优选地,在本实施例中,所述数据源5的源表结构包括,但不限于,各数据源5的数据类型和包含的字段信息等。Preferably, in this embodiment, the source table structure of the data source 5 includes, but is not limited to, a data type of each data source 5, field information included, and the like.
优选地,在本实施例中,所述应用服务器2中设置有各数据源5相应的解析脚本文件,通过并行调度机制,控制所述数据平台4中的数据传输工具并行执行各解析脚本文件中的源表结构解析任务,解析获得各数据源的源表结构,并通过所述第二连接将解析获得的各数据源的源表结构返回至所述应用服务器2。Preferably, in the embodiment, the application server 2 is provided with a corresponding parsing script file of each data source 5, and the data transfer tool in the data platform 4 is controlled to execute each parsing script file in parallel through a parallel scheduling mechanism. The source table structure parsing task, parsing the source table structure of each data source, and returning the source table structure of each data source obtained by the parsing to the application server 2 through the second connection.
优选地,在本实施例中,所述生成各数据源对应的建表任务包括:根据用户选择的需要同步的源表(部分或全部)和各源表的类型,生成与该选择的源表类型对应的目标表。所述源表类型包括,但不限于,第一类型维度表(即数据量小,关联配置使用的源表)、第二类型任务表(即表中数据不断有更新和新增,且当天会更新当天除外的历史数据)、第三类型流水表(即表中数据不断有新增,且当天不会更新当天除外的历史数据)。Preferably, in this embodiment, the generating a table-building task corresponding to each data source includes: generating a source table with the selected source table according to a source table (partial or all) and a source table type that are selected by the user to be synchronized. The target table corresponding to the type. The source table type includes, but is not limited to, a first type dimension table (ie, a small amount of data, a source table used by the associated configuration), and a second type task table (ie, the data in the table is continuously updated and added, and the same day Update the historical data except the day), the third type of flow meter (that is, the data in the table is constantly added, and the historical data except the day will not be updated on the same day).
具体而言,若用户选择的需要同步的源表类型为第一类型维度表(即数据量小,关联配置使用的源表),则生成与所述第一类型维度表的源表结构对应的第一类型目标表,其中,所述第一类型目标表的数量根据所述用户选择的需要同步的第一类型源表数量确定。Specifically, if the source table type selected by the user to be synchronized is the first type dimension table (that is, the source table is small, the source table used by the association configuration), the source table structure corresponding to the first type dimension table is generated. a first type of target table, wherein the number of the first type of target tables is determined according to the number of first type source tables selected by the user that need to be synchronized.
若用户选择的需要同步的源表类型为第二类型任务表(即表中数据不断有更新和新增,且当天会更新当天除外的历史数据),则生成与所述第二类型任务表的源表结构对应的第二类型目标表,其中,所述第二类型目标表的数量根据所述用户选择的需要同步的第二类型源表数量确定。If the source table type selected by the user to be synchronized is the second type task table (that is, the data in the table is continuously updated and added, and the historical data except the day is updated on the same day), the second type task table is generated. The second type target table corresponding to the source table structure, wherein the number of the second type target table is determined according to the number of the second type source table that the user selects to synchronize.
若用户选择的需要同步的源表类型为第三类型流水表(即表中数据不断有新增,且当天不会更新当天除外的历史数据),则生成与所述第三类型流水表的源表结构对应的第三类型目标表,其中,所述第三类型目标表的数量根据所述用户选择的需要同步的第三类型源表数量确定。If the source table type selected by the user to be synchronized is the third type of flow table (that is, the data in the table is continuously added, and the historical data except the day is not updated on the day), the source of the third type of the flow table is generated. The third type target table corresponding to the table structure, wherein the number of the third type target table is determined according to the number of the third type source table selected by the user to be synchronized.
优选地,在本实施例中,所述生成各数据源对应的数据同步任务包括:Preferably, in this embodiment, the generating a data synchronization task corresponding to each data source includes:
根据用户选择的需要同步的开始时间和结束时间确定从各源表开始抽取数据的时间和停止抽取数据的时间;Determining the time to extract data from each source table and the time to stop extracting data according to the start time and end time selected by the user that need to be synchronized;
根据用户选择的需要同步的源表数量及同步的目标端用户确定数据同步各个任务所需的资源配置(如CPU、内存和磁盘等)和资源管理节点,其中,所述资源配置可以通过列表方式实现,所述资源管理节点可以采用Hadoop资源表示模型和资源分配模型实现;According to the number of source tables that the user needs to synchronize and the target users of the synchronization, the resource configuration (such as CPU, memory, disk, etc.) and resource management nodes required for data synchronization of each task are determined, wherein the resource configuration can be listed by means of a list. Implementation, the resource management node may be implemented by using a Hadoop resource representation model and a resource allocation model;
建立所述需要同步的源表的相应字段与所述生成的各目标表的相应字段的对应关系,并根据源表与目标表相应字段的对应关系生成各源表对应的数据抽取任务。And establishing a correspondence between the corresponding field of the source table that needs to be synchronized and the corresponding field of each generated target table, and generating a data extraction task corresponding to each source table according to the correspondence between the source table and the corresponding field of the target table.
具体而言,若用户选择的需要同步的源表类型为第一类型维度表,则建 立所述需要同步的第一类型维度表的相应字段与所述生成的各第一类型目标表的相应字段的对应关系,并根据第一类型维度表与第一类型目标表相应字段的对应关系生成各第一类型维度表对应的数据抽取任务;Specifically, if the source table type selected by the user to be synchronized is the first type dimension table, Corresponding relationship between the corresponding field of the first type dimension table that needs to be synchronized and the corresponding field of each generated first type target table, and according to the corresponding relationship between the first type dimension table and the corresponding field of the first type target table Generating a data extraction task corresponding to each first type dimension table;
若用户选择的需要同步的源表类型为第二类型任务表,则建立所述需要同步的第二类型任务表的相应字段与所述生成的各第二类型目标表的相应字段的对应关系,并根据第二类型任务表与第二类型目标表相应字段的对应关系生成各第二类型任务表对应的数据抽取任务;If the source table type that is selected by the user to be synchronized is the second type task table, the corresponding relationship between the corresponding field of the second type task table that needs to be synchronized and the corresponding field of each generated second type target table is established. And generating a data extraction task corresponding to each second type task table according to the correspondence between the second type task table and the corresponding field of the second type target table;
若用户选择的需要同步的源表类型为第三类型流水表,则建立所述需要同步的第三类型流水表的相应字段与所述生成的各第三类型目标表的相应字段的对应关系,并根据第三类型流水表与第三类型目标表相应字段的对应关系生成各第三类型流水表对应的数据抽取任务。If the source table type that is selected by the user to be synchronized is the third type of flow table, the corresponding relationship between the corresponding field of the third type of flow table that needs to be synchronized and the corresponding field of each generated third type target table is established. And generating a data extraction task corresponding to each third type of flow table according to the correspondence between the third type of flow table and the corresponding field of the third type target table.
所述数据同步模块203,用于将所述生成的各数据源对应的建表任务和数据同步任务发布至预设的工作流调度引擎(如oozie调度引擎),通过该预设的工作流调度引擎执行各数据源对应的建表任务和数据同步任务。The data synchronization module 203 is configured to advertise the built-up task and the data synchronization task corresponding to each generated data source to a preset workflow scheduling engine (such as an oozie scheduling engine), and schedule the workflow through the preset workflow. The engine executes the task of creating a table and data synchronization corresponding to each data source.
优选地,在本实施例中,所述数据同步任务的执行包括:Preferably, in this embodiment, the performing of the data synchronization task includes:
若用户选择的需要同步的开始时间到达,则启动各数据源对应的数据同步各个任务,获取数据同步各个任务所需的资源配置,从各源表中分别抽取相应字段对应的数据(元数据信息),并将抽取的数据分别存入各目标表的相应字段。If the start time that the user needs to synchronize is reached, the data corresponding to each data source is started to synchronize each task, the resource configuration required for each task of data synchronization is acquired, and the data corresponding to the corresponding field is extracted from each source table (metadata information) ), and the extracted data is stored in the corresponding fields of each target table.
具体而言,若用户选择的需要同步的源表类型为第一类型维度表,则从各第一类型维度表中分别抽取相应字段对应的第一数据,并将抽取的第一数据分别存入各第一类型目标表的相应字段;Specifically, if the source table type that is selected by the user to be synchronized is the first type dimension table, the first data corresponding to the corresponding field is respectively extracted from each first type dimension table, and the extracted first data is separately stored. Corresponding fields of each type of target table;
若用户选择的需要同步的源表类型为第二类型任务表,则从各第二类型任务表中分别抽取相应字段对应的第二数据,并将抽取的第二数据分别存入各第二类型目标表的相应字段;If the source table type that is selected by the user to be synchronized is the second type task table, the second data corresponding to the corresponding field is respectively extracted from each second type task table, and the extracted second data is separately stored in each second type. The corresponding field of the target table;
若用户选择的需要同步的源表类型为第三类型流水表,则从各第三类型流水表中分别抽取相应字段对应的第三数据,并将抽取的第三数据分别存入各第三类型目标表的相应字段。If the source table type selected by the user to be synchronized is the third type of flow table, the third data corresponding to the corresponding field is respectively extracted from each third type of flow table, and the extracted third data is separately stored in each third type. The corresponding field of the target table.
优选地,在其它实施例中,所述多数据源数据同步系统20被所述处理器22执行时,还实现如下步骤:Preferably, in other embodiments, when the multi-data source data synchronization system 20 is executed by the processor 22, the following steps are also implemented:
通过并行调度机制,控制所述预设的工作流调度引擎并行执行各数据源对应的建表任务和数据同步任务,从各源表中分别抽取相应字段对应的数据,并将抽取的数据分别存入各目标表的相应字段。Controlling, by the parallel scheduling mechanism, the preset workflow scheduling engine to execute the table construction task and the data synchronization task corresponding to each data source in parallel, extracting data corresponding to the corresponding fields from each source table, and storing the extracted data separately Enter the corresponding fields in each target table.
通过上述功能模块201-203,本发明所提出的多数据源数据同步系统20,根据用户选择的需要同步的源表和数据源类型,自动生成各数据源对应的建表任务和数据同步任务,并将所述生成的各数据源对应的建表任务和数据同步任务自动发布至预设的工作流调度引擎,通过该预设的工作流调度引擎调度执行所述建表任务和数据同步任务,实现一站式数据同步服务,省却了开发人员的开发、测试和部署流程,整个数据同步流程实现了全自动作业,既 节省了开发成本,又降低了开发人员的出错风险。Through the above-mentioned function modules 201-203, the multi-data source data synchronization system 20 of the present invention automatically generates a table-building task and a data synchronization task corresponding to each data source according to the source table and the data source type selected by the user. And automatically generating the table-building task and the data synchronization task corresponding to the generated data source to a preset workflow scheduling engine, and scheduling, by using the preset workflow scheduling engine, the table-building task and the data synchronization task, A one-stop data synchronization service eliminates the development, testing, and deployment process of developers, and the entire data synchronization process enables fully automated operations. It saves development costs and reduces the risk of error for developers.
此外,本发明还提出一种多数据源数据同步方法。In addition, the present invention also proposes a multi-data source data synchronization method.
参阅图4所示,是本发明多数据源数据同步方法一实施例的实施流程示意图。在本实施例中,根据不同的需求,图4所示的流程图中的步骤的执行顺序可以改变,某些步骤可以省略。Referring to FIG. 4, it is a schematic flowchart of an implementation manner of an embodiment of a multi-data source data synchronization method according to the present invention. In this embodiment, the order of execution of the steps in the flowchart shown in FIG. 4 may be changed according to different requirements, and some steps may be omitted.
步骤S41,建立一数据平台4与至少一个数据源5的第一连接(或称其为第一类连接),并建立该数据平台4与一应用服务器2(如解析服务器)的第二连接(或称其为第二类连接)。Step S41, establishing a first connection (or a first type of connection) between the data platform 4 and the at least one data source 5, and establishing a second connection between the data platform 4 and an application server 2 (such as a resolution server) ( Or call it the second type of connection).
优选地,在本实施例中,所述数据平台4采用Hadoop数据平台,并通过该数据平台4中的数据传输工具建立该数据平台4与各数据源5的第一连接。例如,所述数据传输工具为Hadoop中设置的Sqoop工具。本领域技术人员应当可以理解,在其它实施例中,所述数据平台和数据传输工具也可以采用其它类型。Preferably, in the embodiment, the data platform 4 adopts a Hadoop data platform, and establishes a first connection between the data platform 4 and each data source 5 through a data transmission tool in the data platform 4. For example, the data transfer tool is a Sqoop tool set in Hadoop. Those skilled in the art will appreciate that in other embodiments, the data platform and data transfer tool may be of other types.
步骤S42,接收用户选择的需要同步的源表(部分或全部)和数据源类型,根据预先解析获得的各数据源的源表结构,生成各数据源对应的建表任务和数据同步任务(或称其为数据抽取任务)。Step S42, receiving a source table (partial or all) and a data source type that are selected by the user to be synchronized, and generating a table construction task and a data synchronization task corresponding to each data source according to the source table structure of each data source obtained by pre-parsing (or Call it a data extraction task).
优选地,在本实施例中,所述数据源类型包括,但不限于,第一类型数据源(如MS SQL Server数据源),第二类型数据源(如Oracle数据源),第三类型数据源(如MySQL数据源)等。本领域技术人员应当可以理解,在其它实施例中,所述数据源类型的数量,也可以根据不同数据平台的需求增加或减少。例如,用户可以选择同步第一类型数据源中的部分源表。Preferably, in this embodiment, the data source type includes, but is not limited to, a first type of data source (such as an MS SQL Server data source), a second type of data source (such as an Oracle data source), and a third type of data. Source (such as MySQL data source) and so on. Those skilled in the art should understand that in other embodiments, the number of data source types may also be increased or decreased according to the requirements of different data platforms. For example, a user may choose to synchronize a portion of the source table in the first type of data source.
优选地,在本实施例中,所述数据源5的源表结构包括,但不限于,各数据源5的数据类型和包含的字段信息等。Preferably, in this embodiment, the source table structure of the data source 5 includes, but is not limited to, a data type of each data source 5, field information included, and the like.
优选地,在本实施例中,所述应用服务器2中设置有各数据源5相应的解析脚本文件,通过并行调度机制,控制所述数据平台4中的数据传输工具并行执行各解析脚本文件中的源表结构解析任务,解析获得各数据源的源表结构,并通过所述第二连接将解析获得的各数据源的源表结构返回至所述应用服务器2。Preferably, in the embodiment, the application server 2 is provided with a corresponding parsing script file of each data source 5, and the data transfer tool in the data platform 4 is controlled to execute each parsing script file in parallel through a parallel scheduling mechanism. The source table structure parsing task, parsing the source table structure of each data source, and returning the source table structure of each data source obtained by the parsing to the application server 2 through the second connection.
优选地,在本实施例中,所述生成各数据源对应的建表任务包括:根据用户选择的需要同步的源表(部分或全部)和各源表的类型,生成与该选择的源表类型对应的目标表。优选地,在本实施例中,所述源表类型包括,但不限于,第一类型维度表(即数据量小,关联配置使用的源表)、第二类型任务表(即表中数据不断有更新和新增,且当天会更新当天除外的历史数据)、第三类型流水表(即表中数据不断有新增,且当天不会更新当天除外的历史数据)。Preferably, in this embodiment, the generating a table-building task corresponding to each data source includes: generating a source table with the selected source table according to a source table (partial or all) and a source table type that are selected by the user to be synchronized. The target table corresponding to the type. Preferably, in this embodiment, the source table type includes, but is not limited to, a first type dimension table (ie, a small amount of data, a source table used by an associated configuration), and a second type task table (ie, data in the table continuously) There are updates and additions, and the historical data except the day will be updated on the same day), and the third type of flow table (that is, the data in the table is continuously added, and the historical data except the day is not updated on the same day).
具体而言,若用户选择的需要同步的源表类型为第一类型维度表(即数据量小,关联配置使用的源表),则生成与所述第一类型维度表的源表结构对应的第一类型目标表,其中,所述第一类型目标表的数量根据所述用户选择 的需要同步的第一类型源表数量确定。Specifically, if the source table type selected by the user to be synchronized is the first type dimension table (that is, the source table is small, the source table used by the association configuration), the source table structure corresponding to the first type dimension table is generated. a first type of target table, wherein the number of the first type of target tables is selected according to the user The number of source tables that need to be synchronized is determined by the number of source tables.
若用户选择的需要同步的源表类型为第二类型任务表(即表中数据不断有更新和新增,且当天会更新当天除外的历史数据),则生成与所述第二类型任务表的源表结构对应的第二类型目标表,其中,所述第二类型目标表的数量根据所述用户选择的需要同步的第二类型源表数量确定。If the source table type selected by the user to be synchronized is the second type task table (that is, the data in the table is continuously updated and added, and the historical data except the day is updated on the same day), the second type task table is generated. The second type target table corresponding to the source table structure, wherein the number of the second type target table is determined according to the number of the second type source table that the user selects to synchronize.
若用户选择的需要同步的源表类型为第三类型流水表(即表中数据不断有新增,且当天不会更新当天除外的历史数据),则生成与所述第三类型流水表的源表结构对应的第三类型目标表,其中,所述第三类型目标表的数量根据所述用户选择的需要同步的第三类型源表数量确定。If the source table type selected by the user to be synchronized is the third type of flow table (that is, the data in the table is continuously added, and the historical data except the day is not updated on the day), the source of the third type of the flow table is generated. The third type target table corresponding to the table structure, wherein the number of the third type target table is determined according to the number of the third type source table selected by the user to be synchronized.
优选地,在本实施例中,所述生成各数据源对应的数据同步任务包括:Preferably, in this embodiment, the generating a data synchronization task corresponding to each data source includes:
根据用户选择的需要同步的开始时间和结束时间确定从各源表开始抽取数据的时间和停止抽取数据的时间;Determining the time to extract data from each source table and the time to stop extracting data according to the start time and end time selected by the user that need to be synchronized;
根据用户选择的需要同步的源表数量及同步的目标端用户确定数据同步各个任务所需的资源配置(如CPU、内存和磁盘等)和资源管理节点,其中,所述资源配置可以通过列表方式实现,所述资源管理节点可以采用Hadoop资源表示模型和资源分配模型实现;According to the number of source tables that the user needs to synchronize and the target users of the synchronization, the resource configuration (such as CPU, memory, disk, etc.) and resource management nodes required for data synchronization of each task are determined, wherein the resource configuration can be listed by means of a list. Implementation, the resource management node may be implemented by using a Hadoop resource representation model and a resource allocation model;
建立所述需要同步的源表的相应字段与所述生成的各目标表的相应字段的对应关系,并根据源表与目标表相应字段的对应关系生成各源表对应的数据抽取任务。And establishing a correspondence between the corresponding field of the source table that needs to be synchronized and the corresponding field of each generated target table, and generating a data extraction task corresponding to each source table according to the correspondence between the source table and the corresponding field of the target table.
具体而言,若用户选择的需要同步的源表类型为第一类型维度表,则建立所述需要同步的第一类型维度表的相应字段与所述生成的各第一类型目标表的相应字段的对应关系,并根据第一类型维度表与第一类型目标表相应字段的对应关系生成各第一类型维度表对应的数据抽取任务;Specifically, if the source table type that the user selects to synchronize is the first type dimension table, the corresponding field of the first type dimension table that needs to be synchronized and the corresponding field of each generated first type target table are established. Corresponding relationship, and generating a data extraction task corresponding to each first type dimension table according to the correspondence between the first type dimension table and the corresponding field of the first type target table;
若用户选择的需要同步的源表类型为第二类型任务表,则建立所述需要同步的第二类型任务表的相应字段与所述生成的各第二类型目标表的相应字段的对应关系,并根据第二类型任务表与第二类型目标表相应字段的对应关系生成各第二类型任务表对应的数据抽取任务;If the source table type that is selected by the user to be synchronized is the second type task table, the corresponding relationship between the corresponding field of the second type task table that needs to be synchronized and the corresponding field of each generated second type target table is established. And generating a data extraction task corresponding to each second type task table according to the correspondence between the second type task table and the corresponding field of the second type target table;
若用户选择的需要同步的源表类型为第三类型流水表,则建立所述需要同步的第三类型流水表的相应字段与所述生成的各第三类型目标表的相应字段的对应关系,并根据第三类型流水表与第三类型目标表相应字段的对应关系生成各第三类型流水表对应的数据抽取任务。If the source table type that is selected by the user to be synchronized is the third type of flow table, the corresponding relationship between the corresponding field of the third type of flow table that needs to be synchronized and the corresponding field of each generated third type target table is established. And generating a data extraction task corresponding to each third type of flow table according to the correspondence between the third type of flow table and the corresponding field of the third type target table.
步骤S43,将所述生成的各数据源对应的建表任务和数据同步任务发布至预设的工作流调度引擎(如oozie调度引擎),通过该预设的工作流调度引擎执行各数据源对应的建表任务和数据同步任务。Step S43: Publish the built-up task and the data synchronization task corresponding to the generated data sources to a preset workflow scheduling engine (such as an oozie scheduling engine), and execute corresponding data sources by using the preset workflow scheduling engine. The task of building tables and data synchronization tasks.
优选地,在本实施例中,所述数据同步任务的执行包括:Preferably, in this embodiment, the performing of the data synchronization task includes:
若用户选择的需要同步的开始时间到达,则启动各数据源对应的数据同步各个任务,获取数据同步各个任务所需的资源配置,从各源表中分别抽取相应字段对应的数据(元数据信息),并将抽取的数据分别存入各目标表的相应字段。 If the start time that the user needs to synchronize is reached, the data corresponding to each data source is started to synchronize each task, the resource configuration required for each task of data synchronization is acquired, and the data corresponding to the corresponding field is extracted from each source table (metadata information) ), and the extracted data is stored in the corresponding fields of each target table.
具体而言,若用户选择的需要同步的源表类型为第一类型维度表,则从各第一类型维度表中分别抽取相应字段对应的第一数据,并将抽取的第一数据分别存入各第一类型目标表的相应字段;Specifically, if the source table type that is selected by the user to be synchronized is the first type dimension table, the first data corresponding to the corresponding field is respectively extracted from each first type dimension table, and the extracted first data is separately stored. Corresponding fields of each type of target table;
若用户选择的需要同步的源表类型为第二类型任务表,则从各第二类型任务表中分别抽取相应字段对应的第二数据,并将抽取的第二数据分别存入各第二类型目标表的相应字段;If the source table type that is selected by the user to be synchronized is the second type task table, the second data corresponding to the corresponding field is respectively extracted from each second type task table, and the extracted second data is separately stored in each second type. The corresponding field of the target table;
若用户选择的需要同步的源表类型为第三类型流水表,则从各第三类型流水表中分别抽取相应字段对应的第三数据,并将抽取的第三数据分别存入各第三类型目标表的相应字段。If the source table type selected by the user to be synchronized is the third type of flow table, the third data corresponding to the corresponding field is respectively extracted from each third type of flow table, and the extracted third data is separately stored in each third type. The corresponding field of the target table.
优选地,在其它实施例中,该方法还包括步骤:Preferably, in other embodiments, the method further comprises the steps of:
通过并行调度机制,控制所述预设的工作流调度引擎并行执行各数据源对应的建表任务和数据同步任务,从各源表中分别抽取相应字段对应的数据,并将抽取的数据分别存入各目标表的相应字段。Controlling, by the parallel scheduling mechanism, the preset workflow scheduling engine to execute the table construction task and the data synchronization task corresponding to each data source in parallel, extracting data corresponding to the corresponding fields from each source table, and storing the extracted data separately Enter the corresponding fields in each target table.
通过上述步骤S41-S43,本发明所提出的多数据源数据同步方法,根据用户选择的需要同步的源表和数据源类型,自动生成各数据源对应的建表任务和数据同步任务,并将所述生成的各数据源对应的建表任务和数据同步任务自动发布至预设的工作流调度引擎,通过该预设的工作流调度引擎调度执行所述建表任务和数据同步任务,实现一站式数据同步服务,省却了开发人员的开发、测试和部署流程,整个数据同步流程实现了全自动作业,既节省了开发成本,又降低了开发人员的出错风险。Through the above steps S41-S43, the multi-data source data synchronization method proposed by the present invention automatically generates a table-building task and a data synchronization task corresponding to each data source according to the source table and the data source type selected by the user to be synchronized, and The generated table-building task and the data synchronization task corresponding to each generated data source are automatically advertised to a preset workflow scheduling engine, and the preset workflow task scheduling engine executes the table-building task and the data synchronization task to implement one The station-based data synchronization service eliminates the developer's development, testing, and deployment processes, and the entire data synchronization process enables fully automated operations, saving development costs and reducing developer error risk.
进一步地,为实现上述目的,本发明还提供一种计算机可读存储介质(如ROM/RAM、磁碟、光盘),所述计算机可读存储介质存储有多数据源数据同步系统20,所述多数据源数据同步系统20可被至少一个处理器22执行,以使所述至少一个处理器执行如上所述的多数据源数据同步方法的步骤。Further, in order to achieve the above object, the present invention further provides a computer readable storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), the computer readable storage medium storing a multiple data source data synchronization system 20, The multiple data source data synchronization system 20 can be executed by at least one processor 22 to cause the at least one processor to perform the steps of the multiple data source data synchronization method as described above.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件来实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and can also be implemented by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上参照附图说明了本发明的优选实施例,并非因此局限本发明的权利范围。上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。另外,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The preferred embodiments of the present invention have been described above with reference to the drawings, and are not intended to limit the scope of the invention. The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments. Additionally, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
本领域技术人员不脱离本发明的范围和实质,可以有多种变型方案实现本发明,比如作为一个实施例的特征可用于另一实施例而得到又一实施例。凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接 或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。 A person skilled in the art can implement the invention in various variants without departing from the scope and spirit of the invention. For example, the features of one embodiment can be used in another embodiment to obtain a further embodiment. Equivalent structure or equivalent process transformation using the description of the invention and the contents of the drawings, or directly Or indirectly, in other related technical fields, it is equally included in the scope of patent protection of the present invention.

Claims (20)

  1. 一种应用服务器,其特征在于,所述应用服务器包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的多数据源数据同步系统,所述多数据源数据同步系统被所述处理器执行时实现如下步骤:An application server, comprising: a memory, a processor, and a multi-data source data synchronization system stored on the memory and operable on the processor, the multi-data source data synchronization system The following steps are implemented when executed by the processor:
    建立一数据平台与至少一个数据源的第一连接,并建立该数据平台与该应用服务器的第二连接;Establishing a first connection between the data platform and the at least one data source, and establishing a second connection between the data platform and the application server;
    接收用户选择的需要同步的源表和数据源类型,根据预先解析获得的各数据源的源表结构,生成各数据源对应的建表任务和数据同步任务;及Receiving a source table and a data source type that are selected by the user to be synchronized, and generating a table construction task and a data synchronization task corresponding to each data source according to the source table structure of each data source obtained by the pre-parsing;
    将所述生成的各数据源对应的建表任务和数据同步任务发布至预设的工作流调度引擎,通过该预设的工作流调度引擎执行各数据源对应的建表任务和数据同步任务。The built-up task and the data synchronization task corresponding to each generated data source are sent to a preset workflow scheduling engine, and the preset workflow scheduling engine executes the table-building task and the data synchronization task corresponding to each data source.
  2. 如权利要求1所述的应用服务器,其特征在于,所述生成各数据源对应的建表任务包括:根据用户选择的需要同步的源表和各源表的类型,生成与该选择的源表类型对应的目标表。The application server according to claim 1, wherein the generating a table-building task corresponding to each data source comprises: generating a source table with the selected source table according to a source table and a source table type that are selected by the user to be synchronized The target table corresponding to the type.
  3. 如权利要求2所述的应用服务器,其特征在于,所述生成各数据源对应的建表任务包括:The application server according to claim 2, wherein the generating a table-building task corresponding to each data source comprises:
    若用户选择的需要同步的源表类型为第一类型维度表,则生成与所述第一类型维度表的源表结构对应的第一类型目标表,所述第一类型目标表的数量根据所述用户选择的需要同步的第一类型源表数量确定;If the source table type that the user selects to synchronize is the first type dimension table, generate a first type target table corresponding to the source table structure of the first type dimension table, and the number of the first type target table is determined according to the Determining the number of source types of the first type that the user selects to synchronize;
    若用户选择的需要同步的源表类型为第二类型任务表,则生成与所述第二类型任务表的源表结构对应的第二类型目标表,所述第二类型目标表的数量根据所述用户选择的需要同步的第二类型源表数量确定;及If the source table type that the user selects to synchronize is the second type task table, generate a second type target table corresponding to the source table structure of the second type task table, and the number of the second type target table is determined according to the Determining the number of source types selected by the user that need to be synchronized; and
    若用户选择的需要同步的源表类型为第三类型流水表,则生成与所述第三类型流水表的源表结构对应的第三类型目标表,所述第三类型目标表的数量根据所述用户选择的需要同步的第三类型源表数量确定。If the source table type that the user selects to synchronize is the third type of flow table, generate a third type target table corresponding to the source table structure of the third type of flow table, and the number of the third type of target table is determined according to the The number of source tables selected by the user that need to be synchronized is determined.
  4. 如权利要求2或3所述的应用服务器,其特征在于,所述生成各数据源对应的数据同步任务包括:The application server according to claim 2 or 3, wherein the generating a data synchronization task corresponding to each data source comprises:
    根据用户选择的需要同步的开始时间和结束时间确定从各源表开始抽取数据的时间和停止抽取数据的时间;Determining the time to extract data from each source table and the time to stop extracting data according to the start time and end time selected by the user that need to be synchronized;
    根据用户选择的需要同步的源表数量及同步的目标端用户确定数据同步各个任务所需的资源配置和资源管理节点;及According to the number of source tables selected by the user to be synchronized and the synchronized target end users, the resource configuration and resource management nodes required for data synchronization tasks are determined;
    建立所述需要同步的源表的相应字段与所述生成的各目标表的相应字段的对应关系,并根据源表与目标表相应字段的对应关系生成各源表对应的数据抽取任务。 And establishing a correspondence between the corresponding field of the source table that needs to be synchronized and the corresponding field of each generated target table, and generating a data extraction task corresponding to each source table according to the correspondence between the source table and the corresponding field of the target table.
  5. 如权利要求4所述的应用服务器法,其特征在于,所述数据同步任务的执行包括:The application server method according to claim 4, wherein the execution of the data synchronization task comprises:
    若用户选择的需要同步的开始时间到达,则启动各数据源对应的数据同步各个任务,获取数据同步各个任务所需的资源配置,从各源表中分别抽取相应字段对应的数据,并将抽取的数据分别存入各目标表的相应字段。If the start time that the user needs to synchronize is reached, the data corresponding to each data source is started to synchronize each task, the resource configuration required for each task of data synchronization is obtained, and the data corresponding to the corresponding field is extracted from each source table, and the data is extracted. The data is stored in the corresponding fields of each target table.
  6. 一种多数据源数据同步方法,应用于应用服务器,其特征在于,所述方法包括:A multi-data source data synchronization method is applied to an application server, and the method includes:
    建立一数据平台与至少一个数据源的第一连接,并建立该数据平台与该应用服务器的第二连接;Establishing a first connection between the data platform and the at least one data source, and establishing a second connection between the data platform and the application server;
    接收用户选择的需要同步的源表和数据源类型,根据预先解析获得的各数据源的源表结构,生成各数据源对应的建表任务和数据同步任务;及Receiving a source table and a data source type that are selected by the user to be synchronized, and generating a table construction task and a data synchronization task corresponding to each data source according to the source table structure of each data source obtained by the pre-parsing;
    将所述生成的各数据源对应的建表任务和数据同步任务发布至预设的工作流调度引擎,通过该预设的工作流调度引擎执行各数据源对应的建表任务和数据同步任务。The built-up task and the data synchronization task corresponding to each generated data source are sent to a preset workflow scheduling engine, and the preset workflow scheduling engine executes the table-building task and the data synchronization task corresponding to each data source.
  7. 如权利要求6所述的多数据源数据同步方法,其特征在于,所述生成各数据源对应的建表任务包括:根据用户选择的需要同步的源表和各源表的类型,生成与该选择的源表类型对应的目标表。The multi-data source data synchronization method according to claim 6, wherein the generating a table-building task corresponding to each data source comprises: generating, according to a source table and a source table type that are selected by the user to be synchronized The target table corresponding to the selected source table type.
  8. 如权利要求7所述的多数据源数据同步方法,其特征在于,所述生成各数据源对应的建表任务包括:The multi-data source data synchronization method according to claim 7, wherein the generating a table-building task corresponding to each data source comprises:
    若用户选择的需要同步的源表类型为第一类型维度表,则生成与所述第一类型维度表的源表结构对应的第一类型目标表,所述第一类型目标表的数量根据所述用户选择的需要同步的第一类型源表数量确定;If the source table type that the user selects to synchronize is the first type dimension table, generate a first type target table corresponding to the source table structure of the first type dimension table, and the number of the first type target table is determined according to the Determining the number of source types of the first type that the user selects to synchronize;
    若用户选择的需要同步的源表类型为第二类型任务表,则生成与所述第二类型任务表的源表结构对应的第二类型目标表,所述第二类型目标表的数量根据所述用户选择的需要同步的第二类型源表数量确定;及If the source table type that the user selects to synchronize is the second type task table, generate a second type target table corresponding to the source table structure of the second type task table, and the number of the second type target table is determined according to the Determining the number of source types selected by the user that need to be synchronized; and
    若用户选择的需要同步的源表类型为第三类型流水表,则生成与所述第三类型流水表的源表结构对应的第三类型目标表,所述第三类型目标表的数量根据所述用户选择的需要同步的第三类型源表数量确定。If the source table type that the user selects to synchronize is the third type of flow table, generate a third type target table corresponding to the source table structure of the third type of flow table, and the number of the third type of target table is determined according to the The number of source tables selected by the user that need to be synchronized is determined.
  9. 如权利要求7或8所述的多数据源数据同步方法,其特征在于,所述生成各数据源对应的数据同步任务包括:The multi-data source data synchronization method according to claim 7 or 8, wherein the generating a data synchronization task corresponding to each data source comprises:
    根据用户选择的需要同步的开始时间和结束时间确定从各源表开始抽取数据的时间和停止抽取数据的时间;Determining the time to extract data from each source table and the time to stop extracting data according to the start time and end time selected by the user that need to be synchronized;
    根据用户选择的需要同步的源表数量及同步的目标端用户确定数据同步各个任务所需的资源配置和资源管理节点;及According to the number of source tables selected by the user to be synchronized and the synchronized target end users, the resource configuration and resource management nodes required for data synchronization tasks are determined;
    建立所述需要同步的源表的相应字段与所述生成的各目标表的相应字段 的对应关系,并根据源表与目标表相应字段的对应关系生成各源表对应的数据抽取任务。Establishing a corresponding field of the source table that needs to be synchronized with a corresponding field of each generated target table The corresponding relationship, and the data extraction task corresponding to each source table is generated according to the correspondence between the source table and the corresponding field of the target table.
  10. 如权利要求9所述的多数据源数据同步方法,其特征在于,所述数据同步任务的执行包括:The multi-data source data synchronization method according to claim 9, wherein the performing of the data synchronization task comprises:
    若用户选择的需要同步的开始时间到达,则启动各数据源对应的数据同步各个任务,获取数据同步各个任务所需的资源配置,从各源表中分别抽取相应字段对应的数据,并将抽取的数据分别存入各目标表的相应字段。If the start time that the user needs to synchronize is reached, the data corresponding to each data source is started to synchronize each task, the resource configuration required for each task of data synchronization is obtained, and the data corresponding to the corresponding field is extracted from each source table, and the data is extracted. The data is stored in the corresponding fields of each target table.
  11. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有多数据源数据同步系统,所述多数据源数据同步系统可被至少一个处理器执行,以实现如下步骤:A computer readable storage medium, characterized in that the computer readable storage medium stores a multi data source data synchronization system, the multi data source data synchronization system being executable by at least one processor to implement the following steps:
    建立一数据平台与至少一个数据源的第一连接,并建立该数据平台与该应用服务器的第二连接;Establishing a first connection between the data platform and the at least one data source, and establishing a second connection between the data platform and the application server;
    接收用户选择的需要同步的源表和数据源类型,根据预先解析获得的各数据源的源表结构,生成各数据源对应的建表任务和数据同步任务;及Receiving a source table and a data source type that are selected by the user to be synchronized, and generating a table construction task and a data synchronization task corresponding to each data source according to the source table structure of each data source obtained by the pre-parsing;
    将所述生成的各数据源对应的建表任务和数据同步任务发布至预设的工作流调度引擎,通过该预设的工作流调度引擎执行各数据源对应的建表任务和数据同步任务。The built-up task and the data synchronization task corresponding to each generated data source are sent to a preset workflow scheduling engine, and the preset workflow scheduling engine executes the table-building task and the data synchronization task corresponding to each data source.
  12. 如权利要求11所述的计算机可读存储介质,其特征在于,所述生成各数据源对应的建表任务包括:根据用户选择的需要同步的源表和各源表的类型,生成与该选择的源表类型对应的目标表。The computer readable storage medium according to claim 11, wherein the generating a table-building task corresponding to each data source comprises: generating and selecting according to a source table and a source table type that are selected by the user to be synchronized. The target table corresponding to the source table type.
  13. 如权利要求12所述的计算机可读存储介质,其特征在于,所述生成各数据源对应的建表任务包括:The computer readable storage medium according to claim 12, wherein the generating a table-building task corresponding to each data source comprises:
    若用户选择的需要同步的源表类型为第一类型维度表,则生成与所述第一类型维度表的源表结构对应的第一类型目标表,所述第一类型目标表的数量根据所述用户选择的需要同步的第一类型源表数量确定;If the source table type that the user selects to synchronize is the first type dimension table, generate a first type target table corresponding to the source table structure of the first type dimension table, and the number of the first type target table is determined according to the Determining the number of source types of the first type that the user selects to synchronize;
    若用户选择的需要同步的源表类型为第二类型任务表,则生成与所述第二类型任务表的源表结构对应的第二类型目标表,所述第二类型目标表的数量根据所述用户选择的需要同步的第二类型源表数量确定;及If the source table type that the user selects to synchronize is the second type task table, generate a second type target table corresponding to the source table structure of the second type task table, and the number of the second type target table is determined according to the Determining the number of source types selected by the user that need to be synchronized; and
    若用户选择的需要同步的源表类型为第三类型流水表,则生成与所述第三类型流水表的源表结构对应的第三类型目标表,所述第三类型目标表的数量根据所述用户选择的需要同步的第三类型源表数量确定。If the source table type that the user selects to synchronize is the third type of flow table, generate a third type target table corresponding to the source table structure of the third type of flow table, and the number of the third type of target table is determined according to the The number of source tables selected by the user that need to be synchronized is determined.
  14. 如权利要求12或13所述的计算机可读存储介质,其特征在于,所述生成各数据源对应的数据同步任务包括:The computer readable storage medium according to claim 12 or 13, wherein the generating a data synchronization task corresponding to each data source comprises:
    根据用户选择的需要同步的开始时间和结束时间确定从各源表开始抽取 数据的时间和停止抽取数据的时间;According to the start time and end time that the user selects to synchronize, it is determined to start from each source table. The time of the data and the time at which the data is stopped;
    根据用户选择的需要同步的源表数量及同步的目标端用户确定数据同步各个任务所需的资源配置和资源管理节点;及According to the number of source tables selected by the user to be synchronized and the synchronized target end users, the resource configuration and resource management nodes required for data synchronization tasks are determined;
    建立所述需要同步的源表的相应字段与所述生成的各目标表的相应字段的对应关系,并根据源表与目标表相应字段的对应关系生成各源表对应的数据抽取任务。And establishing a correspondence between the corresponding field of the source table that needs to be synchronized and the corresponding field of each generated target table, and generating a data extraction task corresponding to each source table according to the correspondence between the source table and the corresponding field of the target table.
  15. 如权利要求14所述的计算机可读存储介质,其特征在于,所述数据同步任务的执行包括:The computer readable storage medium of claim 14, wherein the performing of the data synchronization task comprises:
    若用户选择的需要同步的开始时间到达,则启动各数据源对应的数据同步各个任务,获取数据同步各个任务所需的资源配置,从各源表中分别抽取相应字段对应的数据,并将抽取的数据分别存入各目标表的相应字段。If the start time that the user needs to synchronize is reached, the data corresponding to each data source is started to synchronize each task, the resource configuration required for each task of data synchronization is obtained, and the data corresponding to the corresponding field is extracted from each source table, and the data is extracted. The data is stored in the corresponding fields of each target table.
  16. 一种多数据源数据同步系统,其特征在于,该系统包括:A multi-data source data synchronization system, characterized in that the system comprises:
    连接模块,用于建立一数据平台与至少一个数据源的第一连接,并建立该数据平台与该应用服务器的第二连接;a connection module, configured to establish a first connection between the data platform and the at least one data source, and establish a second connection between the data platform and the application server;
    任务生成模块,用于接收用户选择的需要同步的源表和数据源类型,根据预先解析获得的各数据源的源表结构,生成各数据源对应的建表任务和数据同步任务;及The task generation module is configured to receive a source table and a data source type that are selected by the user and need to be synchronized, and generate a table construction task and a data synchronization task corresponding to each data source according to the source table structure of each data source obtained in advance; and
    数据同步模块,用于将所述生成的各数据源对应的建表任务和数据同步任务发布至预设的工作流调度引擎,通过该预设的工作流调度引擎执行各数据源对应的建表任务和数据同步任务。a data synchronization module, configured to: publish a table-building task and a data synchronization task corresponding to each generated data source to a preset workflow scheduling engine, and execute a table corresponding to each data source by using the preset workflow scheduling engine Task and data synchronization tasks.
  17. 如权利要求16所述的多数据源数据同步系统,其特征在于,所述生成各数据源对应的建表任务包括:根据用户选择的需要同步的源表和各源表的类型,生成与该选择的源表类型对应的目标表。The multi-data source data synchronization system according to claim 16, wherein the generating a table-building task corresponding to each data source comprises: generating, according to a source table and a source table type that are selected by the user to be synchronized. The target table corresponding to the selected source table type.
  18. 如权利要求17所述的多数据源数据同步系统,其特征在于,所述生成各数据源对应的建表任务包括:The multi-data source data synchronization system according to claim 17, wherein the generating a table-building task corresponding to each data source comprises:
    若用户选择的需要同步的源表类型为第一类型维度表,则生成与所述第一类型维度表的源表结构对应的第一类型目标表,所述第一类型目标表的数量根据所述用户选择的需要同步的第一类型源表数量确定;If the source table type that the user selects to synchronize is the first type dimension table, generate a first type target table corresponding to the source table structure of the first type dimension table, and the number of the first type target table is determined according to the Determining the number of source types of the first type that the user selects to synchronize;
    若用户选择的需要同步的源表类型为第二类型任务表,则生成与所述第二类型任务表的源表结构对应的第二类型目标表,所述第二类型目标表的数量根据所述用户选择的需要同步的第二类型源表数量确定;及If the source table type that the user selects to synchronize is the second type task table, generate a second type target table corresponding to the source table structure of the second type task table, and the number of the second type target table is determined according to the Determining the number of source types selected by the user that need to be synchronized; and
    若用户选择的需要同步的源表类型为第三类型流水表,则生成与所述第三类型流水表的源表结构对应的第三类型目标表,所述第三类型目标表的数量根据所述用户选择的需要同步的第三类型源表数量确定。 If the source table type that the user selects to synchronize is the third type of flow table, generate a third type target table corresponding to the source table structure of the third type of flow table, and the number of the third type of target table is determined according to the The number of source tables selected by the user that need to be synchronized is determined.
  19. 如权利要求17或18所述的多数据源数据同步系统,其特征在于,所述生成各数据源对应的数据同步任务包括:The multi-data source data synchronization system according to claim 17 or 18, wherein the generating a data synchronization task corresponding to each data source comprises:
    根据用户选择的需要同步的开始时间和结束时间确定从各源表开始抽取数据的时间和停止抽取数据的时间;Determining the time to extract data from each source table and the time to stop extracting data according to the start time and end time selected by the user that need to be synchronized;
    根据用户选择的需要同步的源表数量及同步的目标端用户确定数据同步各个任务所需的资源配置和资源管理节点;及According to the number of source tables selected by the user to be synchronized and the synchronized target end users, the resource configuration and resource management nodes required for data synchronization tasks are determined;
    建立所述需要同步的源表的相应字段与所述生成的各目标表的相应字段的对应关系,并根据源表与目标表相应字段的对应关系生成各源表对应的数据抽取任务。And establishing a correspondence between the corresponding field of the source table that needs to be synchronized and the corresponding field of each generated target table, and generating a data extraction task corresponding to each source table according to the correspondence between the source table and the corresponding field of the target table.
  20. 如权利要求19所述的多数据源数据同步系统,其特征在于,所述数据同步任务的执行包括:The multi-data source data synchronization system of claim 19, wherein the performing of the data synchronization task comprises:
    若用户选择的需要同步的开始时间到达,则启动各数据源对应的数据同步各个任务,获取数据同步各个任务所需的资源配置,从各源表中分别抽取相应字段对应的数据,并将抽取的数据分别存入各目标表的相应字段。 If the start time that the user needs to synchronize is reached, the data corresponding to each data source is started to synchronize each task, the resource configuration required for each task of data synchronization is obtained, and the data corresponding to the corresponding field is extracted from each source table, and the data is extracted. The data is stored in the corresponding fields of each target table.
PCT/CN2017/100051 2017-06-25 2017-08-31 Multi-data-source data synchronizing method and system, application server and computer readable storage medium WO2019000629A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710490443.7A CN107689982B (en) 2017-06-25 2017-06-25 Multi-data source data synchronization method, application server and computer readable storage medium
CN201710490443.7 2017-06-25

Publications (1)

Publication Number Publication Date
WO2019000629A1 true WO2019000629A1 (en) 2019-01-03

Family

ID=61152726

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100051 WO2019000629A1 (en) 2017-06-25 2017-08-31 Multi-data-source data synchronizing method and system, application server and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN107689982B (en)
WO (1) WO2019000629A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258742A (en) * 2020-02-17 2020-06-09 杭州依图医疗技术有限公司 Data synchronization method, system, computing device and storage medium
CN111694840A (en) * 2020-04-29 2020-09-22 平安科技(深圳)有限公司 Data synchronization method, device, server and storage medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656999B (en) * 2018-10-11 2024-03-15 平安科技(深圳)有限公司 Method, device, storage medium and apparatus for synchronizing large data volume data
CN109299150B (en) * 2018-10-24 2022-01-28 万惠投资管理有限公司 Configurable multi-data-source adaptation rule engine solution method
CN109710603B (en) * 2018-12-28 2020-11-24 江苏满运软件科技有限公司 Data cleaning method, system, storage medium and electronic equipment
CN109871407A (en) * 2019-01-23 2019-06-11 深圳壹账通智能科技有限公司 Excess reserve data real-time report method, apparatus, computer equipment and storage medium
CN110689245B (en) * 2019-09-17 2022-07-12 上海易点时空网络有限公司 Method and system for analyzing call relation of big data workflow
CN113542326B (en) * 2020-04-17 2023-04-25 上海际链网络科技有限公司 Data caching method and device of distributed system, server and storage medium
CN111582824B (en) * 2020-05-08 2023-03-24 北京青云科技股份有限公司 Cloud resource synchronization method, device, equipment and storage medium
CN111815200A (en) * 2020-07-31 2020-10-23 深圳壹账通智能科技有限公司 Task scheduling method and device, computer equipment and storage medium
CN113645075A (en) * 2021-08-11 2021-11-12 杭州安恒信息技术股份有限公司 Network link fault positioning method, device, equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094231A (en) * 2007-07-10 2007-12-26 北京易路联动技术有限公司 Method and device for controlling distributed possible synchronized multiple source data
CN101105793A (en) * 2006-07-11 2008-01-16 阿里巴巴公司 Data processing method and system of data library
CN102368261A (en) * 2011-10-14 2012-03-07 成都勤智数码科技有限公司 Expandable running maintenance report generation method
CN103699580A (en) * 2013-12-03 2014-04-02 中铁程科技有限责任公司 Database synchronization method and database synchronization device
EP2891994A1 (en) * 2013-11-04 2015-07-08 Guangdong Electronics Industry Institute Ltd. Method for achieving automatic synchronization of multisource heterogeneous data resources

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915341B (en) * 2014-03-10 2018-06-26 中国科学院沈阳自动化研究所 Visualize multiple database ETL integrated approaches and system
CN105095327A (en) * 2014-05-23 2015-11-25 深圳市珍爱网信息技术有限公司 Distributed ELT system and scheduling method
CN106528070B (en) * 2015-09-15 2019-09-03 阿里巴巴集团控股有限公司 A kind of data table generating method and equipment
CN106383901B (en) * 2016-09-29 2019-05-14 航天科工智慧产业发展有限公司 One-way data synchronous method between a kind of multi-data source

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101105793A (en) * 2006-07-11 2008-01-16 阿里巴巴公司 Data processing method and system of data library
CN101094231A (en) * 2007-07-10 2007-12-26 北京易路联动技术有限公司 Method and device for controlling distributed possible synchronized multiple source data
CN102368261A (en) * 2011-10-14 2012-03-07 成都勤智数码科技有限公司 Expandable running maintenance report generation method
EP2891994A1 (en) * 2013-11-04 2015-07-08 Guangdong Electronics Industry Institute Ltd. Method for achieving automatic synchronization of multisource heterogeneous data resources
CN103699580A (en) * 2013-12-03 2014-04-02 中铁程科技有限责任公司 Database synchronization method and database synchronization device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258742A (en) * 2020-02-17 2020-06-09 杭州依图医疗技术有限公司 Data synchronization method, system, computing device and storage medium
CN111258742B (en) * 2020-02-17 2023-08-04 杭州依图医疗技术有限公司 Data synchronization method, system, computing device and storage medium
CN111694840A (en) * 2020-04-29 2020-09-22 平安科技(深圳)有限公司 Data synchronization method, device, server and storage medium
CN111694840B (en) * 2020-04-29 2023-05-30 平安科技(深圳)有限公司 Data synchronization method, device, server and storage medium

Also Published As

Publication number Publication date
CN107689982A (en) 2018-02-13
CN107689982B (en) 2020-11-24

Similar Documents

Publication Publication Date Title
WO2019000629A1 (en) Multi-data-source data synchronizing method and system, application server and computer readable storage medium
JP6695984B2 (en) Multitask scheduling method, system, application server, and computer-readable storage medium
WO2019085334A1 (en) Distributed storage method, control server and computer readable storage medium
US8060892B2 (en) Executing business logic extensions on a client computing system
WO2019061991A1 (en) Multi-element universal model platform modeling method, electronic device, and computer readable storage medium
WO2019028992A1 (en) Multi-module version dependency relationship construction method, device, server and storage medium
WO2017143844A1 (en) Data operation method and data management server
WO2019134340A1 (en) Salary calculation method, application server, and computer readable storage medium
US20170052884A1 (en) Generic test automation for restful web services applications
US10671376B2 (en) Server program hot upgrading method and device
CN106874281B (en) Method and device for realizing database read-write separation
CN112286664B (en) Task scheduling method, device, computer equipment and readable storage medium
US9380001B2 (en) Deploying and modifying a service-oriented architecture deployment environment model
US10033737B2 (en) System and method for cross-cloud identity matching
WO2016078326A1 (en) Method, apparatus and system for displaying names of virtual machine
CN109582386B (en) Service starting processing method and device, electronic equipment and readable storage medium
CN111431951B (en) Data processing method, node equipment, system and storage medium
CN110908644A (en) Configuration method and device of state node, computer equipment and storage medium
KR102156656B1 (en) System and method for creating stack of virtual machine
JPWO2015190080A1 (en) Related information creating apparatus, related information creating method, and related information creating program
WO2019205345A1 (en) User information synchronization method, device, computer device, and storage medium
US20190035012A1 (en) Connector leasing for long-running software operations
CN112988806A (en) Data processing method and device
CN113129049B (en) File configuration method and system for model training and application
CN111125744A (en) Code branch merging method, system, computer device and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17915599

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 20.05.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17915599

Country of ref document: EP

Kind code of ref document: A1