# US 10,956,501 B2 · Network-wide, location-independent object identifiers for high-performance distributed graph databases

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

- Number: US 10,956,501 B2
- Document ID: US10956501B2
- Status: Granted
- Kind: B2
- Application number: 16/749,460
- Filed: 2020-01-22
- Published: 2020-05-21
- Granted: 2021-03-23
- Earliest claimed: 2015-11-24
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc.
- Inventors: Vinit Rajan Kizhakkel; Jeffrey Y.D. Lo; Pratap Pereira
- Web page: https://patentgrep.com/patent/US10956501B2

## CPC

- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F 16/282: {Hierarchical databases, e.g. IMS, LDAP data stores or Lotus Notes}
- G06F 16/9027: {Trees}
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In one embodiment, an operating system (on a computer device in a network of computer devices) interfaces with a distributed graph database that is distributed across the network of computer devices, and executes an application that has one or more parent data constructs that reference one or more child objects within the distributed graph database. Specifically, the one or more child objects each have a location-independent object identifier (OID) having at least: a) an OID-identifier (OID-ID) assigned upon creation to each particular child object by a data source of the location-independent OID; b) an OID-source structure that uniquely identifies the data source of the location-independent OID within the network of computer devices; and c) an OID-pointer indicative of a relative location of the particular child object in a memory mapped region. Accordingly, the operating system accesses the child objects (e.g., for an application) based on the location-independent OID.

## Claims

### Claim 1

A method, comprising:
interfacing, by an operating system on a computer device in a network of network devices, with a distributed graph database that is distributed across the network devices;
executing, by the operating system, an application that has one or more parent data constructs that reference one or more child objects within the distributed graph database, wherein the one or more child objects each have a location-independent object identifier (OID) that models hierarchical relationships between nodes in the distributed graph database on a plurality of networking devices interconnected by the network devices, the OID including:
an OID-identifier (OID-ID) assigned to each particular child object by a data source of the location-independent OID,
an OID-source tupled to the OID-ID, the OID-source a pointer to a structure that uniquely identifies the data source of the location-independent OID within the network of network devices, wherein the OID source identifies a location of origin of the one or more child objects, and
an OID-pointer indicative of a relative location of the particular child object in a memory mapped region, wherein lookup trees provide bidirectional mapping from OID-ID and OID-source tuples to OID-pointer values; and
accessing, by the operating system, the one or more child objects based on the location-independent OID.

### Claim 2 (depends on 1)

The method as in claim 1, wherein the lookup trees comprise one of either red-black trees or generalized balanced trees.

### Claim 3 (depends on 1)

The method as in claim 1, further comprising:
generating, as a particular data source, a particular location-independent OID for a newly referenced child object, wherein generating comprises assigning a particular OID-ID to the newly referenced child object and combining the particular OID-ID with an OID-source that uniquely identifies the particular data source as an OID-ID and OID-source tuple;
caching the OID-ID and OID-source tuple within the newly referenced child object;
determining a particular OID-pointer value for the newly referenced child object based on a particular relative location of the newly referenced child object in a particular memory mapped region;
establishing lookup trees that provide a bidirectional mapping from the OID-ID and OID-source tuple to the particular OID-pointer value; and
caching the particular OID-pointer value for the newly referenced child object within a corresponding parent data construct referencing the newly referenced child object.

### Claim 4 (depends on 3)

The method as in claim 3, further comprising:
generating the particular location-independent OID only in response to a particular application requesting reference to the newly referenced child object.

### Claim 5 (depends on 1)

The method as in claim 1, further comprising:
replicating a plurality of child objects and associated location-independent OIDs across device boundaries to a replicating device using the same OID-ID and OID-source tuple for each of the plurality of replicated child objects, wherein one or more new OID-pointers are established that are specific to the replicating device.

### Claim 6 (depends on 5)

The method as in claim 5, further comprising:
establishing a table of contents for the replication of child objects, wherein replicating is performed based on the table of contents.

### Claim 7 (depends on 5)

The method as in claim 5, further comprising:
creating a placeholder OID-pointer within a particular parent data construct in response to the particular parent data construct being replicated before a corresponding child object; and
resolving the placeholder OID-pointer in response to the corresponding child object being replicated.

### Claim 8 (depends on 1)

The method as in claim 1, wherein the OID-source comprises one or more identifications selected from a group consisting of: a system identifier of a multi-chassis stack; a chassis identifier for an associated chassis within a multi-chassis stack; a unit identifier for a computing unit within a chassis; a slot identifier for a physical slot on a chassis; and a bay identifier for a physical bay on a chassis.

### Claim 9 (depends on 8)

The method as in claim 8, wherein the group from which the identifications are selected from further consists of: a logical unit identifier to identify a type of a corresponding child object.

### Claim 10 (depends on 1)

The method as in claim 1, wherein each location-independent OID further has an OID-attribute that defines whether the particular child object is an object or a set of objects.

### Claim 11 (depends on 1)

The method as in claim 1, wherein the operating system is a network device operating system, and wherein the computer device is a computer networking device.

