发明名称 System and method for using directed acyclic graph (DAG) for application updates
摘要 The system automatically creates an update from an old version to a new version despite the old version possibly being several version prior to the new version. There may be some increments in the version for which no change needs to be made to the application running on the client system, even though the code running on the host may have been updated. A graph of the versions is constructed based on the new version and old version. The updates for consecutive versions for which no format change is needed are collapsed into a single no operation update or combined into a single update with an update that requires an operation. Then the shortest path along the graph connecting the current version and new version is determined. The update steps along the shortest path are automatically combined into a single update, and then the update is performed.
申请公布号 US9383988(B2) 申请公布日期 2016.07.05
申请号 US201313935289 申请日期 2013.07.03
申请人 salesforce, inc. 发明人 Rychikhin Yuri
分类号 G06F9/44;G06F7/00;G06F9/445 主分类号 G06F9/44
代理机构 Blakely, Sokoloff, Taylor & Zafman 代理人 Blakely, Sokoloff, Taylor & Zafman
主权项 1. A method comprising: determining, by a host system including at least a machine having a processor system including at least one processor and a memory system communicatively coupled to the processor system, a sequence of update steps from a currently installed version of an application to a new version of the application to be being installed; automatically building a graph of updates from the currently installed version to the new version comprising at least determining update steps that do not require a format change, and computing a shortest path between the currently installed version and the new version based, at least in part, on the determined steps that do not require a format change, wherein a format change causes a change to an underlying schema and manner in which data is stored, and wherein the computing includes running a breadth-first-search algorithm of the graph of updates; combining, by the processor system, the sequence of update steps that do not require a format change into one update step; determining, by the processor, one or more update steps that require a format change; building, by the host system, an update from a combination of the sequence of update steps that do not require a format change and one or more update steps that require a format change; and sending from the host from the host system to the user system, the built update.
地址 San Francisco CA US