# US 2021/0004269 A1 · Loading models on nodes having multiple model service frameworks

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0004269 A1
- Document ID: US20210004269A1
- Status: Published application
- Kind: A1
- Application number: 16/939,740
- Filed: 2020-07-27
- Published: 2021-01-07
- Earliest claimed: 2019-07-03
- Assignees: Advanced New Technologies Co., Ltd.
- Applicants: Advanced New Technologies Co., Ltd.
- Inventors: Yueming Wang; Jiliang Li
- Web page: https://patentgrep.com/patent/US20210004269A1

## CPC

- G06F 9/5038: {considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration (scheduling strategies G06F9/4881 and subgroups)}
- G06F 9/505: {considering the load}
- G06F 9/5044: {considering hardware capabilities}
- G06F 9/5072: {Grid computing}
- G06F 11/3442: {for planning or managing the needed capacity}
- G06N 20/00: Machine learning
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/3055: {Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available (error or fault processing without redundancy G06F11/0703; error detection or correction by redundancy in data representation G06F11/08; error detection or correction of the data by redundancy in operations G06F11/14; error detection or correction by redundancy in hardware G06F11/16)}
- G06F 2201/865: Monitoring of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

This disclosure relates to model loading. In one aspect, a method includes determining, based on a preset execution script and resource information of multiple execution nodes, loading-tasks corresponding to the execution nodes. Each execution node is deployed on a corresponding cluster node. Loading requests are sent to the execution nodes, thereby causing the execution nodes to start execution processes based on the corresponding loading requests. The execution processes start multiple model service frameworks on each cluster node. Multiple models are loaded onto each of the model service frameworks. Each loading request includes loading-tasks corresponding to the execution node to which the loading request was sent. The execution processes include a respective execution process for each model service framework.

## Claims

### Claim at position 1

-20. (canceled)

### Claim 21

A computer-implemented method, comprising:
receiving, by an execution node from a control node, a loading request comprising loading tasks corresponding to execution nodes, wherein the loading tasks are determined by the control node based on a preset execution script and resource information for each of a plurality of execution nodes, and wherein different execution nodes are deployed on different cluster nodes; and
starting, by the execution node, multiple execution processes based on the loading request, wherein the multiple execution processes start multiple model service frameworks and multiple models are loaded onto each of the model service frameworks.

### Claim 22 (depends on 21)

The computer-implemented method of claim 21, wherein the execution processes are in one-to-one correspondence with the model service frameworks.

### Claim 23 (depends on 21)

The computer-implemented method of claim 21, further comprising:
detecting that a target execution process has been lost; and
in response to detecting that the target execution process has been lost, re-establishing the target execution process.

### Claim 24 (depends on 21)

The computer-implemented method of claim 21, wherein:
the loading request further comprises a declaration about an execution process in the preset execution script; and
starting multiple execution processes based on the loading request comprises starting the multiple execution processes based on the declaration about the execution process in the preset execution script.

### Claim 25 (depends on 21)

The computer-implemented method of claim 21, wherein:
the loading request further comprises a declaration about a model service framework in the preset execution script; and
starting multiple model service frameworks by the multiple execution processes comprises starting the multiple model service frameworks based on the declaration about the model service framework in the preset execution script.

### Claim 26 (depends on 21)

The computer-implemented method of claim 21, wherein each cluster node comprises at least one of a physical machine, a virtual machine, or a container.

### Claim 27 (depends on 21)

The computer-implemented method of claim 21, wherein the resource information for each particular execution node comprises a least one of a quantity of central processing unit (CPU) cores of a particular cluster node on which the particular execution node is located or remaining memory capacity of the particular cluster node on which the particular execution node is located.

### Claim 28

A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
receiving, by an execution node from a control node, a loading request comprising loading tasks corresponding to execution nodes, wherein the loading tasks are determined by the control node based on a preset execution script and resource information for each of a plurality of execution nodes, and wherein different execution nodes are deployed on different cluster nodes; and
starting, by the execution node, multiple execution processes based on the loading request, wherein the multiple execution processes start multiple model service frameworks and multiple models are loaded onto each of the model service frameworks.

### Claim 29 (depends on 28)

The non-transitory, computer-readable medium of claim 28, wherein the execution processes are in one-to-one correspondence with the model service frameworks.

### Claim 30 (depends on 28)

The non-transitory, computer-readable medium of claim 28, wherein the operations comprise:
detecting that a target execution process has been lost; and
in response to detecting that the target execution process has been lost, re-establishing the target execution process.

### Claim 31 (depends on 28)

The non-transitory, computer-readable medium of claim 28, wherein:
the loading request further comprises a declaration about an execution process in the preset execution script; and
starting multiple execution processes based on the loading request comprises starting the multiple execution processes based on the declaration about the execution process in the preset execution script.

### Claim 32 (depends on 28)

The non-transitory, computer-readable medium of claim 28, wherein:
the loading request further comprises a declaration about a model service framework in the preset execution script; and
starting multiple model service frameworks by the multiple execution processes comprises starting the multiple model service frameworks based on the declaration about the model service framework in the preset execution script.

### Claim 33 (depends on 28)

The non-transitory, computer-readable medium of claim 28, wherein each cluster node comprises at least one of a physical machine, a virtual machine, or a container.

### Claim 34

A computer-implemented system, comprising:
one or more computers; and
one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform one or more operations comprising:
receiving, by an execution node from a control node, a loading request comprising loading tasks corresponding to execution nodes, wherein the loading tasks are determined by the control node based on a preset execution script and resource information for each of a plurality of execution nodes, and wherein different execution nodes are deployed on different cluster nodes; and
starting, by the execution node, multiple execution processes based on the loading request, wherein the multiple execution processes start multiple model service frameworks and multiple models are loaded onto each of the model service frameworks.

### Claim 35 (depends on 34)

The computer-implemented system of claim 34, wherein the execution processes are in one-to-one correspondence with the model service frameworks.

### Claim 36 (depends on 34)

The computer-implemented system of claim 34, wherein the operations comprise:
detecting that a target execution process has been lost; and
in response to detecting that the target execution process has been lost, re-establishing the target execution process.

### Claim 37 (depends on 34)

The computer-implemented system of claim 34, wherein:
the loading request further comprises a declaration about an execution process in the preset execution script; and
starting multiple execution processes based on the loading request comprises starting the multiple execution processes based on the declaration about the execution process in the preset execution script.

### Claim 38 (depends on 34)

The computer-implemented system of claim 34, wherein:
the loading request further comprises a declaration about a model service framework in the preset execution script; and
starting multiple model service frameworks by the multiple execution processes comprises starting the multiple model service frameworks based on the declaration about the model service framework in the preset execution script.

### Claim 39 (depends on 34)

The computer-implemented system of claim 34, wherein each cluster node comprises at least one of a physical machine, a virtual machine, or a container.

### Claim 40 (depends on 34)

The computer-implemented system of claim 34, wherein the resource information for each particular execution node comprises a least one of a quantity of CPU cores of a particular cluster node on which the particular execution node is located or remaining memory capacity of the particular cluster node on which the particular execution node is located.
