发明名称 |
Data Query Method and Apparatus, Server, and System |
摘要 |
A data query method, a server, and a system, and relates to the field of computer technologies is presented. The method includes: receiving a first query request sent by a client, where the first query request includes a user identifier; converting the user identifier into a role identifier corresponding to the user identifier, to obtain a second query request, where the role identifier corresponds to at least two user identifiers; detecting whether a result set having a key value matching the role identifier included in the second query request exists in a cache; and if the result set exists in the cache, using the result set as a query result and feeding the query result back to the client. |
申请公布号 |
US2016239540(A1) |
申请公布日期 |
2016.08.18 |
申请号 |
US201615139737 |
申请日期 |
2016.04.27 |
申请人 |
Huawei Technologies Co., Ltd. |
发明人 |
Zheng Kanghui |
分类号 |
G06F17/30 |
主分类号 |
G06F17/30 |
代理机构 |
|
代理人 |
|
主权项 |
1. A data query method, comprising:
receiving a first query request sent by a client, wherein the first query request comprises a user identifier; converting the user identifier into a role identifier corresponding to the user identifier, to obtain a second query request, wherein the role identifier corresponds to at least two user identifiers; detecting whether a result set having a key value matching the role identifier comprised in the second query request exists in a cache; and feeding a query result corresponding to the result set back to the client when the result set exists in the cache. |
地址 |
Shenzhen CN |