摘要 |
A data query method, device, server and system are disclosed in the present invention, which belongs to the technical field of computers. The method comprises: receiving from a client a first query request, said request comprising user ID; obtaining a second query request by converting the user ID to a corresponding role ID, which corresponds to at least two user IDs; detecting whether there exists in the cache a result set the key value whereof matches the role ID included in the second query request; feeding the result set back to the client as a query result if the result set exists in the cache. Result set reuse efficiency and data query efficiency are improved by implementing technical solutions of the invention. |