Method and device, device and storage medium for acquiring paging data
An acquisition method and paging technology, which are applied in the fields of electronic digital data processing, digital data information retrieval, special data processing applications, etc., can solve problems such as inability to accurately acquire user chat records.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] figure 1 It is a flow chart of a method for obtaining paging data provided by Embodiment 1 of the present invention. The method of this embodiment can be executed by a device for obtaining paging data, which can be implemented by hardware and / or software, and generally can be Integrate into devices with data computing capabilities, such as servers, terminals, etc. The method of this embodiment specifically includes:
[0047] S101. Obtain the target query value of the parameter to be queried, and the paging direction corresponding to the paging data.
[0048]It can be understood that the data of the message flow class is generally stored in the form of a data list, and is displayed in a page-by-page manner when displayed, and the user can view the data by clicking a control with a page-turning function. Generally speaking, when a user wants to view a piece of data and the data after or before it, he will first find the piece of data in the data list through the convent...
Embodiment 2
[0068] figure 2 It is a flow chart of a method for acquiring paged data provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the foregoing embodiments. In this embodiment, a specific implementation manner of specifying the paging direction and specifying the step of obtaining paging data is given.
[0069] Correspondingly, the method in this embodiment specifically includes:
[0070] S201. Obtain the target query value of the parameter to be queried, and the paging direction corresponding to the paging data.
[0071] S202. Search the to-be-queried list for a list item whose value of the parameter to be queried matches the target query value by using a dichotomy method.
[0072] S203. Determine whether there is a list item in the to-be-queried list whose value of the parameter to be queried matches the target query value. If yes, perform step 204; if not, perform step 205.
[0073] S204. Determine the paging data according to the l...
Embodiment 3
[0086] image 3 It is a flow chart of a method for acquiring paged data provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the above embodiments. In this embodiment, a judgment step of increasing the size of the target query value is given, and a specific implementation manner of the paging data acquisition step is embodied.
[0087] Correspondingly, the method in this embodiment specifically includes:
[0088] S301. Obtain the target query value of the parameter to be queried, and the paging direction corresponding to the paging data.
[0089] In this embodiment, the parameter to be queried may specifically be the generation time of the list item, and the generation time of the list item may be accurate to milliseconds.
[0090] S302. Determine whether the target query value is smaller than the maximum value of the parameters to be queried included in each list item in the list to be queried, and is smaller than the minimum value o...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


