US 11,816,099 B2
Service identifier-based data indexing
Yize Li, Hangzhou (CN); Xinying Yang, Hangzhou (CN); and Yuan Zhang, Hangzhou (CN)
Assigned to Advanced New Technologies Co., Ltd., Grand Cayman (KY)
Filed by Advanced New Technologies Co., Ltd., Grand Cayman (KY)
Filed on Aug. 31, 2021, as Appl. No. 17/462,308.
Application 17/462,308 is a continuation of application No. 17/215,255, filed on Mar. 29, 2021, granted, now 11,106,660.
Application 17/215,255 is a continuation of application No. 16/811,502, filed on Mar. 6, 2020, granted, now 10,963,453, issued on Mar. 30, 2020.
Application 16/811,502 is a continuation of application No. PCT/CN2020/071461, filed on Jan. 10, 2020.
Claims priority of application No. 201910475975.2 (CN), filed on Jun. 3, 2019.
Prior Publication US 2022/0058184 A1, Feb. 24, 2022
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 16/22 (2019.01); G06F 16/23 (2019.01); G06F 16/27 (2019.01); G06F 16/245 (2019.01)
CPC G06F 16/2379 (2019.01) [G06F 16/22 (2019.01); G06F 16/2365 (2019.01); G06F 16/245 (2019.01); G06F 16/27 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method, comprising:
obtaining, by a data service provider that stores data by using a blockchain-type ledger, a service identifier and a service label of a data record, wherein the blockchain-type ledger includes multiple different data records having a same service identifier;
establishing, by the data service provider, a mapping relationship among the service identifier, the service label, and location information that indicates a location of the data record in the blockchain-type ledger;
writing, by the data service provider, the mapping relationship into an index for which a primary key is the service identifier, and for which an index value includes respective mapping relationships for each data record in the blockchain-type ledger having the same service identifier;
receiving, by the data service provider from a client, a query that comprises a given service identifier and a given service label;
determining, by the data service provider, the location information for one or more data records represented in the index that match the given service identifier and the given service label;
obtaining, by the data service provider, the one or more data records from the blockchain-type ledger based on the location information; and
providing, by the data service provider to the client, the one or more data records.