Data inquiring method and data inquiring server
A query server and data query technology, applied in the field of method and query server, data query, can solve the problem that the query user is difficult to obtain a faster response speed, and achieve the effect of rapid response
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] Such as figure 2 As shown, it is a schematic diagram of a method for data query in Embodiment 1 of the present invention, and the method includes the following steps:
[0039] Step 101: The query server receives an offline query request sent by the client.
[0040] In this embodiment, the client may send different query requests to the query server according to different requirements on the timeliness of data query. If the client has high timeliness requirements for data query, it can send a data query request to the query server, expressing the need for real-time data query, and return the query result; if the client has low timeliness requirements for data query, then It can send an offline query request like a query server, indicating that real-time data query is not required, and the query result can be returned after a period of time.
[0041] Step 102: The query server detects the resource occupancy rate of the data query system, and if the resource occupancy r...
Embodiment 2
[0051] When multiple clients initiate offline query requests, or the same client initiates multiple offline query requests, the query server needs to schedule tasks for the multiple received offline query requests. Embodiment 2 of the present invention is described in Embodiment 1. Based on the task scheduling process, a better data query scheme is proposed.
[0052] Such as image 3 As shown, it is a schematic diagram of a method for data query in Embodiment 2 of the present invention, which mainly includes the following steps:
[0053] Step 201: The query server receives an offline query request sent by the client.
[0054] Step 202: The query server sorts the received offline query requests for the first time according to the order in which they are received.
[0055] Step 203: Divide the sorted offline query requests into multiple request groups.
[0056] Among them, the difference between the receiving time of any two offline query requests in each request group does n...
Embodiment 3
[0067] In order to further improve the response speed, Embodiment 3 of the present invention also proposes to perform personalized clustering processing on the basis of Embodiment 1 and Embodiment 2, and establishes query conditions and the query results obtained after querying the query conditions (i.e., clustering field), when the data query system is idle, it can quickly find out the clustering field corresponding to the query condition in the offline query request according to the established corresponding relationship, and obtain the query result. Since there is no need to detect the entire table of the database server, the response speed of the offline query request can be improved and the query time can be shortened.
[0068] Such as Figure 4 Shown is a schematic diagram of the method of Embodiment 4 of the present invention, including the following steps:
[0069] Step 301: According to the offline query request received in advance and the cluster fields obtained aft...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
