# US 2019/0377691 A1 · Method and electronic device for data processing between multiple processors

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

- Number: US 2019/0377691 A1
- Document ID: US20190377691A1
- Status: Published application
- Kind: A1
- Application number: 16/480,255
- Filed: 2018-01-23
- Published: 2019-12-12
- Earliest claimed: 2017-01-23
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Rakie KIM; Min-Wook AHN; Kyung-Mok KUM; Keon-Cheol SHIN
- Web page: https://patentgrep.com/patent/US20190377691A1

## CPC

- G06F 12/1081: for peripheral access to main memory, e.g. direct memory access [DMA]
- G06F 13/28: using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence)
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0655: {Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices}
- G06F 3/0673: {Single storage device}
- G06T 1/60: Memory management
- G06F 2212/621: Coherency control relating to peripheral accessing, e.g. from DMA or I/O device
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An electronic device may comprise: a first memory for storing first data at a designated rate; a first processor connected to the first memory and configured to divide the first data into multiple second data, each having a size smaller than the size of the first data; a second memory for storing at least some of the multiple second data at a rate faster than the designated rate; a second processor connected to the second memory and configured to process the at least some of the multiple second data; and a DMA control module, connected to the second processor, for transmitting/receiving data between the first memory and the second memory, wherein the DMA control module is configured to: at least on the basis of a processing command for the multiple second data which is transmitted from the first processor to the second processor, receive, from the first memory, the at least some of the multiple small-sized second data divided from the first data; transmit the at least some of the multiple second data to the second processor; and transmit, to the first memory, third data processed by the second processor by using the at least some of the multiple second data.

## Claims

### Claim 1

An electronic device comprising:
a first memory storing first data at a designated speed;
a first processor connected with the first memory and configured to divide the first data into a plurality of second data, each having a size smaller than a size of the first data;
a second memory storing at least some of the plurality of second data at a speed higher than the designated speed;
a second processor connected with the second memory and configured to process at least some of the plurality of second data; and
a direct memory access (DMA) control module connected with the second processor and configured to transmit and receive data between the first memory and the second memory,
wherein the DMA control module is configured to:
receive from the first memory, at least some of the plurality of smaller-size second data divided from the first data, at least based on a process command with respect to the plurality of second data, transmitted from the first processor to the second processor;
transmit the at least some of the plurality of second data to the second processor; and
transmit third data processed by the second processor using the at least some of the plurality of second data to the first memory.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein the first data and the second data comprise image data, and
the first processor is configured to determine at least one of a location, a size, a shape, or a number of the at least some of the plurality of second data, based on the second memory.

### Claim 3 (depends on 1)

The electronic device of claim 1, wherein the at least some of the plurality of second data comprises first partial data, second partial data, and third partial data,
the second processor is configured to process the second partial data after processing the first partial data, and
the DMA control module is configured to transmit the processed first partial data to the first memory and receive the third partial data from the first memory, while the second processor processes the second partial data.

### Claim 4 (depends on 1)

The electronic device of claim 1, wherein the at least some of the plurality of second data is divided into blocks, each having an equal size.

### Claim 5 (depends on 1)

The electronic device of claim 1, wherein the second processor is configured to receive process data which comprises data for setting the at least some of the plurality of second data and data for setting processing with respect to the at least some of the plurality of second data, and
the process data comprises a location and a size of the at least some of the plurality of second data, overlap of processing with respect to the at least some of the plurality of second data, a non-processing area, a process order, a process location, or a combination thereof.

### Claim 6 (depends on 5)

The electronic device of claim 5, wherein the second processor is configured to process the at least some of the plurality of second data and control the DMA control module by using the process command and the process data.

### Claim 7 (depends on 3)

The electronic device of claim 3, wherein the DMA control module comprises multiple channels comprising a first channel and a second channel, and is configured to transmit the third partial data through the first channel during transmission of the second partial data through the second channel when completing transmission of the first partial data through the first channel.

### Claim 8 (depends on 3)

The electronic device of claim 3, wherein the second processor is configured to transmit determination data that determines the third partial data to the DMA control module, and
the DMA control module is configured to receive the at least some of the plurality of second data corresponding to the determination data from the first memory.

### Claim 9 (depends on 1)

The electronic device of claim 1, wherein the second processor further comprises a cache storing a process identification for identifying processing of the second processor with respect to the at least some of the plurality of second data and the process data.

### Claim 10 (depends on 1)

The electronic device of claim 1, wherein the process command is implemented with a process command algorithm that prescribes data transmission and reception between the first processor and the second processor, and
the process command algorithm comprises a parameter corresponding to at least one of processing with respect to the at least some of the plurality of second data, adjustment of the processing, a first memory address corresponding to a part of the first memory, or a second memory address corresponding to a part of the second memory.

### Claim 11 (depends on 10)

The electronic device of claim 10, wherein the first processor is configured to generate a packet for transferring the process command and transmit the packet to the second processor, and
the packet comprises the process identification for identifying processing of the second processor with respect to the at least some of the plurality of second data, a packet identification for identifying the packet, and data regarding the parameter.

### Claim 12 (depends on 1)

The electronic device of claim 1, wherein the second processor is configured to transmit information related to a process state of the plurality of second data to the first processor.

### Claim 13

A method comprising:
storing first data in a first memory at a designated speed;
dividing, by a first processor connected with the first memory, the first data into a plurality of second data, each having a size smaller than a size of the first data;
storing at least some of the plurality of second data at a speed higher than the designated speed;
processing, by a second processor connected with the second memory, at least some of the plurality of second data; and
transmitting and receiving, by a direct memory access (DMA) control module connected with the second processor, data between the first memory and the second memory,
wherein the DMA control module is configured to:
receive from the first memory, at least some of the plurality of smaller-size second data divided from the first data, at least based on a process command with respect to the plurality of second data, transmitted from the first processor to the second processor;
transmit the at least some of the plurality of second data to the second processor; and
transmit third data processed by the second processor using the at least some of the plurality of second data to the first memory.

### Claim 14 (depends on 13)

The method of claim 13, wherein the first data and the second data comprise image data, and the first processor is configured to determine at least one of a location, a size, a shape, or a number of the at least some of the plurality of second data, based on the second memory.

### Claim 15 (depends on 13)

The method of claim 13, wherein the at least some of the plurality of second data comprises first partial data, second partial data, and third partial data,
the second processor is configured to process the second partial data after processing the first partial data, and
the DMA control module is configured to transmit the processed first partial data to the first memory and receive the third partial data from the first memory, while the second processor processes the second partial data.
