Data query method and apparatus
Abstract:
A method and an apparatus of querying data are provided. The data is stored in at least two different databases. The method includes: receiving a query request based on a business model, the business model including business elements; converting the query request into an execution mode that matches with databases to be queried according to a conversion rule between the business model and a storage model, the storage model including attribute information of the queried databases and the conversion rule including a corresponding relationship between the business elements and attributes in the queried databases; and accessing a corresponding database according to the execution mode. The technical solutions of the present disclosure prevent the data from being imported and exported between different databases and have no limitations on applicable databases. Furthermore, a difference between low-level databases is masked at a user level and the convenience and completeness of querying is improved.
Public/Granted literature
Information query
Patent Agency Ranking
0/0