IP Library Granted Patent US 12,530,211
Granted Patent B2
US 12,530,211 · App. 17/887,850 · Granted Jan 20, 2026

Systems and methods for dynamic server control based on estimated script complexity

Inventors: Aaron David Wallace (Canton, MI); Abhilash Krishnankutty Nair (Ann Arbor, MI)
Assignee: CHARLES SCHWAB & CO., INC.
G06F9/45512G06F9/30192G06F9/3836G06F16/9035G06F16/9038G06N20/00
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,530,211
App. No.
17/887,850
Granted
Jan 20, 2026
Kind
B2
Abstract

A computer system includes processor hardware and memory hardware storing instructions for execution by the processor hardware. The instructions include, in response to receiving a first script from a user device, compiling the first script, generating an image representation of the compiled first script, and determining an estimated runtime of the first script using a machine learning algorithm. The instructions include transmitting the estimated runtime for display on a display of the user device, categorizing the estimated runtime, and transmitting the first script to a queue based on the categorization. The instructions include, in response to the first script reaching a front of the queue, executing the first script on a server of the plurality of servers that corresponds to the queue. The instructions include, in response to the first script being executed, transforming the display of the user device according to instructions of the first script.

Claims (52)

1 . A computer system for coordinated control of a plurality of servers, the computer system comprising:

at least one memory, wherein the memory stores instructions and a runtime database including a set of salient patterns of scripts and respective runtimes for each salient pattern of the set of salient patterns of scripts; and

at least one processor configured to execute the instructions and cause the computer system to perform, in response to receiving a script from a user device,

identifying salient patterns within the script,

determining an estimated runtime of the script based on the identified salient patterns using a machine learning algorithm, the machine learning algorithm being trained using the set of salient patterns and the respective runtimes of the runtime database, the determining the estimated runtime of the script including,

identifying stored salient patterns in the runtime database corresponding to the identified salient patterns,

extracting the respective runtimes of each of the identified stored salient patterns from the runtime database, and

aggregating the respective runtimes of each of the identified stored salient patterns to determine the estimated runtime of the script,

outputting the estimated runtime of the script on a display of the user device by outputting a color corresponding to the estimated runtime of the script,

categorizing the script as a first type in response to the estimated runtime being less than or equal to a threshold time and categorizing the script as a second type in response to the estimated runtime being greater than the threshold time,

transmitting the script to a first queue of a first server of the plurality of servers in response to the script being categorized as the first type and transmitting the script to a second queue of a second server of the plurality of servers in response to the script being categorized as the second type, the first queue including scripts having estimated runtimes less than or equal to the threshold time and the second queue including scripts having estimated runtimes greater than the threshold time,

in response to the script reaching a front of the first queue or the second queue, executing the script on the first server or the second server of the plurality of servers that corresponds to the first queue or the second queue, and

in response to the script being executed, outputting a result of the execution of the script on the display of the user device.

2 . The computer system of claim 1 , wherein the computer system is further caused to perform:

in response to receiving an indication that the estimated runtime is accurate, storing the estimated runtime and the script in the runtime database.

3 . The computer system of claim 1 , wherein the script is received from the user device in response to selection of a user interface element.

4 . The computer system of claim 1 , wherein the script is received from the user device in response to selection of a new line of the script.

5 . The computer system of claim 1 , wherein the at least one memory is further configured to store an information database including data referenced in the script.

6 . The computer system of claim 5 , wherein the script includes an instruction to obtain data from the information database.

7 . The computer system of claim 1 , wherein the salient patterns include one or more of words, terms, word vectors, or numerical word representations.

8 . The computer system of claim 1 , wherein the outputting the estimated runtime on a display of the user device further comprises:

outputting a word corresponding to the estimated runtime.

9 . The computer system of claim 1 , wherein a first color is output in response to the script being categorized in the first type and a second color is output in response to the script being categorized in the second type.

10 . The computer system of claim 1 , wherein the computer system is further caused to perform:

outputting an indication corresponding to the first server or the second server of the plurality of servers that the script is transmitted to, the indication being a word corresponding to the first server or the second server of the plurality of servers that the script is transmitted to.

11 . The computer system of claim 1 , wherein the computer system is further caused to perform:

in response to receiving user input requesting feedback on accuracy of the estimated runtime after the script is executed, outputting an accuracy indication that the estimated runtime is at least one of accurate or inaccurate.

12 . The computer system of claim 1 , wherein the computer system is further caused to perform:

receiving an updated script from the user device; and

updating the estimated runtime in response to receiving a user input requesting an updated estimated runtime after receiving the updated script.

13 . A method for coordinated control of a plurality of servers, the method comprising:

in response to receiving a script from a user device,

identifying salient patterns within the script,

