Task parallel processing method, apparatus and system, storage medium and computer device

US11113104B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11113104-B2
Application numberUS-201916705190-A
CountryUS
Kind codeB2
Filing dateDec 5, 2019
Priority dateNov 20, 2017
Publication dateSep 7, 2021
Grant dateSep 7, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Computer systems, data processing methods, and computer-readable media are provided to run original networks. An exemplary computer system includes first and second processors and first and second memories. The first memory stores offline models and corresponding input data of a plurality of original networks, and a runtime system configured to run on the first processor. The second memory stores an operating system configured to run on the first processor or the second processor. When the runtime system runs on the first processor, the runtime system obtains an offline model and corresponding input data of an original network from the first memory and controls the second processor to run the offline model of the original network. The offline model of the original network includes model parameters, instructions, and interface data of respective computation nodes of the original network.

First claim

Opening claim text (preview).

The invention claimed is: 1. A computer system, comprising: first and second processors; first and second memories; and a secure application, wherein: the first memory stores offline models and corresponding input data of a plurality of original networks, and a runtime system configured to run on the first processor; the second memory stores an operating system configured to run on the first processor or the second processor; the runtime system is a secure runtime system built based on a trusted operating environment; the first memory is a secure storage medium; when the runtime system runs on the first processor: the runtime system obtains an offline model and corresponding input data of an original network from the first memory, and controls the second processor to run the offline model of the original network; and the runtime system causes the first processor to implement a plurality of virtual devices comprising: a data processing device configured to:  provide an offline model Application Programming Interface (API) and an input data API; and  obtain the offline model and the corresponding input data of the original network from the first memory; an equipment management device configured to:  provide a driving API for the second processor; and  control the second processor to turn on or turn off; and a task execution device configured to:  provide an operation API for the second processor; and  control the second processor to run the offline model of the original network; the offline model of the original network comprises model parameters, instructions, and interface data of respective computation nodes of the original network; and the secure application is configured to run on the runtime system, wherein the secure application is configured to call the offline model API, the input data API, the driving API, and the operation API. 2. The computer system of claim 1 , wherein the data processing device comprises: an offline model loading unit configured to provide the offline model API, and obtain and analyze the offline model of the original network; and an input data loading unit configured to provide the input data API and obtain the input data corresponding to the offline model of the original network. 3. The computer system of claim 2 , wherein the data processing device comprises an input data preprocessing unit configured to: provide a data preprocessing API; preprocess the input data obtained by the input data loading unit to allow the second processor to process the input data; and store output data output by the second processor in the first memory. 4. The computer system of claim 1 , wherein: the second processor comprises a plurality of processors or processing units; and the task execution device is configured to provide a task distribution API and control the plurality of processors or processing units of the second processor. 5. The computer system of claim 1 , wherein the first memory is physically independent from the second memory. 6. The computer system of claim 1 , wherein the first memory and the second memory are physically integrated but logically independent from each other. 7. A data processing method, implemented by first and second processors and first and second memories, wherein: the first memory stores offline models and corresponding input data of a plurality of original networks, and a runtime system configured to run on the first processor; the second memory stores an operating system configured to run on the first processor or the second processor; the runtime system is a secure runtime system built based on a trusted operating environment; and the first memory is a secure storage medium, the data processing method comprising: obtaining, by the runtime system running on the first processor, an offline model and corresponding input data of an original network from the first memory, wherein the offline model of the original network comprises model parameters, instructions, and interface data of respective computation nodes of the original network; controlling, by the runtime system, the second processor to turn on; controlling, by the runtime system, the second processor to run the original network based on the offline model and the corresponding input data of the original network to obtain output data of the original network; calling, by a secure application running on the runtime system, an offline model Application Programming Interface (API) to obtain the offline model of the original network; calling, by the secure application, an input data API to obtain the input data corresponding to the offline model of the original network; calling, by the secure application, a driving API to turn on the second processor; calling, by the secure application, an operation API to control the second processor to obtain the output data of the original network; and calling, by the secure application, the driving API to turn off the second processor. 8. The data processing method of claim 7 , further comprising: storing the output data of the original network in the first memory. 9. The data processing method of claim 7 , comprising: preprocessing the input data corresponding to the offline model of the original network to allow the second processor to process the input data. 10. A non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by first and second processors, causes the first and second processors to perform a data processing method with first and second memories, wherein: the first memory stores offline models and corresponding input data of a plurality of original networks, and a runtime system configured to run on the first processor; the second memory stores an operating system configured to run on the first processor or the second processor; the runtime system is a secure runtime system built based on a trusted operating environment; and the first memory is a secure storage medium, the data processing method comprising: obtaining, by the runtime system running on the first processor, an offline model and corresponding input data of an original network from the first memory, wherein the offline model of the original network comprises model parameters, instructions, and interface data of respective computation nodes of the original network; controlling, by the runtime system, a second processor to turn on; controlling, by the runtime system, the second processor to run the original network based on the offline model and the corresponding input data of the original network to obtain output data of the original network; calling, by a secure application running on the runtime system, an offline model Application Programming Interface (API) to obtain the offline model of the original network; calling, by the secure application, an input data API to obtain the input data corresponding to the offline model of the original network; calling, by the secure application, a driving API to turn on the second processor; calling, by the secure application, an operation API to control the second processor to obtain the output data of the original network; and calling, by the secure application, the driving API to turn off the second processor. 11. The computer-readable storage medium of claim 10 , wherein the operations comprise: storing the output data of the original network in the first memory.

Assignees

Inventors

Classifications

  • Combinations of networks · CPC title

  • Convolutional networks [CNN, ConvNet] · CPC title

  • Concurrent instruction execution, e.g. pipeline or look ahead · CPC title

  • Interfaces, programming languages or software development kits, e.g. for simulating neural networks · CPC title

  • Remote procedure calls [RPC]; Web services · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11113104B2 cover?
Computer systems, data processing methods, and computer-readable media are provided to run original networks. An exemplary computer system includes first and second processors and first and second memories. The first memory stores offline models and corresponding input data of a plurality of original networks, and a runtime system configured to run on the first processor. The second memory stor…
Who is the assignee on this patent?
Shanghai Cambricon Inf Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F9/4881. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 07 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).