Distributed ledger comprising snapshots
AssigneeAlphaPoint
InventorsGiuseppe Ventura, Jeffrey Tangowski
Life of this patent
Estimating the term…
Abstract
A snapshot of a distributed ledger is generated, wherein the distributed ledger is stored by a plurality of node computing entities. A first node computing entity reads current states of one or more domain objects from a local cache stored by the node computing entity and corresponding to an application operating on the node computing entity. A snapshot record comprising the current states of the one or more domain objects is generated and written to a segment data file. The snapshot record is posted to the distributed ledger as part of a block.
Claims20
A method for generating a snapshot of a distributed ledger, the distributed ledger stored by a plurality of node computing entities, the method comprising:
- reading, by a first node computing entity of the plurality of node computing entities and comprising at least one processor, a memory, and a communications interface configured to communicate via at least one network, current states of a plurality of domain objects from a local cache stored by the node computing entity and corresponding to an application operating on the node computing entity, wherein (a) a domain object is a physical or non-physical item associated with a state that is transformable by occurrence of an event corresponding to the distributed ledger and (b) the distributed ledger is a segmented distributed ledger;
- creating, by the first node computing entity, a new segment root block, wherein the new segment root block (a) comprises the current states and (b) is a root block of a new segment of the distributed ledger;
- closing, by the first node computing entity, a current segment data file stored in the memory and storing blocks of a current segment of the distributed ledger;
- opening, by the first node computing entity, a new segment data file in the memory for storing blocks of the new segment of the distributed ledger;
- writing, by the first node computing entity, the new segment root block to the new segment data file;
- and
- posting, by the first node computing entity, the new segment root block to the distributed ledger.
An apparatus for generating a snapshot of a distributed ledger, the distributed ledger stored by a plurality of node computing entities, the apparatus being one of the plurality of node computing entities, the apparatus comprising at least one processor, a communications interface configured for communicating via at least one network, and at least one memory storing computer program code, the at least one memory and the computer program code configured to, with the processor, cause the apparatus to at least:
- read current states of a plurality of domain objects from a local cache stored by the node computing entity and corresponding to an application operating on the node computing entity, wherein (a) a domain object is a physical or non-physical item associated with a state that is transformable by occurrence of an event corresponding to the distributed ledger and (b) the distributed ledger is a segmented distributed ledger;
- create a new segment root block, wherein the new segment root block (a) comprises the current states and (b) is a root block of a new segment of the distributed ledger;
- close a current segment data file stored in the memory and storing blocks of a current segment of the distributed ledger;
- open a new segment data file in the memory for storing blocks of the new segment of the distributed ledger;
- write the new segment root block to the new segment data file;
- and
- post the new segment root block to the distributed ledger.
A computer program product for generating a snapshot of a distributed ledger, the distributed ledger stored by a plurality of node computing entities, the computer program product comprising at least one non-transitory computer-readable storage medium having computer-executable program code instructions stored therein, the computer-executable program code instructions comprising program code instructions configured to, when executed by a processor of a node computing entity of the plurality of node computing entities:
- read current states of a plurality of domain objects from a local cache stored by the node computing entity and corresponding to an application operating on the node computing entity, wherein (a) a domain object is a physical or non-physical item associated with a state that is transformable by occurrence of an event corresponding to the distributed ledger and (b) the distributed ledger is a segmented distributed ledger;
- create a new segment root block, wherein the new segment root block (a) comprises the current states and (b) is a root block of a new segment of the distributed ledger;
- close a current segment data file stored in the memory and storing blocks of a current segment of the distributed ledger;
- open a new segment data file in the memory for storing blocks of the new segment of the distributed ledger;
- write the new segment root block to the new segment data file;
- and
- post the new segment root block to the distributed ledger.
Dependencies are inferred from the claim text.