# US 2014/0207851 A1 · Resource calling for hybrid applications

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2014/0207851 A1
- Document ID: US20140207851A1
- Status: Published application
- Kind: A1
- Application number: 14/159,143
- Filed: 2014-01-20
- Published: 2014-07-24
- Earliest claimed: 2013-01-23
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: Zishen Qu
- Web page: https://patentgrep.com/patent/US20140207851A1

## CPC

- H04L 47/781: {Centralised allocation of resources}
- G06F 9/541: {via adapters, e.g. between incompatible applications}
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Invoking a resource is provided, comprising: sending a page request message to a server; receiving page data sent back by the server in response to the page request message; analyzing the page data to obtain an address of the resource; generating a resource-calling request using the address of the resource; acquiring native version information of the application client; using the native version information of the application client to modify the resource-calling request; and acquiring the resource according to the modified resource-calling request.

## Claims

### Claim 1

A method for invoking a resource, comprising:
sending a page request message to a server;
receiving page data sent back by the server in response to the page request message;
analyzing the page data to obtain an address of the resource;
generating, using one or more computer processors, a resource-calling request using the address of the resource;
acquiring native version information of an application client;
using the native version information of the application client to modify the resource-calling request; and
acquiring the resource according to the modified resource-calling request.

### Claim 2 (depends on 1)

The method of claim 1, wherein the page data includes HyperText Markup Language (HTML) code, and the HTML code includes the address of the resource.

### Claim 3 (depends on 1)

The method of claim 1, wherein the address includes a name and a version placeholder is of the resource, and the version placeholder indicates that the resource is a restricted resource.

### Claim 4 (depends on 1)

The method of claim 1, wherein using the native version information of the application client to modify the resource-calling request comprises:
monitoring the resource-calling request;
determining whether the resource-calling request includes a version placeholder; and
in the event that the resource-calling request includes the version placeholder, replacing the version placeholder with the native version information of the application client.

### Claim 5 (depends on 1)

The method of claim 1, wherein acquiring the resource according to the modified resource-calling request comprises using a resource name and the native version information included in the modified resource-calling request to acquire the resource.

### Claim 6 (depends on 1)

The method of claim 1, wherein acquiring the resource according to the modified resource-calling request comprises:
attempting to acquire a corresponding resource from the application client natively on a device executing the application client; and
in the event that the corresponding resource is not successfully acquired on the device, acquiring the corresponding resource from the server and saving the acquired resource natively on the device.

### Claim 7 (depends on 1)

The method of claim 1, wherein the application client is a first application client; and the method further comprises:
receiving registration information sent by a second application client;
saving current version information of the second application client, the current version information being included in the registration information; and
upon receiving a resource-calling request sent by the second application client:
modifying a version placeholder included in an address included in the resource-calling request sent by the second application client to a saved current version of the second application client;
using the address included in the modified resource-calling request sent by the second application client to acquire a corresponding resource; and
sending the acquired corresponding resource to the second application client.

### Claim 8 (depends on 1)

The method of claim 1, wherein the address includes a monitored port on a client device on which the application client executes.

### Claim 9

A resource-calling system, comprising:
one or more processors configured to:
send a page request message to a server;
receive page data sent back by the server in response to the page request message;
analyze the page data to obtain an address of a resource;
generate a resource-calling request using the address of the resource;
acquire native version information of an application client;
use the native version information of the application client to modify the resource-calling request; and
acquire the resource according to the modified resource-calling request; and
one or more memories coupled to the one or more processors, configured to provide the one or more processors with instructions.

### Claim 10 (depends on 9)

The system of claim 9, wherein the page data includes HyperText Markup Language (HTML) code, and the HTML code includes the address of the resource.

### Claim 11 (depends on 9)

The system of claim 9, wherein the address includes a name and a version placeholder of the resource, and the version placeholder indicates that the resource is a restricted resource.

### Claim 12 (depends on 9)

The system of claim 9, wherein to use the native version information of the application client to modify the resource-calling request comprises to:
monitor the resource-calling request;
determine whether the resource-calling request includes a version placeholder; and
in the event that the resource-calling request includes the version placeholder, replace the version placeholder with the native version information of the application client.

### Claim 13 (depends on 9)

The system of claim 9, wherein to acquire the resource according to the modified resource-calling request comprises to use a resource name and the native version information included in the modified resource-calling request to acquire the resource.

### Claim 14 (depends on 9)

The system of claim 9, wherein to acquire the resource according to the modified resource-calling request comprises to:
attempt to acquire a corresponding resource from the application client natively on a device executing the application client; and
in the event that the corresponding resource is not successfully acquired on the device, acquire the corresponding resource from the server and save the acquired resource natively on the device.

### Claim 15 (depends on 9)

The system of claim 9, wherein the application client is a first application client; and the one or more processors are further configured to:
receive registration information sent by a second application client;
save current version information of the second application client, the current version information being included in the registration information; and
upon receiving a resource-calling request sent by the second application client:
modify a version placeholder included in an address included in the resource-calling request sent by the second application client to a saved current version of the second application client;
use the address included in the modified resource-calling request sent by the second application client to acquire a corresponding resource; and
send the acquired corresponding resource to the second application client.

### Claim 16 (depends on 9)

The system of claim 9, wherein the address includes a monitored port on a client device on which the application client executes.

### Claim 17

A computer program product for invoking a resource, the computer program product being embodied in a tangible computer readable storage medium and comprising computer instructions for:
sending a page request message to a server;
receiving page data sent back by the server in response to the page request message;
analyzing the page data to obtain an address of the resource;
generating a resource-calling request using the address of the resource;
acquiring native version information of an application client;
using the native version information of the application client to modify the resource-calling request; and
acquiring the resource according to the modified resource-calling request.
