-
公开(公告)号:US20170060922A1
公开(公告)日:2017-03-02
申请号:US15065861
申请日:2016-03-10
Applicant: Xiaomi Inc.
Inventor: Yonghui Zhao , Haifeng Li , Haibin Weng
IPC: G06F17/30
CPC classification number: G06F16/2237 , G06F16/14 , G06F16/245
Abstract: Method and device for data search are provided. The method includes: retrieving a first serialized data corresponding to a first user identifier in a non-relational database; deserializing the first serialized data to obtain a first index; performing a search based on the first index. In the embodiments of the present disclosure, serialized data corresponding to a user identifier may be retrieved and deserialized into an index by a server in a NoSQL database and a search may be performed based on the index. Since the search is performed against data corresponding to user identifiers rather than all users, a much smaller search scope is covered, leading to an improved search speed and performance and optimized user experience.
Abstract translation: 提供了数据搜索的方法和设备。 该方法包括:在非关系数据库中检索对应于第一用户标识符的第一序列化数据; 反序列化第一个序列化数据以获得第一个索引; 基于第一个索引执行搜索。 在本公开的实施例中,可以通过NoSQL数据库中的服务器检索对应于用户标识符的序列化数据并将其反序列化为索引,并且可以基于索引执行搜索。 由于针对与用户标识符而不是所有用户相对应的数据执行搜索,所以覆盖了更小的搜索范围,从而提高了搜索速度和性能并优化了用户体验。