US 10678536
Callable notebook for cluster execution
Granted 2020-06-09 · Filed 2019-04-08 · Application 16/378,353 · Utility · Kind B2 · Prior publication US 2019/0258479 A1, 2019-08-22
- Assignee as printed
- Databricks Inc., San Francisco, CA (US) · PatentsView label: Databricks, Inc.
- Inventors
- Timothee Hunter, Berkeley, CA (US); Ali Ghodsi, Berkeley, CA (US); Ion Stoica, Piedmont, CA (US)
- CPC, current
- G06F8/71; G06F8/54; G06F9/445; G06F9/45504; G06F9/45512; G06F9/5066; G06F16/9535
Abstract
A system for processing a notebook includes an input interface and a processor. The input interface is to receive a first notebook. The notebook comprises code for interactively querying and viewing data. The processor is to load the first notebook into a shell. The shell receives one or more parameters associated with the first notebook. The shell executes the first notebook using a cluster.
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 system for processing a notebook, comprising:
- Claim 1, element e1an input interface to receive a first notebook, 51–97
- Claim 1, element e2wherein the notebook comprises code for interactively querying and viewing data; and 99–178
- Claim 1, element e3a processor to: 184–198
- Claim 1, element e4load the first notebook into a shell, 200–236
- Claim 1, element e5wherein the first notebook includes at least one command, and wherein the shell receives one or more parameters associated with the first notebook; and 238–384
- Claim 1, element e6execute a command of the at least one command, comprising to: 390–450
- Claim 1, element e7determine whether a selected command relates to a local command; and 452–515
- Claim 1, element e8in response to a determination that the selected command does not relate to the local command: 521–614
- Claim 1, element e9determine whether the selected command relates to a cluster command, comprising to: 616–698
- Claim 1, element e10determine whether the selected command relates to a cluster command based on an estimated time to complete the command locally, an estimated processor load to complete the command locally, a data usage, an indication of whether the command is the cluster command, or any combination thereof; and 700–990
- Claim 1, element e11in response to a determination that the selected command does not relate to the cluster command: 996–1091
- Claim 1, element e12determine that the selected command relates to a special case; and 1093–1154
- Claim 1, element e13execute the special case command.1160–1192
17 dependent claims: 2 to 18 (2, 3, 4, 9, 10, 11, 12, 14, 15, 16 on claim 1; 5, 6, 7, 8 on 4; 13 on 12; 17 on 16; 18 on 17)
Claim 2
Depends on claim 1.
2. The system of claim 1 , wherein
- Claim 2, element e1the shell replaces one or more variables in the first notebook with the one or more input parameters.35–135
Claim 3
Depends on claim 1.
3. The system of claim 1 , wherein
- Claim 3, element e1the shell executes the first notebook a second time using one or more different input parameters.35–131
Claim 4
Depends on claim 1.
4. The system of claim 1 , wherein
- Claim 4, element e1the first notebook comprises a command to execute a second notebook.35–102
Claim 5
Depends on claim 4.
5. The system of claim 4 , wherein
- Claim 5, element e1the second notebook and the first notebook comprise different notebooks.35–106
Claim 6
Depends on claim 4.
6. The system of claim 4 , wherein
- Claim 6, element e1the second notebook is written in a different language than the first notebook.35–113
Claim 7
Depends on claim 4.
7. The system of claim 4 , wherein
- Claim 7, element e1the second notebook and the first notebook comprise the same notebook.35–104
Claim 8
Depends on claim 4.
8. The system of claim 4 , wherein
- Claim 8, element e1the second notebook produces output.35–70
Claim 9
Depends on claim 1.
9. The system of claim 1 , wherein
- Claim 9, element e1the first notebook produces output.35–69
Claim 10
Depends on claim 1.
10. The system of claim 1 , wherein
- Claim 10, element e1the shell is configured to prevent recursion.36–80
Claim 11
Depends on claim 1.
11. The system of claim 1 , wherein
- Claim 11, element e1the processor provides an indication for display based at least in part on an output from the first notebook.36–144
Claim 12
Depends on claim 1.
12. The system of claim 1 , wherein
- Claim 12, element e1the first notebook comprises multiple code sections.36–87
Claim 13
Depends on claim 12.
13. The system of claim 12 , wherein
- Claim 13, element e1code sections within the first notebook are in different languages.37–103
Claim 14
Depends on claim 1.
14. The system of claim 1 , wherein
- Claim 14, element e1the shell re-executes the first notebook.36–76
Claim 15
Depends on claim 1.
15. The system of claim 1 , wherein
- Claim 15, element e1the shell re-executes a code section of the first notebook.36–94
Claim 16
Depends on claim 1.
16. The system of claim 1 , wherein
- Claim 16, element e1executing the first notebook comprises accessing a big data repository.36–106
Claim 17
Depends on claim 16.
17. The system of claim 16 , wherein
- Claim 17, element e1updated data is accessed from the big data repository.37–90
Claim 18
Depends on claim 17.
18. The system of claim 17 , wherein
- Claim 18, element e1the shell re-executes the first notebook using the updated data.37–100
Claim 19
Independent claim.
19. A method for processing a notebook, comprising:
- Claim 19, element e1receiving a first notebook, 52–78
- Claim 19, element e2wherein the notebook comprises code for interactively querying and viewing data; 80–159
- Claim 19, element e3loading, using a processor, the first notebook into a shell, 161–220
- Claim 19, element e4wherein the first notebook includes at least one command, and wherein the shell receives one or more parameters associated with the first notebook; and 222–368
- Claim 19, element e5executing a command of the at least one command, comprising: 374–433
- Claim 19, element e6determining whether a selected command relates to a local command; and 435–500
- Claim 19, element e7in response to a determination that the selected command does not relate to the local command: 506–599
- Claim 19, element e8determining whether the selected command relates to a cluster command, comprising: 601–682
- Claim 19, element e9determining whether the selected command relates to a cluster command based on an estimated time to complete the command locally, an estimated processor load to complete the command locally, a data usage, an indication of whether the command is the cluster command, or any combination thereof; and 684–976
- Claim 19, element e10in response to a determination that the selected command does not relate to the cluster command: 982–1077
- Claim 19, element e11determining that the selected command relates to a special case; and 1079–1142
- Claim 19, element e12executing the special case command.1148–1182
Claim 20
Independent claim.
20. A computer program product for processing a notebook, the computer program product being embodied in a non-transitory computer readable storage medium and comprising
- Claim 20, element e1computer instructions for: 170–195
- Claim 20, element e2receiving a first notebook, 197–223
- Claim 20, element e3wherein the notebook comprises code for interactively querying and viewing data; 225–304
- Claim 20, element e4loading the first notebook into a shell, 306–345
- Claim 20, element e5wherein the first notebook includes at least one command, and wherein the shell receives one or more parameters associated with the first notebook; and 347–493
- Claim 20, element e6executing a command of the at least one command, comprising: 499–558
- Claim 20, element e7determining whether a selected command relates to a local command; and 560–625
- Claim 20, element e8in response to a determination that the selected command does not relate to the local command: 631–724
- Claim 20, element e9determining whether the selected command relates to a cluster command, comprising: 726–807
- Claim 20, element e10determining whether the selected command relates to a cluster command based on an estimated time to complete the command locally, an estimated processor load to complete the command locally, a data usage, an indication of whether the command is the cluster command, or any combination thereof; and 809–1101
- Claim 20, element e11in response to a determination that the selected command does not relate to the cluster command: 1107–1202
- Claim 20, element e12determining that the selected command relates to a special case; and 1204–1267
- Claim 20, element e13executing the special case command.1273–1307
Claim 20 (this number appears more than once in the data)
Independent claim.
20. A computer program product for processing a notebook, the computer program product being embodied in a non-transitory computer readable storage medium and comprising
- Claim 20, element e1computer instructions for: 170–195
- Claim 20, element e2receiving a first notebook, 197–223
- Claim 20, element e3wherein the notebook comprises code for interactively querying and viewing data; 225–304
- Claim 20, element e4loading the first notebook into a shell, 306–345
- Claim 20, element e5wherein the first notebook includes at least one command, and wherein the shell receives one or more parameters associated with the first notebook; and 347–493
- Claim 20, element e6executing a command of the at least one command, comprising: 499–558
- Claim 20, element e7determining whether a selected command relates to a local command; and 560–625
- Claim 20, element e8in response to a determination that the selected command does not relate to the local command: 631–724
- Claim 20, element e9determining whether the selected command relates to a cluster command, comprising: 726–807
- Claim 20, element e10determining whether the selected command relates to a cluster command based on an estimated time to complete the command locally, an estimated processor load to complete the command locally, a data usage, an indication of whether the command is the cluster command, or any combination thereof; and 809–1101
- Claim 20, element e11in response to a determination that the selected command does not relate to the cluster command: 1107–1202
- Claim 20, element e12determining that the selected command relates to a special case; and 1204–1267
- Claim 20, element e13executing the special case command.1273–1307
1. A system for processing a notebook, comprising: an input interface to receive a first notebook, wherein the notebook comprises code for interactively querying and viewing data; and a processor to: load the first notebook into a shell, wherein the first notebook includes at least one command, and wherein the shell receives one or more parameters associated with the first notebook; and execute a command of the at least one command, comprising to: determine whether a selected command relates to a local command; and in response to a determination that the selected command does not relate to the local command: determine whether the selected command relates to a cluster command, comprising to: determine whether the selected command relates to a cluster command based on an estimated time to complete the command locally, an estimated processor load to complete the command locally, a data usage, an indication of whether the command is the cluster command, or any combination thereof; and in response to a determination that the selected command does not relate to the cluster command: determine that the selected command relates to a special case; and execute the special case command.
2. The system of claim 1 , wherein the shell replaces one or more variables in the first notebook with the one or more input parameters.
3. The system of claim 1 , wherein the shell executes the first notebook a second time using one or more different input parameters.
4. The system of claim 1 , wherein the first notebook comprises a command to execute a second notebook.
5. The system of claim 4 , wherein the second notebook and the first notebook comprise different notebooks.
6. The system of claim 4 , wherein the second notebook is written in a different language than the first notebook.
7. The system of claim 4 , wherein the second notebook and the first notebook comprise the same notebook.
8. The system of claim 4 , wherein the second notebook produces output.
9. The system of claim 1 , wherein the first notebook produces output.
10. The system of claim 1 , wherein the shell is configured to prevent recursion.
11. The system of claim 1 , wherein the processor provides an indication for display based at least in part on an output from the first notebook.
12. The system of claim 1 , wherein the first notebook comprises multiple code sections.
13. The system of claim 12 , wherein code sections within the first notebook are in different languages.
14. The system of claim 1 , wherein the shell re-executes the first notebook.
15. The system of claim 1 , wherein the shell re-executes a code section of the first notebook.
16. The system of claim 1 , wherein executing the first notebook comprises accessing a big data repository.
17. The system of claim 16 , wherein updated data is accessed from the big data repository.
18. The system of claim 17 , wherein the shell re-executes the first notebook using the updated data.
19. A method for processing a notebook, comprising: receiving a first notebook, wherein the notebook comprises code for interactively querying and viewing data; loading, using a processor, the first notebook into a shell, wherein the first notebook includes at least one command, and wherein the shell receives one or more parameters associated with the first notebook; and executing a command of the at least one command, comprising: determining whether a selected command relates to a local command; and in response to a determination that the selected command does not relate to the local command: determining whether the selected command relates to a cluster command, comprising: determining whether the selected command relates to a cluster command based on an estimated time to complete the command locally, an estimated processor load to complete the command locally, a data usage, an indication of whether the command is the cluster command, or any combination thereof; and in response to a determination that the selected command does not relate to the cluster command: determining that the selected command relates to a special case; and executing the special case command.
20. A computer program product for processing a notebook, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for: receiving a first notebook, wherein the notebook comprises code for interactively querying and viewing data; loading the first notebook into a shell, wherein the first notebook includes at least one command, and wherein the shell receives one or more parameters associated with the first notebook; and executing a command of the at least one command, comprising: determining whether a selected command relates to a local command; and in response to a determination that the selected command does not relate to the local command: determining whether the selected command relates to a cluster command, comprising: determining whether the selected command relates to a cluster command based on an estimated time to complete the command locally, an estimated processor load to complete the command locally, a data usage, an indication of whether the command is the cluster command, or any combination thereof; and in response to a determination that the selected command does not relate to the cluster command: determining that the selected command relates to a special case; and executing the special case command.
20. A computer program product for processing a notebook, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for: receiving a first notebook, wherein the notebook comprises code for interactively querying and viewing data; loading the first notebook into a shell, wherein the first notebook includes at least one command, and wherein the shell receives one or more parameters associated with the first notebook; and executing a command of the at least one command, comprising: determining whether a selected command relates to a local command; and in response to a determination that the selected command does not relate to the local command: determining whether the selected command relates to a cluster command, comprising: determining whether the selected command relates to a cluster command based on an estimated time to complete the command locally, an estimated processor load to complete the command locally, a data usage, an indication of whether the command is the cluster command, or any combination thereof; and in response to a determination that the selected command does not relate to the cluster command: determining that the selected command relates to a special case; and executing the special case command.
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 10678536 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record, leaving out a terminal disclaimer it shows without a date, is 2036-01-29 (20 years from the filing of a parent application on 2016-01-29), a date not yet passed; that disclaimer can only make the term end earlier (data version 20261117.2).
- Basis
- term_20y · terminal_disclaimer (20 years from the filing of a parent application on 2016-01-29, a terminal disclaimer on record without a date, which can only make the term end earlier than the date computed from the other dates)
- Term end
- 2036-01-29 Computed from the dates in the USPTO recordThis date leaves out a terminal disclaimer on record that has no date; that disclaimer can only make the term end earlier.
- 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: 3 US patent documents · Cited by: 44 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10678536/ (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": "10678536",
"status": "active",
"basis": [
"term_20y",
"terminal_disclaimer"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2036-01-29",
"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/10678536?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/10678536?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/10678536/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=10678536",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/10678536/ - Status record
/api/v1/lapse/status/10678536/ - Claim tree
/api/v1/structure/claims/10678536/ - Brief
/api/v1/structure/brief/10678536/
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.