Paging querying method and system
A page-by-page query and page-by-page technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of increasing the workload of application service developers, reducing the efficiency of application service development, waste of resources, etc., to avoid repeated development Work and improve development efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] Embodiment 1 discloses a page-by-page query method.
[0052] When the user needs to use the page-by-page browsing function to browse a large amount of data in pages, in order to send the query results to the front-end page of the application service according to the specified page number for users to view, it is necessary to perform a segmentation process on the result set in the database that meets the query conditions. The data pseudo-column - ROWNUM column will be used when the query is performed. ROWNUM is the row number automatically generated by the database along with the query. Among them, the database generates a unique ROWNUM for each record in the result set that meets the query conditions, and each record in the result set The ROWNUM of a record starts from 0 and increases in increments of 1.
[0053] When segmenting the result set, the specific row number interval required for this pagination query can be calculated according to ROWNUM, page number, and the n...
Embodiment 2
[0078] Embodiment 2 discloses a page-by-page query system, which corresponds to the page-by-page query method disclosed in Embodiment 1. Refer to Figure 4 , the system includes a receiving module 100 , a first obtaining module 200 , a calculating module 300 , a second obtaining module 400 and a sending module 500 .
[0079] The receiving module 100 is configured to receive the query request sent by the application service of the application layer, and the query request includes the page number, the number of page records and query conditions.
[0080] The first obtaining module 200 is configured to obtain the total number of records meeting the query condition in the database, and mark it as the total number of records.
[0081] Wherein, the first obtaining module 200 includes a filtering unit, a first creating unit and a statistical unit.
[0082] a filtering unit, configured to filter out the query condition from the query request;
[0083] The first creation unit is used...
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