# US 2022/0269622 A1 · Data processing methods, apparatuses, electronic devices and computer-readable storage media

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

- Number: US 2022/0269622 A1
- Document ID: US20220269622A1
- Status: Published application
- Kind: A1
- Application number: 17/726,187
- Filed: 2022-04-21
- Published: 2022-08-25
- Earliest claimed: 2019-10-24
- Assignees: Stream Computing Inc.
- Applicants: Stream Computing Inc.
- Inventors: Fei Luo; Weiwei Wang
- Web page: https://patentgrep.com/patent/US20220269622A1

## CPC

- G06F 13/1689: {Synchronisation and timing concerns (synchronisation on a memory bus G06F13/4234)}
- G06F 9/485: {Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence)}
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06F 13/1657: {Access to multiple memories}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the present disclosure provide a data processing method, apparatus, electronic device and computer-readable storage medium. The data processing method includes: receiving, by a processing core, a synchronization signal; determining, by the processing core, according to the synchronization signal, a first storage area used by a self-task of the processing core and a second storage area used by a non-self-task of the processing core; wherein the first storage area differs from the second storage area; accessing the first storage area to execute the self-task and accessing the second storage area to execute the non-self-task by the processing core. Through the above method, the storage areas corresponding to different tasks of the processing core are separated, which solves the technical problems of complex data consistency processing mechanism and low processing efficiency caused by reading from and writing into the same storage area in the existing technology.

## Claims

### Claim 1

A data processing method, comprising:
receiving, by a processing core, a synchronization signal;
determining, by the processing core, according to the synchronization signal, a first storage area used by a self-task of the processing core and a second storage area used by a non-self-task of the processing core;
wherein the first storage area differs from the second storage area; and
accessing the first storage area to execute the self-task and accessing the second storage area to execute the non-self-task by the processing core.

### Claim 2 (depends on 1)

The data processing method according to claim 1, wherein the first storage area comprises a plurality of first memories; the self-task comprises a computational task and a sending task; and
the computational task and the sending task use a same first memory, or
the computational task and the sending task use different first memories.

### Claim 3 (depends on 2)

The data processing method according to claim 2, wherein
obtaining the data to be computed from the first storage area, and performing computation on the data to obtain a computational result by the processing core; and
storing the computational result in the first storage area.

### Claim 4 (depends on 2)

The data processing method according to claim 2, wherein
obtaining the data to be sent from the first storage area by the processing core; and
determining a target processing core, and sending the data to be sent to a target processing core.

### Claim 5 (depends on 2)

The data processing method according to claim 2, wherein
the self-task comprises a plurality of the sending tasks, wherein each of the sending tasks corresponds to a different or same target processing core, and each of the sending tasks is marked with a storage area of the target processing core.

### Claim 6 (depends on 5)

The data processing method according to claim 5, wherein
each of the sending tasks is marked with a specific storage address of the storage area.

### Claim 7 (depends on 1)

The data processing method according to claim 1, wherein the second storage area comprises a plurality of second memories; the non-self-task comprises at least one receiving task, wherein different receiving tasks use different second memories.

### Claim 8 (depends on 7)

The data processing method according to claim 7, wherein the different receiving tasks correspond to different source processing cores or a same source processing core.

### Claim 9 (depends on 1)

The data processing method according to claim 1, further comprising, before receiving, by the processing core, the synchronization signal:
receiving, by the processing core, configuration information, the configuration information comprising, in a synchronization cycle determined by each synchronization signal, the self-task of the processing core, the first storage area used by the self-task, the non-self-task of the processing core and the second storage area used by the non-self-task.

### Claim 10

A data processing method, comprising:
receiving, by a processing core, a synchronization signal;
executing, by the processing core, a computational task and a receiving task in a synchronization cycle determined by the synchronization signal, wherein data of the receiving task is from a source processing core;
accessing, by the processing core, a first storage area to execute the computational task;
receiving the data transmitted from the source processing core and writing the data into a second storage area by the processing core;
wherein the first storage area differs from the second storage area.

### Claim 11 (depends on 10)

The data processing method according to claim 10, wherein
the processing core includes a processing unit, used for performing the computational task.

### Claim 12 (depends on 11)

The data processing method according to claim 11, wherein
obtaining, by the processing unit, according to an address in the computational task, the data to be computed from the first storage area.

### Claim 13 (depends on 10)

The data processing method according to claim 10, wherein
the processing core includes a receiving circuit, used for executing the receiving task.

### Claim 14 (depends on 13)

The data processing method according to claim 13, wherein
receiving the data from a source processing core by the receiving circuit, and
according to an address in the receiving task, storing the data in the second storage area.

### Claim 15 (depends on 10)

The data processing method according to claim 10, wherein
the data of the receiving task is from a plurality of the source processing cores, and the processing core has a plurality of second storage areas corresponding to different source processing cores or a same source processing core.

### Claim 16

A data processing apparatus, comprising:
a synchronization signal receiver used by a processing core to receive a synchronization signal;
a storage area determiner used by the processing core to determine a first storage area used by a self-task of the processing core and a second storage area used by a non-self-task of the processing core, according to the synchronization signal;
wherein the first storage area differs from the second storage area;
a task executor used by the processing core to access the first storage area to execute the self-task and access the second storage area to execute the non-self-task.

### Claim 17 (depends on 16)

The data processing apparatus according to claim 16, wherein the first storage area comprises a plurality of first memories; the self-task comprises a computational task and a sending task; and
the computational task and the sending task use a same first memory, or
the computational task and the sending task use different first memories.

### Claim 18 (depends on 17)

The data processing apparatus according to claim 17, wherein the self-task comprises a plurality of the sending tasks, wherein each of the sending tasks corresponds to a different or same target processing core, and each of the sending tasks is marked with a storage area of the target processing core.

### Claim 19 (depends on 16)

The data processing apparatus according to claim 16, wherein the second storage area comprises a plurality of second memories; the non-self-task comprises at least one receiving task, wherein different receiving tasks use different second memories.

### Claim 20 (depends on 19)

The data processing apparatus according to claim 19, wherein the different receiving tasks correspond to different source processing cores or a same source processing core.
