Data query paging method and device, server and medium
A data query and data technology, applied in the computer field, can solve the problems of heavy data server burden and high paging difficulty, and achieve the effect of improving paging efficiency and reducing data server burden
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] Such as figure 1 As shown, this embodiment provides a data query paging method, including:
[0044] Step S101, obtaining the query condition and the number of paged items, and querying and filtering the target data group in the database according to the query condition;
[0045] Step S102, finding the target field that enables the target data group to be sorted into a data sequence of a unique key; the data sequence of a unique key refers to a data sequence that is not sorted into parallel data items;
[0046]Step S103, according to preset rules, according to the value of the target field in the target data group, sort the data in the target data group to form a unique key data sequence;
[0047] Step S104, paging the data sequence according to the number of paging items, wherein the number of data items per page of the paginated data sequence is equal to the number of paging items;
[0048] Step S105, according to the value of the target field of the first item of da...
Embodiment 2
[0103] This embodiment provides a data paging device, such as figure 2 shown, including:
[0104] The query unit 201 is used to obtain the query condition and the number of paging items, and query and filter out the target data group in the database according to the query condition;
[0105] A search unit 202, configured to find a target field that enables the target data group to be sorted into a data sequence of a unique key; the data sequence of the unique key refers to a data sequence that is not sorted into parallel data items;
[0106] The sorting unit 203 is configured to sort the data in the target data group according to preset rules and according to the value of the target field in the target data group to form a unique key data sequence;
[0107] A paging unit 204, configured to paginate the data sequence according to the number of paging items, wherein the number of data items per page of the paged data sequence is equal to the number of paging items;
[0108] T...
Embodiment 3
[0114] Embodiment three
[0115] This embodiment provides an electronic device, such as image 3 As shown, it includes a memory 310, a processor 320, and a computer program 311 stored on the memory 310 and operable on the processor 320. When the processor 320 executes the computer program 311, the following steps are implemented:
[0116] Obtain the query condition and the number of paging items, and query and filter out the target data group in the database according to the query condition;
[0117] Finding out the target field that enables the target data group to be sorted into a data sequence of a unique key; the data sequence of the unique key refers to a data sequence that is not sorted as a parallel data item;
[0118] According to preset rules, according to the value of the target field in the target data group, sort the data in the target data group to form a unique key data sequence;
[0119] Paging the data sequence according to the number of pagination items, whe...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com