PatentRef

Data version 20261117.2, as of 2026-11-17. Free beta.

US 10754701

Executing user-defined code in response to determining that resources expected to be utilized comply with resource restrictions

Granted 2020-08-25 · Filed 2015-12-16 · Application 14/971,794 · Utility · Kind B1

Assignee as printed
  • Amazon Technologies, Inc., Seattle, WA (US)
Inventors
Timothy Allen Wagner, Seattle, WA (US)
CPC, current
G06F9/5077; G06F9/5055

Abstract

Systems and methods are described for determining a location in an on-demand code execution environment to execute user-specified code. The on-demand code execution environment may include many points of presence (POPs), some of which have limited computing resources. An execution profile for a set of user-specified code can be determined that indicates the resources likely to be used during execution of the code. Each POP of the environment may compare that execution profile to resource restrictions of the POP, to determine whether execution of the code should be permitted. In some instances, where execution of the code should not be permitted at a given POP, an alternative POP may be selected to execute the code.

Claims

20 claims · independent 1, 7 and 15

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 computer-implemented method of selecting an execution location in an on-demand code execution environment, the on-demand code execution environment comprising a plurality of points of presence (POPs) on which user-defined code may be executed, the method comprising:

  1. Claim 1, element e1as implemented by one or more computing devices configured with specific computer-executable instructions, generating an execution profile for a task associated with the on-demand code execution environment and generated by a user of the on-demand code execution environment, the task represented by at least a first set of user-defined executable code, 272–624
  2. Claim 1, element e2wherein the execution profile indicates amounts of individual computing resources, from a set of computing resources, that an execution of the first set of user-defined executable code representing the task on the on-demand code execution environment is expected to utilize; 626–899
  3. Claim 1, element e3obtaining, from a client computing device distinct from a first POP of the plurality of POPs, a request for the first POP to execute the first set of user-defined executable code representing the task on behalf of the client computing device; 901–1142
  4. Claim 1, element e4prior to satisfying the request by executing the first set of user-defined executable code representing the task at the first POP on behalf of the client computing device, comparing the execution profile of the task to a set of resource restrictions associated with the first POP, indicating at least a maximum time in which execution of the first set of user-defined executable code representing the task is expected to complete, to determine that the amounts of individual computing resources, from the set of computing resources, expected to be utilized during execution of the first set of user-defined executable code representing the task at the first POP comply with the resource restrictions of the first POP; and 1144–1860
  5. Claim 1, element e5causing the first POP to execute the first set of user-defined executable code representing the task on behalf of the client computing device in response to determining that the amounts of individual computing resources expected to be utilized complies with the resource restrictions of the first POP.1866–2166
5 dependent claims: 2 to 6 (2, 4, 5, 6 on claim 1; 3 on 2)

Claim 2

Depends on claim 1.

2. The computer-implemented method of claim 1 , wherein

  1. Claim 2, element e1causing the first POP to execute the task comprises selecting a virtual machine, from a plurality of virtual machines implemented at the first POP, on which to execute the task.56–232

Claim 3

Depends on claim 2.

3. The computer-implemented method of claim 2 , wherein

  1. Claim 3, element e1the virtual machine is pre-initialized with an operating environment on which to execute the task.56–153

Claim 4

Depends on claim 1.

4. The computer-implemented method of claim 1 , wherein

  1. Claim 4, element e1the execution profile for the task is determined based at least in part on at least one of static analysis of the first set of user-defined executable code or dynamic analysis of executions of the first set of user-defined executable code, 56–294
  2. Claim 4, element e2wherein static analysis comprises analysis of the first set of user-defined executable code independent of execution of the code, and where dynamic analysis comprises analysis of information regarding the executions of the first set of user-defined executable code.296–560

Claim 5

Depends on claim 1.

5. The computer-implemented method of claim 1 , wherein

  1. Claim 5, element e1the execution profile for the task is determined based at least in part on at least one of function calls included within the first set of user-defined executable code, libraries referenced within the first set of user-defined executable code, or permissions requested for execution of the first set of user-defined code.56–376

Claim 6

Depends on claim 1.

6. The computer-implemented method of claim 1 , wherein

  1. Claim 6, element e1the execution profile for the task is generated based at least in part on static analysis of the first set of user defined executable code, 56–194
  2. Claim 6, element e2wherein static analysis comprises analysis of content of the first set of user-defined executable code independent of execution of the code.196–335

