×

Method and apparatus for remotely running application program

  • US 10,057,364 B2
  • Filed: 12/07/2015
  • Issued: 08/21/2018
  • Est. Priority Date: 10/30/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for remotely running an application program, comprising:

  • acquiring, by a client, an application program from a server and running the application program on the client;

    detecting, by the client, whether the application program triggers an application programming interface (API) invocation request intended for a system API on the server;

    intercepting, by the client, the API invocation request intended for the system API;

    determining, by the client according to a preset invocation policy, that the client or the server executes API invocation when the application program triggers the API invocation request;

    generating, by the client, a local API invocation request according to the API invocation request when determining that the client executes the API invocation;

    invoking, by the client, a device resource of the client and executing local API invocation according to the local API invocation request, so as to generate an execution result of the local API invocation;

    sending, by the client, the execution result of the local API invocation to the application program;

    generating, by the client, a remote API invocation request according to the API invocation request when determining that the server executes the API invocation;

    sending, by the client, the remote API invocation request to the server, the remote API invocation request being used to instruct the server to execute remote API invocation and return an execution result of the remote API invocation;

    receiving, by the client from the server, the execution result of the remote API invocation; and

    sending, by the client, the execution result of the remote API invocation to the application program.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×