Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Active Publication Date: 2020-02-07
苏州沁游网络科技有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventor found that the prior art has the following defects: when there is no list item matching the search condition selected by the user in the data storage list, the chat record required by the user cannot be accurately obtained

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device, device and storage medium for acquiring paging data
  • Method and device, device and storage medium for acquiring paging data
  • Method and device, device and storage medium for acquiring paging data

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a method and a device for obtaining paging data, an apparatus and a storage medium. The method comprises the following steps of: obtaining a target query value of a parameter to be queried and a paging direction corresponding to paging data; using a dichotomy to find the list item which is matched between the value of the parameter to be queried and the value of the target query in the list to be queried. If there is no list item in the list to be queried whose value of the parameter to be queried matches the value of the target query, determining thepaging data according to the last two list items queried in the list to be queried by dichotomy and the paging direction. The technical proposal of the embodiment of the invention solves the problem in the prior art that when the start item of the paging data is not obtained by the dichotomy, By improving the traditional binary search method, it is possible to obtain the required paging data accurately and quickly without affecting the query efficiency even when the data list is abnormal.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of obtaining paging data, and in particular, to a method, device, device, and storage medium for obtaining paging data. Background technique [0002] Nowadays, the way of communication between people is not limited to phone calls and text messages, but more and more people communicate with relatives, friends and colleagues through social software. [0003] When users use social software, they often have the need to look through previous chat records. In the prior art, the required chat records are generally searched in the data storage list corresponding to the chat records according to the search conditions selected by the user through the dichotomy method. [0004] In the process of realizing the present invention, the inventor found that the prior art has the following defects: when there is no list item matching the search condition selected by the user in the data storage list, th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/338G06F16/332
Inventor 宋大伟张丹
Owner 苏州沁游网络科技有限公司