Claim 7

Independent claim.

7. A system for selecting an execution location in an on-demand code execution environment, the on-demand code execution environment comprising a plurality of points of presence (POPs) on which user-defined code may be executed, the system comprising:

  1. Claim 7, element e1a non-transitory data store including an execution profile for a task associated with the on-demand code execution environment and generated by a user of the on-demand code execution environment, the task represented by at least a set of user-defined executable code, 252–518
  2. Claim 7, element e2wherein the execution profile indicates individual computing resources, from a set of computing resources, that an execution of the set of user-defined executable code representing the task on the on-demand code execution environment is expected to utilize; and 520–776
  3. Claim 7, element e3a computing device implementing functionalities of a first POP from the plurality of POPs, the computing device comprising a processor in communication with the non-transitory data store and configured with specific computer-executable instructions to: 782–1033
  4. Claim 7, element e4obtain, from a client computing device distinct from the first POP, a request for the first POP to execute the set of user-defined executable code representing the task i prior to satisfying the request by executing the set of user-defined executable code representing the task at the first POP, compare the execution profile of the task to a set of resource restrictions associated with the first POP, indicating at least a maximum time in which execution of the set of user-defined executable code representing the task is expected to complete, to determine that the individual computing resources, from the set of computing resources, expected to be utilized during execution of the set of user-defined executable code representing the task at the first POP comply with the set of resource restrictions of the first POP; and 1035–1857
  5. Claim 7, element e5cause the first POP to execute the set of user-defined executable code representing the task in response to determining that the amounts of individual computing resources expected to be utilized complies with the resource restrictions of the first POP.1863–2114
7 dependent claims: 8 to 14 (8, 9, 10, 12 on claim 7; 11, 13, 14 on 10)

Claim 8

Depends on claim 7.

8. The system of claim 7 , wherein

  1. Claim 8, element e1the request to execute the set of user-defined executable code representing the task corresponds to at least one of an application programming interface (API) call, a hypertext transport protocol (HTTP) request, a request generated by execution of another task on the on-demand code execution environment, or a request generated by the on-demand code execution environment based on data obtained from an auxiliary service.35–456

Claim 9

Depends on claim 7.

9. The system of claim 7 , wherein

  1. Claim 9, element e1the set of resource restrictions associated with the first POP are determined based at least in part on a set of other tasks assigned for execution at the first POP.35–199

Claim 10

Depends on claim 7.

10. The system of claim 7 , wherein

  1. Claim 10, element e1the computing device is further configured with specific computer-executable instructions to: 36–128
  2. Claim 10, element e2obtain a request to execute, at the first POP, a second set of user-defined executable code representing a second task: 130–248
  3. Claim 10, element e3compare an execution profile of the second task to the set of resource restrictions associated with the first POP to determine that the individual computing resources, from the set of computing resources, expected to be utilized during execution of the second set of user-defined executable code representing the second task do not comply with the set of resource restrictions; and 250–626
  4. Claim 10, element e4transmit the request to execute the second set of user-defined executable code representing the second task to a second POP from the plurality of POPs.632–782

Claim 11

Depends on claim 10.

11. The system of claim 10 , wherein

  1. Claim 11, element e1the computing device is further configured with specific computer-executable instructions to select the second POP from the plurality of POPs based at least in part on a set of resource restrictions associated with the second POP.37–266

Claim 12

Depends on claim 7.

12. The system of claim 7 , wherein

  1. Claim 12, element e1the computing resources expected to be utilized during execution of the set of user-defined executable code representing the task include at least one of computing resources local to computing device that implements a virtual machine instance executing the set of user-defined executable code representing the task or computing resources external to the computing device.36–406

Claim 13

Depends on claim 10.

13. The system of claim 10 , wherein

  1. Claim 13, element e1the second POP is associated with lower resource restrictions than the first POP.37–117

Claim 14

Depends on claim 10.

14. The system of claim 10 , wherein

  1. Claim 14, element e1the second POP is not configured to enforce resource restrictions.37–102

Claim 15

Independent claim.

