US 12,481,622 B2
Data processing method and apparatus, computer device and storage medium
Zhe Wang, Beijing (CN); and Qian Zhou, Beijing (CN)
Assigned to BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD., Beijing (CN)
Appl. No. 18/722,536
Filed by BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD., Beijing (CN)
PCT Filed Apr. 4, 2023, PCT No. PCT/CN2023/086059
§ 371(c)(1), (2) Date Jun. 20, 2024,
PCT Pub. No. WO2023/197904, PCT Pub. Date Oct. 19, 2023.
Claims priority of application No. 202210384525.4 (CN), filed on Apr. 13, 2022.
Prior Publication US 2025/0068591 A1, Feb. 27, 2025
Int. Cl. G06F 16/14 (2019.01); G06F 16/16 (2019.01)
CPC G06F 16/148 (2019.01) [G06F 16/16 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A method for data processing, comprising:
receiving a query instruction for data to be queried stored in a data file system, wherein the data file system is a common database storing data for online queries and offline queries;
determining whether the query instruction indicates an online query or an office query;
in response to the query instruction indicating the online query, determining index information corresponding to the data to be queried and querying, based on the index information, the data to be queried in the data file system, wherein the index information is represented in a key-value pair, a key in the key-value pair corresponds to a keyword of the data to be queried, and the value in the key-value pair corresponds to address information of the data to be queried in the data file system; and
in response to the query instruction indicating the offline query, determining, based on keywords of the data to be queried and a hive table, address information of the data to be queried in the data file system and querying, based on the address information, the data to be queried in the data file system, wherein the hive table comprises the keywords corresponding to the data to be queried and address information of the data to be queried in the data file system.