# US 2019/0056942 A1 · Method and apparatus for hardware acceleration in heterogeneous distributed computing

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

- Number: US 2019/0056942 A1
- Document ID: US20190056942A1
- Status: Published application
- Kind: A1
- Application number: 15/680,179
- Filed: 2017-08-17
- Published: 2019-02-21
- Earliest claimed: 2017-08-17
- Assignees: Huawei Technologies Co., Ltd.
- Inventors: Yuanxi CHEN; Jack Hon Wai NG; Craig DAVIES; Reza AZIMI
- Web page: https://patentgrep.com/patent/US20190056942A1

## CPC

- G06F 9/4405: {Initialisation of multiprocessor systems}
- G06F 9/5011: {the resources being hardware resources other than CPUs, Servers and Terminals}
- G06F 9/5044: {considering hardware capabilities}
- G06F 15/82: data or demand driven
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In a distributed computing system comprising multiple processor types, a method of provisioning includes receiving a request from a client device for execution of a function. A first data structure identifies implementations of the function and compatible processor types for each implementation. A second data structure identifies available processors in the system. Compatible processor types matching available processors are candidates for execution of the function. A provisioning instruction is created for allocating resources for execution of the function.

## Claims

### Claim 1

A method of provisioning resources in a distributed computing system comprising multiple processor types, the method comprising, at a server:
receiving a request from a client device for execution of a function;
retrieving a first data structure relating implementations of said function and compatible processor types for each of said implementations and a second data structure identifying available processors in said computing system, wherein each compatible processor type that matches at least one of said available processors that is a candidate processor type;
transmitting a provisioning instruction for allocating a processor, from the available processors, of a selected one of said candidate processor types for execution of said function.

### Claim 2 (depends on 1)

The method of claim 1, comprising receiving at least one execution parameter defining preferences for hardware acceleration; and
ranking said candidate processor types based on said at least one execution parameter and selecting one of said candidate processor types based on the ranking.

### Claim 3 (depends on 2)

The method of claim 2, wherein said ranking comprises filtering said candidate processor types based on said at least one execution parameter.

### Claim 4 (depends on 2)

The method of claim 2, wherein said ranking comprises assigning weights to said candidate processor types.

### Claim 5 (depends on 4)

The method of claim 4, comprising:
receiving a provisioning failure notification;
revising said ranking by changing said weights; and
transmitting a provisioning instruction for allocating another selected one of said candidate processor types for execution of said function, wherein said another selected one of said candidate processor types is selected from the revised ranking.

### Claim 6 (depends on 5)

The method of claim 5, comprising, in response to said receiving a provisioning failure notification, retrieving at least one data structure to update said candidate processor types.

### Claim 7 (depends on 1)

The method of claim 1, comprising, in response to receiving a provisioning failure notification, generating a provisioning instruction for allocating a general-purpose processor for execution of said function.

### Claim 8 (depends on 1)

The method of claim 1, wherein said processor types include a field-programmable gate array and a general purpose processor.

### Claim 9 (depends on 8)

The method of claim 8, wherein said implementations of said function comprise hardware-accelerated implementations compatible with said processor types.

### Claim 10 (depends on 9)

The method of claim 9, wherein said implementations further comprise software implementations for execution on the general-purpose processor.

### Claim 11

A server for a distributed computing system comprising multiple types of processors, the server comprising:
a catalog module configured to maintain a first data structure relating function implementations and compatible processor types for said function implementations;
a resource management module configured to provide a second data structure identifying available processors in said distributed computing system;
a resource orchestrator module configured to:
receive a request from a client device for execution of a function;
retrieve, from said first data structure said compatible processor types for implementations of said function;
match said available processors to said retrieved compatible processor types to define candidate processor types;
said server configured to generate a provisioning instruction for allocating a processor, from the available processors, of a selected one of said candidate processor types for execution of said function.

### Claim 12 (depends on 10)

The server of claim 10, wherein said resource orchestrator module is configured to:
receive at least one execution parameter defining preferences for hardware acceleration;
rank said retrieved candidate processor types; and
select one of said candidate processor types based on said ranking.

### Claim 13 (depends on 11)

The server of claim 11, wherein said resource orchestrator module is configured to filter said candidate processor types based on said at least one execution parameter.

### Claim 14 (depends on 11)

The server of claim 11, wherein said resource orchestrator module is configured to rank said candidate processor types by assigning weights to said candidate processor types.

### Claim 15 (depends on 14)

The server of claim 14, wherein said resource orchestrator module is configured to adjust said weights in response to failure of a provisioning attempt.

### Claim 16 (depends on 12)

The server of claim 12, wherein said server is configured to generate a provisioning instruction for allocating a general-purpose processor for execution of said function in response to failure of a provisioning attempt.

### Claim 17 (depends on 10)

The server of claim 10, wherein said candidate processor types include a field-programmable gate array and a general purpose processor.

### Claim 18 (depends on 15)

The server of claim 15, wherein said function implementations comprise hardware-accelerated implementations compatible with said processor types.

### Claim 19 (depends on 16)

The server of claim 16, wherein said function implementations further comprise software implementations for execution on general-purpose processors.

### Claim 20

A distributed computing system comprising:
a plurality of resource servers having processors of a plurality of types;
a master server in communication with said resource servers, said master server comprising:
a catalog module configured to maintain a first data structure relating function implementations and compatible processor types for said function implementations;
a resource management module configured to provide a second data structure identifying available processors in said distributed computing system;
a resource orchestrator module configured to:
receive a request from a client device for execution of a function;
retrieve, from said first data structure said compatible processor types for implementations of said function;
match said available processors to said retrieved compatible processor types to define candidate processor types;
said master server configured to generate a provisioning instruction for allocating a processor, from the available processors, of a selected one of said candidate processor types for execution of said function.

### Claim 21 (depends on 20)

The system of claim 20 wherein said resource orchestrator module is configured to:
receive at least one execution parameter defining preferences for hardware acceleration;
rank said candidate processor types; and
select one of said candidate processor types based on said ranking.

### Claim 22 (depends on 20)

The system of claim 20, wherein said plurality of types includes field-programmable gate arrays and general-purpose processors.

### Claim 23 (depends on 20)

The system of claim 20, further comprising a plurality of resource servers hosting said processors of different types, each said resource server having a program interface configured to receive generic function calls from application software and a binding service to replace said generic function calls with commands for execution on a processor hosted at that resource server.