### Claim 12 (depends on 1)

The method as in claim 1, wherein the network of network devices is an enterprise network.

### Claim 13

A tangible, non-transitory, computer-readable media having software encoded thereon, the software, when executed by a processor on a computer device in a network of network devices, operable to:
interface with a distributed graph database that is distributed across the network of network devices;
execute an application that has one or more parent data constructs that reference one or more child objects within the distributed graph database, wherein the one or more child objects each have a location-independent object identifier (OID) that models hierarchical relationships between nodes in the distributed graph database on a plurality of networking devices interconnected by the network devices, the OID including:
an OID-identifier (OID-ID) assigned to each particular child object by a data source of the location-independent OID,
an OID-source tupled to the OID-ID, the OID-source a pointer to a structure that uniquely identifies the data source of the location-independent OID within the network of network devices, wherein the OID source identifies a location of origin of the one or more child objects, and
an OID-pointer indicative of a relative location of the particular child object in a memory mapped region, wherein lookup trees provide bidirectional mapping from OID-ID and OID-source tuples to OID-pointer values; and
access the one or more child objects based on the location-independent OID.

### Claim 14 (depends on 13)

The computer-readable media as in claim 13, wherein the software, when executed, is further operable to:
generate, as a particular data source, a particular location-independent OID for a newly referenced child object, wherein generating comprises assigning a particular OID-ID to the newly referenced child object and combining the particular OID-ID with an OID-source that uniquely identifies the particular data source as an OID-ID and OID-source tuple;
cache the OID-ID and OID-source tuple within the newly referenced child object;
determine a particular OID-pointer value for the newly referenced child object based on a particular relative location of the newly referenced child object in a particular memory mapped region;
establish lookup trees that provide a bidirectional mapping from the OID-ID and OID-source tuple to the particular OID-pointer value; and
cache the particular OID-pointer value the newly referenced child object within a corresponding parent data construct referencing the newly referenced child object.

### Claim 15 (depends on 13)

The computer-readable media as in claim 13, wherein the software, when executed, is further operable to:
replicate a plurality of child objects and associated location-independent OIDs across device boundaries to a replicating device using the same OID-ID and OID-source tuple for each of the plurality of replicated child objects, wherein one or more new OID-pointers are established that are specific to the replicating device.

### Claim 16 (depends on 13)

The computer-readable media as in claim 13, wherein the OID-source comprises one or more identifications selected from a group consisting of: a system identifier of a multi-chassis stack; a chassis identifier for an associated chassis within a multi-chassis stack; a unit identifier for a computing unit within a chassis; a slot identifier for a physical slot on a chassis; and a bay identifier for a physical bay on a chassis.

### Claim 17 (depends on 13)

The computer-readable media as in claim 13, wherein the software is executed by a network device operating system on a computer networking device.

### Claim 18

An apparatus, comprising:
one or more network interfaces configured to communicate in a network of network devices;
a processor coupled to the network interfaces and adapted to execute one or more processes; and
a memory configured to store a process executable by the processor, the one or more processes when executed operable to:
interface with a distributed graph database that is distributed across the network of network devices;
execute an application that has one or more parent data constructs that reference one or more child objects within the distributed graph database, wherein the one or more child objects each have a location-independent object identifier (OID) that models hierarchical relationships between nodes in the distributed graph database on a plurality of networking devices interconnected by the network devices, the OID including:
an OID-identifier (OID-ID) assigned to each particular child object by a data source of the location-independent OID,
an OID-source tupled to the OID-ID, the OID-source a pointer to a structure that uniquely identifies the data source of the location-independent OID within the network of network devices, wherein the OID source identifies a location of origin of the one or more child objects, and
an OID-pointer indicative of a relative location of the particular child object in a memory mapped region, wherein lookup trees provide bidirectional mapping from OID-ID and OID-source tuples to OID-pointer values; and
access the one or more child objects based on the location-independent OID.

### Claim 19 (depends on 18)

The apparatus as in claim 18, wherein the OID-source comprises one or more identifications selected from a group consisting of: a system identifier of a multi-chassis stack; a chassis identifier for an associated chassis within a multi-chassis stack; a unit identifier for a computing unit within a chassis; a slot identifier for a physical slot on a chassis; and a bay identifier for a physical bay on a chassis.

### Claim 20 (depends on 18)

The apparatus as in claim 18, the one or more processes when executed further operable to:
generate, as a particular data source, a particular location-independent OID for a newly referenced child object, wherein generating comprises assigning a particular OID-ID to the newly referenced child object and combining the particular OID-ID with an OID-source that uniquely identifies the particular data source as an OID-ID and OID-source tuple;
cache the OID-ID and OID-source tuple within the newly referenced child object;
determine a particular OID-pointer value for the newly referenced child object based on a particular relative location of the newly referenced child object in a particular memory mapped region;
establish lookup trees that provide a bidirectional mapping from the OID-ID and OID-source tuple to the particular OID-pointer value; and
cache the particular OID-pointer value for the newly referenced child object within a corresponding parent data construct referencing the newly referenced child object.
