发明名称 System and method for reducing startup cost of a software application
摘要 A computing device has one or more processors and memory storing programs executed by the one or more processors. The computing device initializes a main application on a first thread. The main application has a first synchronous connection with a target application. After the main application performs one or more operations at the target application through the first synchronous connection, the computing device initializes an assistant process on a second thread. The assistant process has a second synchronous connection with the target application and an asynchronous connection with the main application. After receiving a request from the main application through the asynchronous connection, the assistant process performs one or more operations at the target application through the second synchronous connection.
申请公布号 US9086914(B2) 申请公布日期 2015.07.21
申请号 US201213569002 申请日期 2012.08.07
申请人 Google Inc. 发明人 Bolohan Matthew J.;Kroeger Robert J.;Kennberg Aleksandr V.
分类号 G06F15/16;G06F9/48 主分类号 G06F15/16
代理机构 代理人
主权项 1. A method comprising: initializing, by a computing device, a main application on a first thread, wherein the main application has a first synchronous connection with a target application and initialization of the main application includes displaying a user interface; initializing, by the computing device, an assistant process on a second thread, wherein a start of the second thread is deferred until after the first thread has performed one or more synchronous operations at the target application through the first synchronous connection, the assistant process having an asynchronous connection to the main application and the assistant process having a second synchronous connection to the target application; performing, by the assistant process in response to the assistant process receiving a request from the main application via the asynchronous connection, the one or more synchronous operations at the target application through the second synchronous connection, wherein performance of the one or more synchronous operations by the first thread blocks progress of the main application and performance of the one or more synchronous operations by the second thread does not block progress of the main application; and terminating the first synchronous connection after the assistant process is initialized and a unit of communication between the main application and the target application is completed.
地址 Mountain View CA US