| CPC G06F 16/24542 (2019.01) [G06F 16/24539 (2019.01)] | 17 Claims |

|
1. An apparatus comprising:
a memory for storing database data; and
a processor configured to perform the following processes, including:
acquiring a pagination request from a user;
determining a query parameter based on the pagination request;
determining a corresponding pagination pattern and a requested data amount based on the query parameter;
determining a target query mode based on the requested data amount;
generating a query task;
obtaining at least one first query result based on the query task;
determining a target result set based on the at least one first query result;
paging the target result set based on the pagination pattern and the target query mode to obtain multiple pages of pagination data; and
wherein, when the target query mode comprises a first query mode, the generating the query task comprises:
determining the first query mode;
selecting a target paging parameter and a target sorting parameter based on the pagination pattern and the first query mode;
loading database data based on the target paging parameter and the target sorting parameter;
determining the database data that was loaded; and
generating a query task according to the target paging parameter and the target sorting parameter.
|