# US 12,182,546 B2 · Method and system for model production

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

- Number: US 12,182,546 B2
- Document ID: US12182546B2
- Status: Granted
- Kind: B2
- Application number: 17/820,095
- Filed: 2022-08-16
- Published: 2022-12-08
- Granted: 2024-12-31
- Earliest claimed: 2021-08-19
- Assignees: Beijing Baidu Netcom Science Technology Co., Ltd.
- Applicants: Beijing Baidu Netcom Science Technology Co., Ltd.
- Inventors: En Shi; Yongkang Xie; Zihao Pan; Shupeng Li; Xiaoyu Chen; Zhengyu Qian; Jingqiu Li
- Web page: https://patentgrep.com/patent/US12182546B2

## CPC

- G06F 8/36: Software reuse
- G06F 9/45508: {Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation}
- G06F 8/35: model driven
- G06F 9/45537: {Provision of facilities of other operating environments, e.g. WINE (I/O emulation G06F13/105)}
- G06F 9/541: {via adapters, e.g. between incompatible applications}
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method for model production includes acquiring a related operation for model production from a user interface layer of a model production system, and determining a software platform of the model production system; acquiring a model service corresponding to the related operation by invoking an application programming interface (API) corresponding to the related operation, wherein the API is located between the user interface layer and other layer in the model production system; performing the model service by invoking local resources of the software platform with a tool of the software platform adapted to the model service, to generate a target model; and applying the target model in a target usage scene.

## Claims

### Claim 1

A computer-implemented method for model production, comprising:
acquiring a related operation for model production from a user interface layer of a model production system, and determining a software platform of the model production system;
acquiring a model service corresponding to the related operation by invoking an application programming interface (API) corresponding to the related operation, wherein the API is located between the user interface layer and other layer in the model production system;
performing the model service by invoking local resources of the software platform with a tool of the software platform adapted to the model service, to generate a target model; and
applying the target model in a target usage scene;
wherein the model service is adapted to at least one software platform, the software platform has a tool required for performing the model service, a current software platform is a device corresponding to a current operating system, and the current operating system is determined based on hardware performance of a device where the model production system is currently located.

### Claim 2 (depends on 1)

The method of claim 1, wherein, the related operation comprises at least one of: a data processing operation, a model training operation, a model optimization operation, and a model deployment operation for model production.

### Claim 3 (depends on 1)

The method of claim 1, wherein, the API comprises at least one of:
a functional API, invoking the model service; and
a management API, invoking a management service.

### Claim 4 (depends on 1)

The method of claim 1, wherein, the model service comprises at least one of: a storage access service, a task scheduling service, a resource allocation service, a service deployment service, a preset algorithm, a pre-training model, and a model framework.

### Claim 5 (depends on 1)

The method of claim 1, wherein, the tool comprises at least one of: an instruction set, an instruction library and a software development kit.

### Claim 6 (depends on 3)

The method of claim 3, wherein, the management service comprises at least one of: a security encryption service, an authorization management service and a download update service.

### Claim 7

A system for model production, comprising:
a user interface layer built based on a cross-platform framework, wherein a related operation for model production is acquired and an application programming interface (API) corresponding to the related operation is invoked;
an API layer connected to the user interface layer and a stand-alone engine layer, wherein a target model service corresponding to the related operation is acquired based on invoking the API by the user interface layer; and
the stand-alone engine layer configured with model services, wherein each of the model services is adapted to a tool of at least one software platform, in the stand-alone engine layer, the target model service corresponding to the related operation is performed on a target software platform based on local resources of the target software platform invoked by the tool of the target software platform;
wherein the model service is adapted to at least one software platform, the software platform has a tool required for performing the model service, a current software platform is a device corresponding to a current operating system, and the current operating system is determined based on hardware performance of a device where the model production system is currently located.

### Claim 8 (depends on 7)

The system of claim 7, wherein, the user interface layer is configured with at least one of: a data processing control, a model training control, a model optimization control and a model deployment control.

### Claim 9 (depends on 7)

The system of claim 7, wherein, the API layer comprises at least one of:
a functional API, invoking the model service; and
a management API, invoking a management service.

### Claim 10 (depends on 7)

The system of claim 7, wherein, the tool comprises at least one of: an instruction set, an instruction library and a software development kit.

### Claim 11 (depends on 7)

The system of claim 7, wherein, the model service comprises at least one of: a storage access service, a task scheduling service, a resource allocation service, a service deployment service, a preset algorithm, a pre-training model, and a model framework.

### Claim 12 (depends on 7)

The system of claim 7, further comprising:
a management service layer, wherein at least one management service is provided.

### Claim 13 (depends on 12)

The system of claim 12, wherein, the management service comprises at least one of: a security encryption service, an authorization management service and a download update service.

### Claim 14

A non-transitory computer readable storage medium stored with computer instructions, wherein, when the computer instructions are executed by a computer, the computer is caused to perform a method for model production, the method comprising:
acquiring a related operation for model production from a user interface layer of a model production system, and determining a software platform of the model production system;
acquiring a model service corresponding to the related operation by invoking an application programming interface (API) corresponding to the related operation, wherein the API is located between the user interface layer and other layer in the model production system;
performing the model service by invoking local resources of the software platform with a tool of the software platform adapted to the model service, to generate a target model; and
applying the target model in a target usage scene;
wherein the model service is adapted to at least one software platform, the software platform has a tool required for performing the model service, a current software platform is a device corresponding to a current operating system, and the current operating system is determined based on hardware performance of a device where the model production system is currently located.

### Claim 15 (depends on 14)

The storage medium of claim 14, wherein, the related operation comprises at least one of: a data processing operation, a model training operation, a model optimization operation, and a model deployment operation for model production.

### Claim 16 (depends on 14)

The storage medium of claim 14, wherein, the API comprises at least one of:
a functional API, invoking the model service; and
a management API, invoking a management service.

### Claim 17 (depends on 14)

The storage medium of claim 14, wherein, the model service comprises at least one of: a storage access service, a task scheduling service, a resource allocation service, a service deployment service, a preset algorithm, a pre-training model, and a model framework.

### Claim 18 (depends on 14)

The storage medium of claim 14, wherein, the tool comprises at least one of: an instruction set, an instruction library and a software development kit.

### Claim 19 (depends on 16)

The storage medium of claim 16, wherein, the management service comprises at least one of: a security encryption service, an authorization management service and a download update service.
