Patent ID: 11893011
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
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.