US 11,893,011 B1
Data query method and system, heterogeneous acceleration platform, and storage medium
Ke Liu, Jiangsu (CN); Chuang Zhang, Jiangsu (CN); Jie Sun, Jiangsu (CN); Zhixin Ren, Jiangsu (CN); and Zhongxiang Sun, Jiangsu (CN)
Assigned to INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
Appl. No. 18/279,346
Filed by INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
PCT Filed Apr. 28, 2022, PCT No. PCT/CN2022/089912
§ 371(c)(1), (2) Date Aug. 29, 2023,
PCT Pub. No. WO2023/060878, PCT Pub. Date Apr. 20, 2023.
Claims priority of application No. 202111190053.0 (CN), filed on Oct. 13, 2021.
Int. Cl. G06F 16/24 (2019.01); G06F 16/242 (2019.01); G06F 16/2453 (2019.01); G06F 16/248 (2019.01); G06F 16/2455 (2019.01)
CPC G06F 16/2445 (2019.01) [G06F 16/248 (2019.01); G06F 16/2455 (2019.01); G06F 16/24532 (2019.01); G06F 16/24542 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A data query method, applied to a heterogeneous acceleration platform comprising a central processing unit (CPU) and a parallel processor, the data query method comprising:
determining operators in a database management system, and accomplishing, in the parallel processor, roles of functions corresponding to the operators;
in response to a SQL query statement being received, converting, by the CPU, a where clause in the SQL query statement into a data structure comprising a binary tree and a linked list, wherein each node in the data structure corresponds to one operator in the where clause;
controlling the CPU to generate an operation code stream of the data structure according to node information, wherein the node information comprises a node position and a corresponding function name of each node in the data structure; and
performing, by the parallel processor, a screening operation corresponding to the operation code stream on records in the database management system to obtain a query result conforming to the where clause.