PatentRef

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

US 10572375

Detecting parameter validity in code including cross-service calls

Granted 2020-02-25 · Filed 2018-02-05 · Application 15/888,540 · Utility · Kind B1

Assignee as printed
  • Amazon Technologies, Inc., Seattle, WA (US)
Inventors
Timothy Allen Wagner, Seattle, WA (US)
CPC, current
G06F11/3688; G06F9/547; G06F11/3612; G06F11/368; G06F16/951; G06N3/08; G06N5/022; G06N20/00

Abstract

Systems and methods are described for conducting static analysis of code invoking network-based services to identify, without requiring execution of the code, errors that may be introduced due to the invocations of the network-based services. A system is provided that may analyze code to detect both direct invocations of services, as well as indirect invocations caused by the direct invocations. The system can model inputs and outputs of directly or indirectly invoked services to identify errors in parameters passed to those services, even when the errors are not apparent from an analysis of the code in isolation. In some instances, the system can traverse a “call graph” of all services invoked by code either directly or indirectly to trace parameter errors through multiple levels of indirection.

Claims

20 claims · independent 1, 7 and 14

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 to analyze code executable on an on-demand code execution system to detect potentially invalid parameters passed to an invoked service, the system comprising:

  1. Claim 1, element e1a physical data store storing executable code submitted to the on-demand code execution system by a user device, the executable code including an invocation of a first network-accessible service; 171–365
  2. Claim 1, element e2a computing device in communication with the physical data store and configured to: 367–449
  3. Claim 1, element e3obtain the executable code; 451–477
  4. Claim 1, element e4identify, independent of execution of the executable code, the invocation within the executable code of the first network-accessible service, 479–619
  5. Claim 1, element e5wherein the invocation of the first service includes a parameter to be passed to the first network-accessible service; 621–738
  6. Claim 1, element e6determine an expected output of the first network-accessible service, the expected output including an invocation of one or more second network-accessible services not referenced within the executable code and an expected parameter to be passed to the one or more second network-accessible services; 740–1038
  7. Claim 1, element e7obtain parameter evaluation criteria for the one or more second network-accessible services; 1040–1131
  8. Claim 1, element e8compare the expected parameter to the parameter evaluation criteria to determine that the expected parameter does not satisfy the parameter evaluation criteria; and 1133–1292
  9. Claim 1, element e9transmit an indication that the expected parameter does not satisfy the parameter evaluation criteria.1298–1399
5 dependent claims: 2 to 6 (2, 3, 6 on claim 1; 4, 5 on 3)

Claim 2

Depends on claim 1.

2. The system of claim 1 , wherein

  1. Claim 2, element e1the invocation within the executable code of the first network-accessible service is an application programming interface (API) call.35–167

Claim 3

Depends on claim 1.

3. The system of claim 1 , wherein

  1. Claim 3, element e1the computing device is further configured to: 35–80
  2. Claim 3, element e2obtain service information for the first network-accessible service, the service information including a transformation of an input parameter to an output of the first network-accessible service; and 82–276
  3. Claim 3, element e3determine the expected output of the first network-accessible service based on applying the transformation to the parameter to be passed to the first network-accessible service.282–458

Claim 4

Depends on claim 3.

4. The system of claim 3 , wherein

  1. Claim 4, element e1the first network-accessible service is implemented as an execution of second executable code on the on-demand code execution system, and wherein the computing device is configured to determine the transformation based on analysis of the second executable code.35–295

Claim 5

Depends on claim 3.

5. The system of claim 3 , wherein

  1. Claim 5, element e1the analysis of the second executable code is a static analysis conducted without requiring execution of the second executable code.35–166

Claim 6

Depends on claim 1.

6. The system of claim 1 , wherein

  1. Claim 6, element e1the parameter validation criteria for the second network-accessible service includes at least one of a permissible data type for the expected parameter or a permissible range of values for the expected parameter.35–246

Claim 7

Independent claim.

7. A computer-implemented method comprising:

  1. Claim 7, element e1obtaining executable code from a user device; 45–89
  2. Claim 7, element e2identifying, independent of execution of the executable code, an invocation within the executable code of a first network-accessible service and a parameter to be passed to the first network-accessible service; 91–300
  3. Claim 7, element e3determining that an expected output of the first network-accessible service corresponds to an invocation of one or more second network-accessible services; 302–456
  4. Claim 7, element e4determining an expected parameter to be passed to the one or more second network-accessible services; 458–558
  5. Claim 7, element e5obtaining parameter evaluation criteria for the one or more second network-accessible services; 560–654
  6. Claim 7, element e6comparing the expected parameter to the parameter evaluation criteria to determine that the expected parameter does not satisfy the parameter evaluation criteria; and 656–817
  7. Claim 7, element e7transmitting an indication that the expected parameter does not satisfy the parameter evaluation criteria.823–928
6 dependent claims: 8 to 13 (8, 9, 11, 12, 13 on claim 7; 10 on 9)

Claim 8

Depends on claim 7.

8. The computer-implemented method of claim 7 , wherein

  1. Claim 8, element e1the one or more second network-accessible services are not referenced within the executable code.56–152

Claim 9

