Interested in licensing this patent?
MTEC can help explore whether this patent might be available for licensing for your application.
Abstract
In example embodiments, techniques are described for implementing a code service for managing codes for elements in a digital twin of infrastructure according to an edge computing paradigm. The techniques may use an “edge base,” wherein each edge computing device (e.g., a client computing device or VM) executes a code service that maintains a local, periodically-synchronized copy of a portion of a code database for the digital twin. A cloud container of a blob storage service of a cloud datacenter may maintain a master copy of the code database. Read operations by an application on a client computing device may be performed against its as-of-last-synchronization local code database. Write operations by the application may likewise be performed against the local code database, serialized via a write lock maintained in the cloud container that permits only a single client computing device to modify its local code database at a time.
Core Innovation
A code service executes on an edge computing device to manage codes for elements in a digital twin of infrastructure. The service obtains access to a cloud container maintained by a cloud datacenter, and downloads a manifest for a master code database maintained in the cloud container to create a local manifest on the edge computing device. Based on requests for verification, the service downloads any blocks required to read a code indicated in the local manifest that are not already local in a code index database, reads the code index database, and supplies verification of the code to an application.
The approach maintains a periodically synchronized local copy of a master code database portion by using a local manifest produced from a manifest in the cloud container. When updates are requested, the edge code service obtains a write lock, downloads the manifest from the cloud container to update the local manifest, and writes to the code index database to add, delete, or modify blocks of the code index database while recording additions, deletions, or modifications to create an updated local manifest. The code service uploads added or modified blocks to the master code database and uploads the updated local manifest to replace the manifest in the cloud container, and then releases the write lock back to the cloud container.
The code records include a human-understandable identifier of an entity in the physical world that is part of the infrastructure, and further define code structure with a value portion with a human-readable identifier, a scope portion specifying the context where the identifier is uniquely guaranteed, and a specification portion indicating the code type. The master code database uses blocks and block identifiers, and synchronization uses manifests, including required blocks indicated by the local manifest. The system can maintain retention of old blocks until a periodic purge and can manage code sequences with next-code selection that reuses a previously reserved value returned to the code index database.
Claims Coverage
The document includes three independent claims describing server-side methods on an edge computing device and an edge computing device configured to perform those methods. Across the independent claims, the main inventive features include edge-based manifest-driven block downloading for code verification and cloud write-lock-based manifest and block updates to synchronize an edge code index database with a master code database.
Edge code service manifest-driven code verification
Obtaining a token for accessing a cloud container maintained by a cloud datacenter; downloading a manifest for a master code database maintained in the cloud container to create a local manifest on the edge computing device; receiving requests for verification; downloading to the code index database any blocks required to read the code indicated in the local manifest that are not already local; reading the code index database; and supplying verification of the code to the application.
Cloud write-lock-based code update with local manifest replacement
Obtaining a write lock; downloading a manifest for a master code database to update a local manifest of a code index database; receiving requests to add, delete or modify codes; downloading any blocks affected by the request that are not already local; writing to the code index database to add, delete, or modify blocks and recording such additions, deletions, or modifications to create an updated local manifest; uploading added or modified blocks to the master code database and uploading the updated local manifest to replace the manifest in the cloud container; and releasing the write lock back to the cloud container.
Edge computing device configured with code index database and code service
Maintaining, in an edge computing device, a code index database storing a portion of a master code database of a cloud container, a local manifest produced from a manifest in the cloud container, and software for a code service operable to service requests for verification by downloading blocks indicated in the local manifest that are required to read the code and are not already local, reading the code index database, and supplying verification; and service requests to add, delete, or modify codes by obtaining a write lock, downloading the manifest to update the local manifest, writing to the code index database to add, delete, or modify one or more blocks while recording such additions, deletions, or modifications to create an updated local manifest, uploading added or modified blocks and uploading the updated local manifest to replace the manifest in the cloud container, and releasing the write lock back to the cloud container.
Taken together, the independent claims cover edge code service verification using a locally maintained manifest and downloaded blocks for required reads, code update synchronization using a cloud write lock plus block-level updates and replacement of the cloud manifest from an updated local manifest, and an edge computing device configuration that performs these verification and update services using a local code index database derived from the cloud master code database.
Stated Advantages
Supports verification of codes for elements in a digital twin by using an edge code index database synchronized with a master code database through manifests.
Enables synchronized code updates for elements by using a write lock and manifest replacement to coordinate updates between the edge code index database and the cloud master code database.
Documented Applications
Managing codes for elements in a digital twin of infrastructure, including supplying verification of codes to an application and supporting application-driven requests to add, delete, or modify codes for digital-twin elements.
Interested in licensing this patent?