The invention discloses a
data query method and device based on configuration information, and relates to the technical field of computers. A specific embodiment of the method comprises the followingsteps: receiving a query request of an application
system based on a unified
service framework, wherein the query request comprises a query parameter and an index identifier ID uniquely pointing to atarget
database corresponding to the application
system; obtaining configuration information according to the index ID, wherein the configuration information comprises a
query statement template; according to the query parameters and the
query statement template, dynamically generating
executable query statements; and obtaining a query result according to the
executable query statement. Accordingto the embodiment, a unified query mode can be provided for multiple systems, the number of
code writing is effectively reduced, the
readability of
executable query statements is improved, and the
data query efficiency and the development and production efficiency are greatly improved. In addition, the embodiment supports
high availability, high
concurrency and flexible expansion at the same time,and can adapt to more service scenes and fields.