Depends on claim 7.

9. The computer-implemented method of claim 7 , wherein

  1. Claim 9, element e1identifying the invocation within the executable code comprises identifying a code segment within the executable code that is associated with the first network-accessible service.56–234

Claim 10

Depends on claim 9.

10. The computer-implemented method of claim 9 , wherein

  1. Claim 10, element e1identifying the invocation within the executable code further comprises referencing information mapping the code segment to the first network-accessible service.57–217

Claim 11

Depends on claim 7.

11. The computer-implemented method of claim 7 , wherein

  1. Claim 11, element e1determining that the expected output of the first network-accessible service corresponds to the invocation of the one or more second network-accessible services comprises determining that the expected output of the first network-accessible service is the invocation of the one or more second network-accessible services.57–376

Claim 12

Depends on claim 7.

12. The computer-implemented method of claim 7 , wherein

  1. Claim 12, element e1at least one of the one or more second network-accessible services is implemented as an execution of second executable code on an on-demand code execution system, and wherein determining that the expected output of the first network-accessible service corresponds to the invocation the one or more second network-accessible services comprises determining that the expected output of the first network-accessible service satisfies criteria maintained at the on-demand code execution system for execution of the second executable code.57–589

Claim 13

Depends on claim 7.

13. The computer-implemented method of claim 7 further comprising:

  1. Claim 13, element e1determining, from the expected parameter to be passed to the one or more second network-accessible services, an expected output of the one or more second network-accessible services, the expected output of the one or more second network-accessible services including an invocation of a third network-accessible service and an expected parameter to be passed to the third network-accessible service; 67–464
  2. Claim 13, element e2obtaining parameter validation criteria for the third network-accessible service; 466–546
  3. Claim 13, element e3comparing the expected parameter to be passed to the third network-accessible service to the parameter evaluation criteria for the third network-accessible service to determine that the expected parameter to be passed to the third network-accessible service does not satisfy the parameter evaluation criteria for the third network-accessible service; and 548–897
  4. Claim 13, element e4transmitting an indication that the expected parameter to be passed to the third network-accessible service does not satisfy the parameter evaluation criteria for the third network-accessible service.903–1102

Claim 14

Independent claim.

14. Non-transitory computer-readable media comprising

  1. Claim 14, element e1executable instructions that, when executed on a computing system, cause the computing system to: 54–150
  2. Claim 14, element e2obtain executable code from a user device; 152–193
  3. Claim 14, element e3identify, independent of execution of the executable code, an invocation within the executable code of a first network-accessible service and a parameter to be passed to the first network-accessible service; 195–401
  4. Claim 14, element e4determine an expected output of the first network-accessible service, the expected output including an invocation of one or more second network-accessible services and an expected parameter to be passed to the one or more second network-accessible services; 403–659
  5. Claim 14, element e5obtain parameter evaluation criteria for the one or more second network-accessible services; 661–752
  6. Claim 14, element e6compare the expected parameter to the parameter evaluation criteria to determine that the expected parameter does not satisfy the parameter evaluation criteria; and 754–913
  7. Claim 14, element e7transmit an indication that the expected parameter does not satisfy the parameter evaluation criteria.919–1020
6 dependent claims: 15 to 20 (15 on claim 14; 16, 17, 18, 19, 20 on 15)

Claim 15

Depends on claim 14.

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

  1. Claim 15, element e1the executable instructions further cause the computing system to: 69–134
  2. Claim 15, element e2obtain service information for the first network-accessible service, the service information including a transformation of an input parameter to an output of the first network-accessible service; and 136–330
  3. Claim 15, element e3determine the expected output of the first network-accessible service based on applying the transformation to the parameter to be passed to the first network-accessible service.336–512

Claim 16

Depends on claim 15.

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

  1. Claim 16, element e1the executable instructions further cause the computing system to: 69–134
  2. Claim 16, element e2determine the transformation based on a record of one or more prior input parameters to the first network-accessible service and one or more prior outputs of the first network-accessible service corresponding to the one or more prior input parameters.136–386

Claim 17

Depends on claim 15.

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

  1. Claim 17, element e1the executable instructions further cause the computing system to determine the transformation based on application of a machine-learning algorithm to the record.69–230

Claim 18

Depends on claim 15.

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

  1. Claim 18, element e1the service information is obtained at the computing system in response to transmission of a query to an application programming interface of the first network-accessible service.69–247

Claim 19

Depends on claim 15.

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

  1. Claim 19, element e1the first network-accessible service is implemented as an execution of second executable code on an on-demand code execution system, and wherein the executable instructions further cause the computing system to determine the transformation based on analysis of the second executable code.69–356

Claim 20

Depends on claim 15.

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

  1. Claim 20, element e1the indication that the expected parameter does not satisfy the parameter evaluation criteria includes an identification of at least one of the invocation, within the executable code, of the first network-accessible service or the expected output of the first network-accessible service.69–355

Status

active

As of 2026-11-17, the USPTO record for US 10572375 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2038-08-06 (20 years from filing, plus 182 days of patent term adjustment), a date not yet passed (data version 20261117.2).

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

Data 20261117.2 · as of 2026-11-17