Method and system for efficient communication and command system for deferred operation
Abstract
A method and system for efficiently executing a delegate of a program by a processor coupled to an external memory. A payload including state data or command data is bound with a program delegate. The payload is mapped with the delegate via the payload identifier. The payload is pushed to a repository buffer in the external memory. The payload is flushed by reading the payload identifier and loading the payload from the repository buffer. The delegate is executed using the loaded payload.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 0.
Claims (18 — 3 Independent, 15 Dependent)
- Claim 1Independent Claim
A processing system for efficient execution of program functions, the system comprising: a processor unit including a processor and cache memory an external memory coupled to the processing unit, the external memory including a payload repository including one repository buffer; a direct command module to load a payload in the payload repository and associate the payload with a program delegate to flush the payload from the cache memory when the associated program delegate is to be executed by the processing unit bypassing accesses to the cache memory.
- Claim 2Depends on #1
The processing system of claim 1, further comprising an indirect command module to associate the payload repository to access the payload to the direct state module, the indirect command module flushing the payload to the direct command module.
- Claim 3Depends on #1
The processing system of claim 1, wherein the payload in the payload repository is pushed into the payload repository from the cache memory via a stream operation by the processor unit.
- Claim 4Depends on #1
The processing system of claim 1, wherein the payload in the payload repository is pushed into the payload repository from the cache memory via a direct memory access by the processor unit.
- Claim 5Depends on #1
The processing system of claim 1, wherein the processing unit is one of a plurality of processing units in a multi-core system that each share the external memory.
- Claim 6Depends on #1
The processing system of claim 1, wherein the payload has a payload header including identification data sufficient to identify the payload.
- Claim 7Depends on #1
The processing system of claim 1, wherein the direct command module includes associating a delegate header with a unique payload ID including information relating to the payload.
- Claim 8Depends on #1
The processing system of claim 1, wherein the payload is one of multiple payloads associated with multiple delegates, and wherein the direct command module executes the flush function to iterate through all of the payloads and associated multiple delegates.
- Claim 9Depends on #1
The processing system of claim 1 wherein the payload includes commands or state data for the delegate.
- Claim 10Independent Claim
A method for efficiently executing a delegate of a program by a processor unit coupled to an external memory, the method comprising: binding a payload with a program delegate; mapping the payload with the program delegate via a payload identifier; pushing the payload to a repository buffer in the external memory; flushing the payload by reading the payload identifier and loading the payload from the repository buffer; and executing the program delegate using the loaded payload.
- Claim 11Depends on #10
The method of claim 10, further comprising creating a direct command module associated with the repository buffer, wherein the flushing the payload is performed by the direct command module.
- Claim 12Depends on #11
The method of claim 11, further comprising creating an indirect command module to associate the payload repository to access the payload to the direct state module, the indirect command module flushing the payload to the direct command module.
- Claim 13Depends on #10
The method of claim 10, wherein the payload in the payload repository is pushed into the payload repository from the cache memory via a stream operation or a direct memory access by a processor unit.
- Claim 14Depends on #10
The method of claim 10, wherein the payload has a payload header including identification data sufficient to identify the payload.
- Claim 15Depends on #10
The method of claim 10, further comprising associating a delegate header with a unique payload ID including information relating to the payload.
- Claim 16Depends on #11
The method of claim 11, wherein the payload is one of multiple payloads associated with multiple delegates, and wherein the direct command module executes the flush function to iterate through all of the payloads and associated multiple delegates.
- Claim 17Depends on #10
The method of claim 10 wherein the payload includes commands or state data for the program delegate.
- Claim 18Independent Claim
A non-transitory, machine-readable medium having stored thereon instructions for executing a delegate from a program, the stored instructions comprising machine executable code, which when executed by at least one machine processor, causes the machine processor to: bind a payload with a program delegate; map the payload with the program delegate via a payload identifier; push the payload to a repository buffer in an external memory; flush the payload by reading the payload identifier and loading the payload from the repository buffer; and execute the program delegate using the loaded payload.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. application Ser. No. 18/517,342, filed Oct. 22, 2023, allowed, which is a continuation of U.S. application Ser. No. 17/969,511, filed Oct. 19, 2022, U.S. Pat. No. 11,860,785, which is a continuation of U.S. application Ser. No. 16/734,257, filed Jan. 3, 2020, U.S. Pat. No. 11,507,506, which is a continuation of U.S. application Ser. No. 16/120,856, filed Sep. 4, 2018, now abandoned, which is a continuation of U.S. application Ser. No. 15/710,484, filed Sep. 20, 2017, now issued as U.S. Pat. No. 10,095,627, which is a continuation of U.S. application Ser. No. 15/368,214, filed Dec. 2, 2016, now issued as U.S. Pat. No. 9,798,671, which is a continuation of U.S. application Ser. No. 15/013,758, filed Feb. 2, 2016, now issued as U.S. Pat. No. 9,542,319, which is a continuation of U.S. application Ser. No. 14/155,833, filed Jan. 15, 2017, now issued as U.S. Pat. No. 9,256,543, each of which is hereby incorporated by reference herein in its entirety. COPYRIGHT A portion of the disclosure of this patent document contains material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent disclosure, as it appears in the Patent and Trademark Office patent files or records, but otherwise reserves all copyright rights whatsoever. BACKGROUND Current processing systems have multiple processing cores to provide parallel processing of computational tasks, which increases the speed of completing such tasks. In multi-core systems, it is desirable to perform multi-threading in order to accomplish parallel processing of programs. Multi-threading is a widespread programming and execution model that allows multiple software threads to exist within the context of a single process. These software threads share the resources of the multi-core system, but are able to execute independently. Multi-threading can also be applied to a single
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.