Method, device and system for data query

A technology of data query and equipment, applied in the network field, to achieve the effect of avoiding duplicate records

CN103942196BActive Publication Date: 2019-09-13TENCENT TECH (SHENZHEN) CO LTD
4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2019-09-13

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method, device and system for data inquiry and relates to the field of network technologies. The problem that repletion records exist in two pages of before and after inquiry records generated by a device for data inquiry is solved. The method includes the steps that a data inquiry request is received and carries an inquiry condition, inquiry start time and the number of records displayed on the single page; according to the inquiry condition, inquiry is performed to obtain first inquiry records, and the first inquiry records are sequenced according to time labels; the time labels are selected from the first sequenced inquiry records to meet second inquiry records with the inquiry start time as an initial point; starting from the record with the time label closest to the inquiry start time in the second inquiry records, the records displayed on the single page are sequentially fetched out as one page of inquiry records, and identifications of the specific records in one page of the inquiry records are obtained; the identifications of the specific records and one page of the inquiry records are sent to user equipment. The method, device and system are mainly applied to paging the inquiry records.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the field of network technology, in particular to a data query method, device and system. Background technique

[0002] During the process of data query, the data query device receives the query request sent by the user equipment and feeds back the query result to the user equipment. When the query result contains multiple records, the data query device performs pagination processing on the multiple records, displays a certain number of records on each page, and then feeds back the query records page by page to the user device according to the request of the user device.

[0003] Usually, after receiving the query request, the data query device searches for records meeting the query conditions according to the query request, sorts the records according to a specific time sequence, and numbers the sorted records in sequence. Then, starting from the record numbered 1, a specific number of records are sequentially taken o...

Examples

Embodiment Construction

[0038] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0039] The embodiment of the present invention provides a method for data query, such as figure 1 As shown, the method includes:

[0040] 101. Receive a data query request, where the data query request carries query conditions, query start time, and the number of items displayed on a single page.

[0041] The query condition is used to query the data requested by the user equipment, the query start time is used to filter the records queried according to the query ...