Search

CN-121986322-A - Fault tolerant remote application installation

CN121986322ACN 121986322 ACN121986322 ACN 121986322ACN-121986322-A

Abstract

The first computing device may receive a request to install an application at the first computing device from a second computing device that is logged into the same user account as the first computing device. The first computing device may download a stub associated with the application from the computing system in response to receiving the request and based on the first computing device not having sufficient available memory to install the application. The first computing device may install a stub associated with the application.

Inventors

  • Yash Dave
  • Wiki Vishwanat Amin

Assignees

  • 谷歌有限责任公司

Dates

Publication Date
20260505
Application Date
20241003
Priority Date
20231006

Claims (15)

  1. 1. A method, comprising: Receiving, by one or more processors of a first computing device, a request to install an application at the first computing device, wherein the request is sent by a second computing device logged into the same user account as the first computing device; In response to receiving the request and based on the first computing device not having sufficient available memory to install the application, downloading, by the one or more processors, a stub associated with the application from a computing system, and The stub associated with the application is installed by the first computing device.
  2. 2. The method of claim 1, further comprising: After installing the stub associated with the application, reattempting, by the one or more processors, installing the application.
  3. 3. The method of claim 2, wherein retrying to install the application further comprises: Based on the first computing device having sufficient available memory to install the application, downloading, by the one or more processors, the application from the computing system, and The application is installed by the one or more processors.
  4. 4. The method of claim 3, wherein downloading the application from the computing system further comprises: Determining, by the one or more processors, that the first computing device is unable to successfully download the application from the computing system, and In response to determining that the first computing device cannot successfully download the application from the computing system, the application is scheduled to be downloaded at a later time by the one or more processors.
  5. 5. The method of any of claims 2-4, wherein retrying to install the application further comprises: Receiving, by the one or more processors, an indication of user input corresponding to launching the stub associated with the application, and In response to receiving the indication of the user input corresponding to launching the stub associated with the application, reattempting, by the one or more processors, installing the application.
  6. 6. The method of any of claims 1-5, wherein downloading the stub associated with the application further comprises: Authenticating, by the one or more processors, that the request was sent by the second computing device logged into the same user account as the first computing device; Verifying, by the one or more processors, the request as intended for the first computing device, and In response to successfully authenticating the request being sent by the second computing device logged into the same user account as the first computing device and successfully verifying the request as intended for the first computing device, downloading, by the one or more processors, the stub associated with the application from the computing system.
  7. 7. The method of any of claims 1-6, wherein receiving the request to install the application at the first computing device further comprises: Querying, by the one or more processors, the computing system for queued requests to install an application at the first computing device, and The request to install the application is received by the one or more processors from the computing system in response to querying the computing system.
  8. 8. The method of any of claims 1-7, wherein receiving the request to install the application at the first computing device further comprises: The request to install the application is received by the one or more processors from the second computing device via a direct wireless connection between the first computing device and the second computing device.
  9. 9. The method of any of claims 1-8, wherein downloading the stub associated with the application from the computing system based on the first computing device not having sufficient available storage space to install the application further comprises: Determining, by the one or more processors, that the first computing device does not have sufficient available memory to install the application, and In response to determining that the first computing device does not have sufficient available memory to install the application, the stub associated with the application is downloaded from the computing system by the one or more processors.
  10. 10. A computing device, comprising: A memory storing instructions, and One or more of the processors of the present invention, the one or more processors execute the instructions to: receiving a request to install an application at the computing device, wherein the request is sent by a second computing device logged into the same user account as the computing device; downloading a stub associated with the application from a computing system in response to receiving the request and based on the computing device not having sufficient available memory to install the application, and Installing the stub associated with the application.
  11. 11. The computing device of claim 10, wherein the one or more processors are further configured to: after installing the stub associated with the application, reattempting to install the application.
  12. 12. An apparatus comprising means for performing the method of any one of claims 1 to 9.
  13. 13. A computer program product comprising instructions that, when executed by one or more processors of a computing device, cause the one or more processors to perform the method of any of claims 1-9.
  14. 14. A computer-readable storage medium storing instructions that, when executed by one or more processors of a computing device, cause the one or more processors to perform the method of any of claims 1-9.
  15. 15. A method, comprising: receiving, by one or more processors of the computing system, a request from the computing device to download the application, and Responsive to receiving the request and based on the computing device not having sufficient available memory to install the application, transmitting, by the one or more processors, a stub associated with the application to the computing device for installation at the computing device.

Description

Fault tolerant remote application installation The present application claims the benefit of U.S. patent application Ser. No. 18/482,690, filed on 6/10/2023, the entire contents of which are incorporated herein by reference. Background The user may use a variety of different computing devices that are logged into the same user account. For example, a user may use a smart phone, a smart watch, and/or a tablet computer that are all logged into the same user account. Disclosure of Invention In general, various aspects of the technology described in this disclosure relate to fault tolerant (fault tolerant) application installation at a remote computing device. The user may use a computing device that is logged into a user account to control the installation of applications at other computing devices that are also logged into the same user account. For example, a first computing device logged into a user account may send a request to install an application to a second computing device logged into the same user account, and in response, the second computing device may download and install the application. In some examples, a first computing device may send, via a computing system, a request to install an application to a second computing device. The first computing device may send the request to the computing system, and the computing system may forward the request to the second computing device. If the computing system is unable to forward the request to the second computing device (such as when the second computing device is offline), the computing system may queue the request and may send the queued request to the second computing device in response to receiving a query from the second computing device for a request to install the application queued at the computing system. The second computing device may determine, in response to receiving the request to install the application by the first computing device, whether the second computing device has sufficient storage space available to install the application. If the second computing device determines that it has sufficient available memory to install the application, the second computing device may download the application from the computing system and may install the downloaded application. If the second computing device determines that it does not have sufficient available memory to install the application, the second computing device may download a stub associated with the application from the computing system and may install the downloaded stub associated with the application. Further, the second computing device may attempt to download the application from the computing system in response to receiving a request to install the application by the first computing device. If the second computing device fails to download the application, the second computing device may retry downloading the application at a later time. The techniques of this disclosure may solve the problems caused by computing devices that are not always online and connected to the Internet by enabling a computing system to queue requests to an offline computing device when the recipient computing device is offline, from which the recipient computing device may retrieve the requests when the computing device is back online. The techniques of this disclosure may also address problems caused by computing devices that may have intermittent internet connectivity issues by enabling computing devices that suffer from such connectivity issues to retry downloading applications when the computing device has more reliable internet connectivity. Furthermore, the techniques of this disclosure may also reduce failures in installing applications caused by insufficient storage space, which may address the problems often encountered with mobile computing devices having limited storage space. In some aspects, the technology described herein relates to a method that includes receiving, by one or more processors of a first computing device, a request to install an application at the first computing device, wherein the request is sent by a second computing device logged into a same user account as the first computing device, in response to receiving the request and based on the first computing device not having sufficient available memory to install the application, downloading, by the one or more processors, a stub associated with the application from a computing system, and installing, by the first computing device, the stub associated with the application. In some aspects, the technology described herein relates to a computing device that includes a memory that stores instructions and one or more processors that execute the instructions to receive a request to install an application at the computing device, wherein the request is sent by a second computing device that is logged into the same user account as the computing device, download a stub associated with the application from a computing system in respo