US 11341131
Query scheduling based on a query-resource allocation and resource availability
Granted 2022-05-24 · Filed 2019-04-29 · Application 16/398,031 · Utility · Kind B2 · Prior publication US 2019/0258631 A1, 2019-08-22
- Assignee as printed
- Splunk Inc., San Francisco, CA (US) · PatentsView label: SPLUNK Inc.
- Inventors
- Sourav Pal, Foster City, CA (US); Arindam Bhattacharjee, Fremont, CA (US); Nikhil Roy, Fremont, CA (US)
- CPC, current
- G06F16/24535; G06F16/1734; G06F16/22; G06F16/2425; G06F16/24545; G06F16/2471; G06F16/258
Abstract
Systems and methods are described for scheduling a query for execution. The system receives and parses a query to identify one or more portions of the query. The system determines a resource allocation for each portion of the query, and determines an availability of compute resources for the different portions of the query. Based on the resource allocation and the availability of compute resources, the system schedules the query.
The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.
Claim 1
Independent claim.
1. A method, comprising:
- Claim 1, element e1receiving a query, 25–42
- Claim 1, element e2wherein the query identifies a set of data and a manner of processing the set of data; 44–129
- Claim 1, element e3determining a query-resource allocation for one or more portions of the query; 131–208
- Claim 1, element e4determining compute resource availability for the one or more portions of the query; and 210–293
- Claim 1, element e5scheduling the query based on the query-resource allocation and the determined compute resource availability.299–407
15 dependent claims: 2 to 16 (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 on claim 1)
Claim 2
Depends on claim 1.
2. The method of claim 1 , wherein
- Claim 2, element e1determining a query-resource allocation comprises determining a plurality of query-resource allocations for a plurality of portions of the query.35–179
Claim 3
Depends on claim 1.
3. The method of claim 1 , wherein
- Claim 3, element e1determining a query-resource allocation comprises identifying a portion of the query and determining the query-resource allocation for the portion of the query.35–194
Claim 4
Depends on claim 1.
4. The method of claim 1 , wherein
- Claim 4, element e1determining a first query-resource allocation that includes an allocation of a first quantity of compute resources and determining a second query-resource allocation that includes an allocation of a second quantity of compute resources that is less than the first query-resource allocation, the method further comprising: 35–355
- Claim 4, element e2determining that there are insufficient compute resources to execute the query based on the first quantity of compute resources; and 357–484
- Claim 4, element e3scheduling the query for execution based on the second query-resource allocation.490–570
Claim 5
Depends on claim 1.
5. The method of claim 1 , wherein
- Claim 5, element e1determining a query-resource allocation comprises identifying a portion of the query and determining the query-resource allocation for the portion of the query based on an identification of components of a data intake and query system that are to execute the portion of the query.35–314
Claim 6
Depends on claim 1.
6. The method of claim 1 , wherein
- Claim 6, element e1determining a query-resource allocation comprises identifying a portion of the query and determining the query-resource allocation for the portion of the query based on a query type of the query.35–229
Claim 7
Depends on claim 1.
7. The method of claim 1 , wherein
- Claim 7, element e1determining a query-resource allocation comprises identifying a portion of the query and determining the query-resource allocation for the portion of the query based on at least one of a quantity of indexers that store at least a portion of the set of data, a prioritization level, or a quantity worker nodes to receive results of the portion of the query.35–390
Claim 8
Depends on claim 1.
8. The method of claim 1 , wherein
- Claim 8, element e1determining a query-resource allocation comprises identifying a portion of the query and determining the query-resource allocation for the portion of the query based on at least one of a quantity of indexers that store at least a portion of the set of data or a weighting factor.35–313
Claim 9
Depends on claim 1.
9. The method of claim 1 , wherein
- Claim 9, element e1determining a query-resource allocation comprises identifying a portion of the query and determining the query-resource allocation for the portion of the query based on at least one of a quantity of records to be processed as a result of the portion of the query, a prioritization level of the query, or a query allocation threshold.35–367
Claim 10
Depends on claim 1.
10. The method of claim 1 , wherein
- Claim 10, element e1determining a query-resource allocation comprises identifying a portion of the query and determining the query-resource allocation for the portion of the query based on one or more processing tasks of the query.36–246
Claim 11
Depends on claim 1.
11. The method of claim 1 , wherein
- Claim 11, element e1determining a query-resource allocation comprises identifying a portion of the query and determining the query-resource allocation for the portion of the query based a quantity of records to be processed as a result of a processing task of the query.36–285
Claim 12
Depends on claim 1.
12. The method of claim 1 , wherein
- Claim 12, element e1determining a query-resource allocation comprises identifying a portion of the query and allocating a first group of compute resources for a first processing task of the portion of the query and allocating a second group of compute resources for a second processing task of the portion of the query.36–334
Claim 13
Depends on claim 1.
13. The method of claim 1 , wherein
- Claim 13, element e1determining a query-resource allocation comprises: 36–85
- Claim 13, element e2identifying a portion of the query, determining a quantity of records to be processed according to a processing task of the portion of the query; 87–231
- Claim 13, element e3assigning a size category of a plurality of size categories to the processing task based on the quantity of records to be processed according to the processing task; and 233–397
- Claim 13, element e4determining a query-resource allocation for the processing task based on the size category assigned to the processing task.403–525
Claim 14
Depends on claim 1.
14. The method of claim 1 , wherein
- Claim 14, element e1determining the compute resource availability comprises determining a plurality of compute resource availability for a plurality of portions of the query.36–189
Claim 15
Depends on claim 1.
15. The method of claim 1 , wherein
- Claim 15, element e1determining the compute resource availability comprises identifying a portion of the query and determining the compute resource availability for the portion of the query.36–205
Claim 16
Depends on claim 1.
16. The method of claim 1 , wherein
- Claim 16, element e1determining the compute resource availability comprises identifying a portion of the query and determining the compute resource availability for the portion of the query based on a quantity of compute resources of a plurality of indexers and a quantity of the compute resources allocated to one or more other queries.36–352
Claim 17
Independent claim.
17. A computing system of a data intake and query system, the computing system comprising:
- Claim 17, element e1memory; and 91–97
- Claim 17, element e2one or more processing devices coupled to the memory and configured to: 103–173
- Claim 17, element e3receive a query, 175–190
- Claim 17, element e4wherein the query identifies a set of data and a manner of processing the set of data; 192–277
- Claim 17, element e5determine a query-resource allocation for one or more portions of the query; 279–354
- Claim 17, element e6determine compute resource availability for the one or more portions of the query; and 356–437
- Claim 17, element e7schedule the query based on the query-resource allocation and the determined compute resource availability.443–549
5 dependent claims: 18 to 22 (18, 19, 20, 21, 22 on claim 17)
Claim 18
Depends on claim 17.
18. The system of claim 17 , wherein
- Claim 18, element e1to determine a query-resource allocation, the one or more processing devices are configured to determine a plurality of query-resource allocations for a plurality of portions of the query.37–224
Claim 19
Depends on claim 17.
19. The system of claim 17 , wherein
- Claim 19, element e1to determine a query-resource allocation, the one or more processing devices are configured to determine a first query-resource allocation that includes an allocation of a first quantity of compute resources and determining a second query-resource allocation that includes an allocation of a second quantity of compute resources that is less than the first query-resource allocation, and wherein the one or more processing devices are further configured to: 37–493
- Claim 19, element e2determine that there are insufficient compute resources to execute the query based on the first quantity of compute resources; and 495–620
- Claim 19, element e3schedule the query for execution based on the second query-resource allocation.626–704
Claim 20
Depends on claim 17.
20. The system of claim 17 , wherein
- Claim 20, element e1to determine a query-resource allocation, the one or more processing devices are configured to identify a portion of the query and determine the query-resource allocation for the portion of the query based on an identification of components of a data intake and query system that are to execute the portion of the query.37–356
Claim 21
Depends on claim 17.
21. The system of claim 17 , wherein
- Claim 21, element e1to determine a query-resource allocation, the one or more processing devices are configured to identify a portion of the query and determine the query-resource allocation for the portion of the query based on at least one of a quantity of indexers that store at least a portion of the set of data, a prioritization level, or a quantity worker nodes to receive results of the portion of the query.37–432
Claim 22
Depends on claim 17.
22. The system of claim 17 , wherein
- Claim 22, element e1to determine a query-resource allocation, the one or more processing devices are configured to identify a portion of the query and determine the query-resource allocation for the portion of the query based on at least one of a quantity of records to be processed as a result of the portion of the query, a prioritization level of the query, or a query allocation threshold.37–409
Claim 23
Independent claim.
23. Non-transitory computer-readable media comprising
- Claim 23, element e1computer-executable instructions that, when executed by a computing system of a data intake and query system, cause the computing system to: 54–193
- Claim 23, element e2receive a query, 195–210
- Claim 23, element e3wherein the query identifies a set of data and a manner of processing the set of data; 212–297
- Claim 23, element e4determine a query-resource allocation for one or more portions of the query; 299–374
- Claim 23, element e5determine compute resource availability for the one or more portions of the query; and 376–457
- Claim 23, element e6schedule the query based on the query-resource allocation and the determined compute resource availability.463–569
7 dependent claims: 24 to 30 (24, 25, 26, 27, 28, 29, 30 on claim 23)
Claim 24
Depends on claim 23.
24. The non-transitory computer-readable media of claim 23 , wherein
- Claim 24, element e1to determine a query-resource allocation, the computer-executable instructions cause the computing system to identify a portion of the query and determine the query-resource allocation for the portion of the query based on one or more processing tasks of the query.69–333
Claim 25
Depends on claim 23.
25. The non-transitory computer-readable media of claim 23 , wherein
- Claim 25, element e1to determine a query-resource allocation, the computer-executable instructions cause the computing system to identify a portion of the query and determine the query-resource allocation for the portion of the query based a quantity of records to be processed as a result of a processing task of the query.69–372
Claim 26
Depends on claim 23.
26. The non-transitory computer-readable media of claim 23 , wherein
- Claim 26, element e1to determine a query-resource allocation, the computer-executable instructions cause the computing system to identify a portion of the query and allocating a first group of compute resources for a first processing task of the portion of the query and allocate a second group of compute resources for a second processing task of the portion of the query.69–421
Claim 27
Depends on claim 23.
27. The non-transitory computer-readable media of claim 23 , wherein
- Claim 27, element e1to determine a query-resource allocation, the computer-executable instructions cause the computing system to: 69–177
- Claim 27, element e2identify a portion of the query, determine a quantity of records to be processed according to a processing task of the portion of the query; 179–318
- Claim 27, element e3assign a size category of a plurality of size categories to the processing task based on the quantity of records to be processed according to the processing task; and 320–481
- Claim 27, element e4determine a query-resource allocation for the processing task based on the size category assigned to the processing task.487–607
Claim 28
Depends on claim 23.
28. The non-transitory computer-readable media of claim 23 , wherein
- Claim 28, element e1to determine the compute resource availability, the computer-executable instructions cause the computing system to determine a plurality of compute resource availability for a plurality of portions of the query.69–279
Claim 29
Depends on claim 23.
29. The non-transitory computer-readable media of claim 23 , wherein
- Claim 29, element e1to determine the compute resource availability, the computer-executable instructions cause the computing system to identifying a portion of the query and determining the compute resource availability for the portion of the query.69–297
Claim 30
Depends on claim 23.
30. The non-transitory computer-readable media of claim 23 , wherein
- Claim 30, element e1to determine the compute resource availability, the computer-executable instructions cause the computing system to identify a portion of the query and determining the compute resource availability for the portion of the query based on a quantity of compute resources of a plurality of indexers and a quantity of the compute resources allocated to one or more other queries.69–441
1. A method, comprising: receiving a query, wherein the query identifies a set of data and a manner of processing the set of data; determining a query-resource allocation for one or more portions of the query; determining compute resource availability for the one or more portions of the query; and scheduling the query based on the query-resource allocation and the determined compute resource availability.
2. The method of claim 1 , wherein determining a query-resource allocation comprises determining a plurality of query-resource allocations for a plurality of portions of the query.
3. The method of claim 1 , wherein determining a query-resource allocation comprises identifying a portion of the query and determining the query-resource allocation for the portion of the query.
4. The method of claim 1 , wherein determining a first query-resource allocation that includes an allocation of a first quantity of compute resources and determining a second query-resource allocation that includes an allocation of a second quantity of compute resources that is less than the first query-resource allocation, the method further comprising: determining that there are insufficient compute resources to execute the query based on the first quantity of compute resources; and scheduling the query for execution based on the second query-resource allocation.
5. The method of claim 1 , wherein determining a query-resource allocation comprises identifying a portion of the query and determining the query-resource allocation for the portion of the query based on an identification of components of a data intake and query system that are to execute the portion of the query.
6. The method of claim 1 , wherein determining a query-resource allocation comprises identifying a portion of the query and determining the query-resource allocation for the portion of the query based on a query type of the query.
7. The method of claim 1 , wherein determining a query-resource allocation comprises identifying a portion of the query and determining the query-resource allocation for the portion of the query based on at least one of a quantity of indexers that store at least a portion of the set of data, a prioritization level, or a quantity worker nodes to receive results of the portion of the query.
8. The method of claim 1 , wherein determining a query-resource allocation comprises identifying a portion of the query and determining the query-resource allocation for the portion of the query based on at least one of a quantity of indexers that store at least a portion of the set of data or a weighting factor.
9. The method of claim 1 , wherein determining a query-resource allocation comprises identifying a portion of the query and determining the query-resource allocation for the portion of the query based on at least one of a quantity of records to be processed as a result of the portion of the query, a prioritization level of the query, or a query allocation threshold.
10. The method of claim 1 , wherein determining a query-resource allocation comprises identifying a portion of the query and determining the query-resource allocation for the portion of the query based on one or more processing tasks of the query.
11. The method of claim 1 , wherein determining a query-resource allocation comprises identifying a portion of the query and determining the query-resource allocation for the portion of the query based a quantity of records to be processed as a result of a processing task of the query.
12. The method of claim 1 , wherein determining a query-resource allocation comprises identifying a portion of the query and allocating a first group of compute resources for a first processing task of the portion of the query and allocating a second group of compute resources for a second processing task of the portion of the query.
13. The method of claim 1 , wherein determining a query-resource allocation comprises: identifying a portion of the query, determining a quantity of records to be processed according to a processing task of the portion of the query; assigning a size category of a plurality of size categories to the processing task based on the quantity of records to be processed according to the processing task; and determining a query-resource allocation for the processing task based on the size category assigned to the processing task.
14. The method of claim 1 , wherein determining the compute resource availability comprises determining a plurality of compute resource availability for a plurality of portions of the query.
15. The method of claim 1 , wherein determining the compute resource availability comprises identifying a portion of the query and determining the compute resource availability for the portion of the query.
16. The method of claim 1 , wherein determining the compute resource availability comprises identifying a portion of the query and determining the compute resource availability for the portion of the query based on a quantity of compute resources of a plurality of indexers and a quantity of the compute resources allocated to one or more other queries.
17. A computing system of a data intake and query system, the computing system comprising: memory; and one or more processing devices coupled to the memory and configured to: receive a query, wherein the query identifies a set of data and a manner of processing the set of data; determine a query-resource allocation for one or more portions of the query; determine compute resource availability for the one or more portions of the query; and schedule the query based on the query-resource allocation and the determined compute resource availability.
18. The system of claim 17 , wherein to determine a query-resource allocation, the one or more processing devices are configured to determine a plurality of query-resource allocations for a plurality of portions of the query.
19. The system of claim 17 , wherein to determine a query-resource allocation, the one or more processing devices are configured to determine a first query-resource allocation that includes an allocation of a first quantity of compute resources and determining a second query-resource allocation that includes an allocation of a second quantity of compute resources that is less than the first query-resource allocation, and wherein the one or more processing devices are further configured to: determine that there are insufficient compute resources to execute the query based on the first quantity of compute resources; and schedule the query for execution based on the second query-resource allocation.
20. The system of claim 17 , wherein to determine a query-resource allocation, the one or more processing devices are configured to identify a portion of the query and determine the query-resource allocation for the portion of the query based on an identification of components of a data intake and query system that are to execute the portion of the query.
21. The system of claim 17 , wherein to determine a query-resource allocation, the one or more processing devices are configured to identify a portion of the query and determine the query-resource allocation for the portion of the query based on at least one of a quantity of indexers that store at least a portion of the set of data, a prioritization level, or a quantity worker nodes to receive results of the portion of the query.
22. The system of claim 17 , wherein to determine a query-resource allocation, the one or more processing devices are configured to identify a portion of the query and determine the query-resource allocation for the portion of the query based on at least one of a quantity of records to be processed as a result of the portion of the query, a prioritization level of the query, or a query allocation threshold.
23. Non-transitory computer-readable media comprising computer-executable instructions that, when executed by a computing system of a data intake and query system, cause the computing system to: receive a query, wherein the query identifies a set of data and a manner of processing the set of data; determine a query-resource allocation for one or more portions of the query; determine compute resource availability for the one or more portions of the query; and schedule the query based on the query-resource allocation and the determined compute resource availability.
24. The non-transitory computer-readable media of claim 23 , wherein to determine a query-resource allocation, the computer-executable instructions cause the computing system to identify a portion of the query and determine the query-resource allocation for the portion of the query based on one or more processing tasks of the query.
25. The non-transitory computer-readable media of claim 23 , wherein to determine a query-resource allocation, the computer-executable instructions cause the computing system to identify a portion of the query and determine the query-resource allocation for the portion of the query based a quantity of records to be processed as a result of a processing task of the query.
26. The non-transitory computer-readable media of claim 23 , wherein to determine a query-resource allocation, the computer-executable instructions cause the computing system to identify a portion of the query and allocating a first group of compute resources for a first processing task of the portion of the query and allocate a second group of compute resources for a second processing task of the portion of the query.
27. The non-transitory computer-readable media of claim 23 , wherein to determine a query-resource allocation, the computer-executable instructions cause the computing system to: identify a portion of the query, determine a quantity of records to be processed according to a processing task of the portion of the query; assign a size category of a plurality of size categories to the processing task based on the quantity of records to be processed according to the processing task; and determine a query-resource allocation for the processing task based on the size category assigned to the processing task.
28. The non-transitory computer-readable media of claim 23 , wherein to determine the compute resource availability, the computer-executable instructions cause the computing system to determine a plurality of compute resource availability for a plurality of portions of the query.
29. The non-transitory computer-readable media of claim 23 , wherein to determine the compute resource availability, the computer-executable instructions cause the computing system to identifying a portion of the query and determining the compute resource availability for the portion of the query.
30. The non-transitory computer-readable media of claim 23 , wherein to determine the compute resource availability, the computer-executable instructions cause the computing system to identify a portion of the query and determining the compute resource availability for the portion of the query based on a quantity of compute resources of a plurality of indexers and a quantity of the compute resources allocated to one or more other queries.
The text of each claim as printed, for pasting a claim word for word. The links in the tree view name the same claims and elements.
Status
active
As of 2026-11-17, the USPTO record for US 11341131 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2037-09-17 (20 years from the filing of a parent application on 2016-09-26, plus 356 days of patent term adjustment), a date not yet passed (data version 20261117.2).
- Basis
- term_20y · pta_days:356 (20 years from the filing of a parent application on 2016-09-26, plus 356 days of patent term adjustment)
- Term end
- 2037-09-17 Computed from the dates in the USPTO record
- Fee lapse
- none on record
- Reinstatement
- none on record; reinstatement_possible: false, not lapsed
- As of
- 2026-11-17
- Data version
- 20261117.2
A fact about the record with its basis and its as-of date, not legal advice.
Citations
References cited on the grant: 143 US patent documents · Cited by: 46 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/11341131/ (needs a free key, as the links under Get this as data)
Family outside the US
Google Patents Public Datasets lists no publication outside the US in this patent's family (read 2026-10-15).
This patent's family on USPTO Global Dossier
Family data from Google Patents Public Datasets, used under CC BY 4.0.
Record JSON
{
"patent_id": "11341131",
"status": "active",
"basis": [
"term_20y",
"pta_days:356"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2037-09-17",
"lapse_date": null,
"reinstated_date": null,
"as_of": "2026-11-17",
"data_version": "20261117.2",
"catalog_data_version": "20261117.2",
"permalink": "https://patentref.io/p/11341131?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/11341131?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/11341131/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=11341131",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/11341131/ - Status record
/api/v1/lapse/status/11341131/ - Claim tree
/api/v1/structure/claims/11341131/ - Brief
/api/v1/structure/brief/11341131/
These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.