Cross-data-source data pushing method and device
The invention discloses a cross-data-source data pushing method and device. The method comprises the steps: packaging a data transmission requirement through JSON; analyzing the JSON to obtain query requests of different databases, querying data, and packaging the data into a data set; and enabling...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a cross-data-source data pushing method and device. The method comprises the steps: packaging a data transmission requirement through JSON; analyzing the JSON to obtain query requests of different databases, querying data, and packaging the data into a data set; and enabling the data transmission module to send the packaged data set to a corresponding interface in an HTTP network transmission mode. Through simple parameter configuration, data of different data sources can be inquired, the speed and failure retry times of HTTP network data transmission can be adjusted, and a large amount of development and compilation work is avoided; according to the invention, through the expandability of the PrestoDB data source, different database selections of different companies are matched.
本发明公开了一种跨数据源的数据推送方法及装置,该方法包括:通过JSON封装数据传输需求;解析JSON获得不同数据库的查询请求,查询数据,将数据封装成数据集;数据传输模块通过HTTP网络传输的方式将封装好的数据集发送到对应的接口上。本发明通过简单的参数配置,即可以查询不同数据源的数据,又可以调整HTTP网络传输数据时的速度与失败重试次数,避免了大量的开发编译工作;本发明通过PrestoDB的数据源可扩展性,匹配了不同 |
---|