15. Non-transitory, computer-readable storage media comprising

  1. Claim 15, element e1computer executable instructions for selecting an execution location in an on-demand code execution environment, the on-demand code execution environment comprising a plurality of points of presence (POPs) on which user-defined code may be executed, 63–311
  2. Claim 15, element e2wherein the computer-executable instructions, when executed by a computer system, cause the computer system to: 313–423
  3. Claim 15, element e3obtain, from a client computing device distinct from a first POP of the plurality of POPs, a request for the first POP to execute a set of user-defined executable code representing a task at the first POP; 425–629
  4. Claim 15, element e4prior to satisfying the request by executing the set of user-defined executable code representing the task at the first POP, determine that an execution profile for the task complies with a set of resource restrictions on the first POP indicating at least a maximum time in which execution of the set of user-defined executable code representing the task is expected to complete, 631–1009
  5. Claim 15, element e5wherein the execution profile indicates individual computing resources, from a set of computing resources, that an execution of the set of user-defined executable code representing the task on the on-demand code execution environment is expected to utilize, and wherein compliance with the set of resource restrictions indicates that the amounts of individual computing resources, from the set of computing resources, expected to be utilized during execution of the set of user-defined executable code representing the task at the first POP fall within threshold limits established within the resource restrictions on the first POP; and 1011–1642
  6. Claim 15, element e6cause the first POP to execute the set of user-defined executable code representing the task in response to determining that the amounts of individual computing resources expected to be utilized complies with the resource restrictions of the first POP.1648–1899
5 dependent claims: 16 to 20 (16, 17, 18, 20 on claim 15; 19 on 18)

Claim 16

Depends on claim 15.

16. The non-transitory, computer-readable storage media of claim 15 , wherein

  1. Claim 16, element e1the set of user-defined executable code is executed by a pre-initialized virtual machine instance of the first POP.78–192

Claim 17

Depends on claim 15.

17. The non-transitory, computer-readable storage media of claim 15 , wherein

  1. Claim 17, element e1the set of resource restrictions associated with the first POP are determined based at least in part on a set of other tasks assigned for execution at the first POP.78–242

Claim 18

Depends on claim 15.

18. The non-transitory, computer-readable storage media of claim 15 , wherein

  1. Claim 18, element e1the computer-executable instructions further cause the computer system to: 78–151
  2. Claim 18, element e2obtain a request to execute, at the first POP, a second set of user-defined executable code representing a second task; 153–271
  3. Claim 18, element e3compare an execution profile of the second task to the set of resource restrictions associated with the first POP to determine that the individual computing resources, from the set of computing resources, expected to be utilized during execution of the second set of user-defined executable code representing the second task do not comply with the set of resource restrictions; and 273–649
  4. Claim 18, element e4transmit the request to execute the second set of user-defined executable code representing the second task to a second POP from the plurality of POPs.655–805

Claim 19

Depends on claim 18.

19. The non-transitory, computer-readable storage media of claim 18 , wherein

  1. Claim 19, element e1the computer-executable instructions further cause the computer system to select the second POP from the plurality of POPs based at least in part on a set of resource restrictions associated with the second POP.78–288

Claim 20

Depends on claim 15.

20. The non-transitory, computer-readable storage media of claim 15 , wherein

  1. Claim 20, element e1the computing resources expected to be utilized during execution of the set of user-defined executable code representing the task include at least one of computing resources local to a computing device that implements a virtual machine instance executing the set of user defined executable code representing the task or computing resources external to the computing device.78–450

Status

active

As of 2026-11-17, the USPTO record for US 10754701 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2035-12-16 (20 years from filing), a date not yet passed (data version 20261117.2).

Basis
term_20y (20 years from filing)
Term end
2035-12-16 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: 121 US patent documents · Cited by: 61 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10754701/ (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": "10754701",
 "status": "active",
 "basis": [
  "term_20y"
 ],
 "reinstatement_possible": false,
 "reinstatement_basis": "not lapsed",
 "expiry_date_estimated": "2035-12-16",
 "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/10754701?v=20261117.2",
 "next_steps": [
  {
   "kind": "record",
   "url": "https://patentref.io/p/10754701?v=20261117.2",
   "audience": "human"
  },
  {
   "kind": "patent",
   "url": "https://patentref.io/api/v1/patent/10754701/",
   "audience": "agent"
  },
  {
   "kind": "fee_events",
   "tool": "uspto_patent_center",
   "url": "https://patentcenter.uspto.gov/applications?patentNumber=10754701",
   "audience": "agent"
  }
 ]
}

Get this as data

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.

Elsewhere

Cite this record

https://patentref.io/p/10754701?v=20261117.2

Data 20261117.2 · as of 2026-11-17