Concurrently processing parts of cells of a data structure with multiple processes

US9501327B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9501327-B2
Application numberUS-201414277019-A
CountryUS
Kind codeB2
Filing dateMay 13, 2014
Priority dateMay 13, 2014
Publication dateNov 22, 2016
Grant dateNov 22, 2016

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.

Provided are a computer program product, system, and method for concurrently processing parts of cells of a data structure with multiple processes. Information is provided to indicate a partitioning of the cells of the data structure into a plurality of parts, and having a cursor pointing to a cell in the part. Processes concurrently process different parts of the data structure by performing: determining from the cursor for the part one of the cells in the part to process; processing the cells from the cursor to determine whether to process the unit of work corresponding to the cell; and setting the cursor to identify one of the cells from which processing is to continue in a subsequent iteration in response to processing the units of work for a plurality of the processed cells.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer program product for processing a data structure having a plurality of cells, wherein each cell represents a unit of work to process, wherein the computer program product comprises a computer readable storage medium having program instructions embodied therewith, the program instructions that when executed by a processor perform operations, the operations comprising: providing information to indicate a partitioning of the cells of the data structure into a plurality of parts, and having a cursor pointing to a cell in a part of the plurality of parts; and concurrently processing, by processes, different parts of the data structure by performing: determining, from the cursor for the part, one of the cells in the part to process; processing the cells from the cursor to determine whether to process the unit of work corresponding to the cell; and setting the cursor to identify one of the cells from which processing is to continue in a subsequent iteration in response to processing the units of work for a plurality of the processed cells. 2. The computer program product of claim 1 , wherein the processing of the unit of work corresponding to the cell comprises adding indication of the unit of work corresponding to the cell to a work list, wherein the work list is processed to perform the unit of work indicated in the work list. 3. The computer program product of claim 1 , wherein different processes process different cells of one of the parts, and wherein a subsequent process processing subsequent cells in one of the parts following a processing of previous cells uses the cursor to determine the subsequent cells to process. 4. The computer program product of claim 1 , wherein the operations further comprise: for each of the parts, setting a processing flag to indicate that the part is not being processed; setting, by one of the processes processing one of the parts, the processing flag to indicate that the part is being processed; and setting, by one of the processes completing processing of the cells in one of the parts being processed, the processing flag to indicate that the part is not being processed. 5. The computer program product of claim 4 , wherein the operations further comprise: determining, by one of the processes, the processing flag for one of the parts indicating that the part is not being processed, wherein the process sets the processing flag to indicate that the part is being processed in response to determining that the processing flag for the part indicates that the part is not being processed. 6. The computer program product of claim 1 , wherein the data structure comprises a bitmap, wherein each cell of the bitmap has one of a first value indicating to perform the unit of work represented by the cell and a second value indicating that there is no work to be performed for the cell, wherein the determining whether to perform the unit of work represented by the cell comprises determining whether the cell has the first value, wherein the operations further comprise: setting the cell to the second value in response to processing the unit of work represented by the cell when the cell has the first value; and processing a next cell in the part to determine whether the next cell has the first or second value in response to setting the cell to the second value or determining that a previously processed cell has the second value. 7. The computer program product of claim 1 , wherein the operations further comprise: setting, by the process, the cursor to indicate that the part has been processed in response to processing a last cell in the part. 8. The computer program product of claim 1 , wherein the cells in each part are in a sequential ordering, wherein each of the parts comprise consecutively ordered cells according to the sequential ordering, and wherein the parts are processed in an order so as to process the cells in the data structure according to the sequential ordering. 9. A system for processing a data structure having a plurality of cells, wherein each cell represents a unit of work to process, comprising: a processor; and a computer readable storage medium having program instructions that when executed by the processor perform operations, the operations comprising: providing information to indicate a partitioning of the cells of the data structure into a plurality of parts, and having a cursor pointing to a cell in a part of the plurality of parts; and concurrently processing, by processes, different parts of the data structure by performing: determining, from the cursor for the part, one of the cells in the part to process; processing the cells from the cursor to determine whether to process the unit of work corresponding to the cell; and setting the cursor to identify one of the cells from which processing is to continue in a subsequent iteration in response to processing the units of work for a plurality of the processed cells. 10. The system of claim 9 , wherein the processing of the unit of work corresponding to the cell comprises adding indication of the unit of work corresponding to the cell to a work list, wherein the work list is processed to perform the unit of work indicated in the work list. 11. The system of claim 9 , wherein different processes process different cells of one of the parts, and wherein a subsequent process processing subsequent cells in one of the parts following a processing of previous cells uses the cursor to determine the subsequent cells to process. 12. The system of claim 9 , wherein the operations further comprise: for each of the parts, setting a processing flag to indicate that the part is not being processed; setting, by one of the processes processing one of the parts, the processing flag to indicate that the part is being processed; and setting, by one of the processes completing processing of the cells in one of the parts being processed, the processing flag to indicate that the part is not being processed. 13. The system of claim 12 , wherein the operations further comprise: determining, by one of the processes, the processing flag for one of the parts indicating that the part is not being processed, wherein the process sets the processing flag to indicate that the part is being processed in response to determining that the processing flag for the part indicates that the part is not being processed. 14. The system of claim 9 , wherein the cells in each part are in a sequential ordering, wherein each of the parts comprise consecutively ordered cells according to the sequential ordering, and wherein the parts are processed in an order so as to process the cells in the data structure according to the sequential ordering. 15. A method for processing a data structure having a plurality of cells, wherein each cell represents a unit of work to process, comprising: providing information to indicate a partitioning of the cells of the data structure into a plurality of parts, and having a cursor pointing to a cell in a part of the plurality of parts; and concurrently processing, by processes, different parts of the data structure by performing: determining, from the cursor for the part, one of the cells in the part to process; processing the cells from the cursor to determine whether to process the unit of work corresponding to the cell; and setting the cursor to identify one of the cells from which processing is to continue in a subsequent iteration in response to processing the units of work for a plurality of the processed cells. 16. The method of claim 15 , wherein the proc

Assignees

Inventors

Classifications

  • Details of database functions independent of the retrieved data types · CPC title

  • G06F9/5066Primary

    Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs (mappping at compile time, see G06F8/451) · CPC title

  • by program, e.g. task dispatcher, supervisor, operating system · CPC title

  • Physics · mapped topic

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 US9501327B2 cover?
Provided are a computer program product, system, and method for concurrently processing parts of cells of a data structure with multiple processes. Information is provided to indicate a partitioning of the cells of the data structure into a plurality of parts, and having a cursor pointing to a cell in the part. Processes concurrently process different parts of the data structure by performing: …
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F9/5066. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Nov 22 2016 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 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).