Data processing method, data processing device, electronic equipment and storage medium

The invention provides a data processing method which comprises the following steps: in response to a data query request, acquiring current interface response time of a document database and current interface response time of a graphic database recorded in a gateway; determining a target database ba...

Full description

Saved in:
Bibliographic Details
Main Authors LEI FALIN, QIU BO
Format Patent
LanguageChinese
English
Published 18.03.2022
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention provides a data processing method which comprises the following steps: in response to a data query request, acquiring current interface response time of a document database and current interface response time of a graphic database recorded in a gateway; determining a target database based on the current interface response time of the document database and the current interface response time of the graphic database; generating a target query statement based on query conditions carried in the target database and the data query request; and executing the target query statement to query the target database to obtain the target data. In addition, the invention further provides a data processing device, electronic equipment and a readable storage medium. 本公开提供了一种数据处理方法,包括:响应于数据查询请求,获取网关中记录的文档型数据库的当前接口响应时间和图形数据库的当前接口响应时间;基于文档型数据库的当前接口响应时间和图形数据库的当前接口响应时间的大小,确定目标数据库;基于目标数据库和数据查询请求中携带的查询条件,生成目标查询语句;以及执行目标查询语句,以从目标数据库中查询得到目标数据。此外,本公开还提供了一种数据处理装置、一种电子设备和一种可读存储介质。
Bibliography:Application Number: CN202111527761