determining an estimated runtime of the script based on the identified salient patterns using a machine learning algorithm, the machine learning algorithm being trained using a set of salient patterns and respective runtimes for each salient pattern of the set of salient patterns of a runtime database, the determining the estimated runtime of the script including,

identifying stored salient patterns in the runtime database corresponding to the identified salient patterns,

extracting respective runtimes of each of the identified stored salient patterns from the runtime database, and

aggregating the respective runtimes of each of the identified stored salient patterns to determine the estimated runtime of the script,

outputting the estimated runtime on a display of the user device by outputting a color corresponding to the estimated runtime of the script,

categorizing the script as a first type in response to the estimated runtime being less than or equal to a threshold time and categorizing the script as a second type in response to the estimated runtime being greater than the threshold time,

transmitting the script to a first queue of a first server of the plurality of servers in response to the script being categorized as the first type and transmitting the script to a second queue of a second server of the plurality of servers in response to the script being categorized as the second type, the first queue including scripts having estimated runtimes less than or equal to the threshold time and the second queue including scripts having estimated runtimes greater than the threshold time,

in response to the script reaching a front of the first queue or the second queue, executing the script on the first server or the second server of the plurality of servers that corresponds to the first queue or the second queue, and

in response to the script being executed, outputting a result of the execution of the script on the display of the user device.

14 . The method of claim 13 , further comprising:

in response to receiving an indication that the estimated runtime is accurate, storing the estimated runtime and the script in the runtime database.

15 . The method of claim 13 , wherein the script is received from the user device in response to selection of a user interface element.

16 . The method of claim 13 , wherein the script is received from the user device in response to selection of a new line of the script.

17 . The method of claim 13 , further comprising:

storing an information database including data referenced in the script,

wherein the script includes an instruction to obtain data from the information database.

18 . The method of claim 13 , wherein the outputting the estimated runtime on a display of the user device further comprises:

outputting a word corresponding to the estimated runtime.

19 . The method of claim 13 , wherein a first color is output in response to the script being categorized in the first type and a second color is output in response to the script being categorized in the second type.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2023
From: TD AMERITRADE IP COMPANY, INC.
To: CHARLES SCHWAB & CO., INC.
Reel/Frame 064807/0936 →
Continuity (2)
Division 16816196 · Mar 11, 2020
Related Publication 20220391237A1 · Dec 8, 2022
References Cited (29)
US 10713435B1 · Sreedharan · 2020 [cited by examiner]
US 20030009754A1 · Rowley et al. · 2003 [cited by applicant]
US 20090024572A1 · Mehta et al. · 2009 [cited by applicant]
US 20090089749A1 · Day et al. · 2009 [cited by applicant]
US 20110202589A1 · Piernot · 2011 [cited by examiner]
US 20110213764A1 · Stone · 2011 [cited by examiner]
US 20120159507A1 · Kwon · 2012 [cited by examiner]
US 20130232497A1 · Jalagam et al. · 2013 [cited by applicant]
US 20140059561A1 · Grasselt · 2014 [cited by examiner]
US 20140258910A1 · Liang et al. · 2014 [cited by applicant]
US 20160112341A1 · Lui et al. · 2016 [cited by applicant]
US 20160112531A1 · Milton et al. · 2016 [cited by applicant]
US 20160188696A1 · Belghiti · 2016 [cited by applicant]
US 20170060842A1 · Dwarakanath · 2017 [cited by examiner]
US 20170228650A1 · Fu et al. · 2017 [cited by applicant]
US 20170357805A1 · Soeder · 2017 [cited by examiner]
US 20180046703A1 · Lavie · 2018 [cited by examiner]
US 20180321980A1 · Lo et al. · 2018 [cited by applicant]
US 20180329742A1 · Lo et al. · 2018 [cited by applicant]
US 20190065990A1 · Sharma · 2019 [cited by examiner]
US 20200104230A1 · Hasija et al. · 2020 [cited by applicant]
US 20200125963A1 · von Trapp · 2020 [cited by applicant]
US 20200218634A1 · Jones et al. · 2020 [cited by applicant]
US 20200285642A1 · Bei et al. · 2020 [cited by applicant]
US 20210201128A1 · Xu et al. · 2021 [cited by applicant]
Quan Le et al.; Deep Learning at the Shallow End: Malware Classification for Non-Domain Experts; DFRWS 2018; 9 pages. [cited by applicant]
International Search Report and Written Opinion for PCT Application No. PCT/IB2020/058499; dated Dec. 1, 2020; 10 pages. [cited by applicant]
International Preliminary Report On Patentability for Corresponding Application No. PCT/IB2020/058499, mailed Sep. 6, 2022. [cited by applicant]
Canadian Office Action Corresponding to Application No. 3,170,826, mailed Feb. 5, 2025. [cited by applicant]