Content adaptation
First Claim
Patent Images
1. A system comprising:
- an optimization server configuredto receive from a content server response data that corresponds to request data transmitted by a mobile device, wherein;
the request data includes a request for the response data and identification data of the mobile device,to adapt the response data to the mobile device based on the identification data, andto transmit the adapted response data to the mobile device,wherein the adapted response data is based on the optimization server extracting a first global JavaScript object from a data structure andan associated JavaScript file to a global object map,wherein;
the data structure and the associated JavaScript file represent the response data,executing, without invocation from the mobile device, JavaScript functions to be executed by the mobile device upon receiving and loading the response data, wherein;
the execution updates the data structure,determining whether a node of the updated data structure includes an attribute whose value is associated with the first global JavaScript object to be included in the adapted response data,parsing the attribute value for any reference to the first global JavaScript object based on the determination,creating a dependency set for the first global JavaScript object based on the parsing, wherein;
the dependency set provides a second global JavaScript object on which the first global JavaScript object relies,decompiling the first global JavaScript object of the dependency set and the second global JavaScript object into source code, andconstructing a final JavaScript source code based on the decompilation.
10 Assignments
0 Petitions
Accused Products
Abstract
A system includes a mobile device and an optimization server. The mobile device is capable of transmitting request data that includes a requested webpage and identification data. The optimization server is configured to receive response data that corresponds to the request data from a content server, to adapt the response data based on the identification data, and to transmit the adapted response data to the mobile device.
-
Citations
10 Claims
-
1. A system comprising:
-
an optimization server configured to receive from a content server response data that corresponds to request data transmitted by a mobile device, wherein; the request data includes a request for the response data and identification data of the mobile device, to adapt the response data to the mobile device based on the identification data, and to transmit the adapted response data to the mobile device, wherein the adapted response data is based on the optimization server extracting a first global JavaScript object from a data structure and an associated JavaScript file to a global object map, wherein; the data structure and the associated JavaScript file represent the response data, executing, without invocation from the mobile device, JavaScript functions to be executed by the mobile device upon receiving and loading the response data, wherein; the execution updates the data structure, determining whether a node of the updated data structure includes an attribute whose value is associated with the first global JavaScript object to be included in the adapted response data, parsing the attribute value for any reference to the first global JavaScript object based on the determination, creating a dependency set for the first global JavaScript object based on the parsing, wherein; the dependency set provides a second global JavaScript object on which the first global JavaScript object relies, decompiling the first global JavaScript object of the dependency set and the second global JavaScript object into source code, and constructing a final JavaScript source code based on the decompilation. - View Dependent Claims (2)
-
-
3. A method for JavaScript processing, the method comprising:
-
extracting a first global JavaScript object from a data structure and an associated JavaScript file t a global object map, wherein; the data structure and the associated JavaScript file represent response data; executing, without invocation from the mobile device, JavaScript functions to be executed by the mobile device upon receiving and loading the response data, wherein; the execution updates the data structure, determining whether a node of the updated data structure includes an attribute whose value is associated with the first global JavaScript object to be included in the adapted response data; parsing the attribute value for any reference to the first global JavaScript object based on the determination; creating a dependency set for the first global JavaScript object based on the parsing, wherein; the dependency set provides a second global JavaScript object on which the first global JavaScript object relies during the execution of the JavaScript functions; decompiling the first global JavaScript object of the dependency set and the second global JavaScript object into source code; and constructing a final JavaScript source code based on the decompilation. - View Dependent Claims (4, 5, 6, 7)
-
-
8. A tangible computer-readable medium storing instructions that, when executed by a computer, cause the computer to perform a method of JavaScript processing for adapting response data for a mobile device, the method comprising:
-
extracting a first global JavaScript object from a data structure and an associated JavaScript file to a global object map, wherein the data structure and the associated JavaScript file represent the response data; executing, without invocation from the mobile device, JavaScript functions to be executed by the mobile device upon receiving and loading the response data, wherein; the execution updates the data structure, determining whether a node of the updated data structure includes an attribute whose value is associated with the first global JavaScript object to be included in the adapted response data; parsing the attribute value for any reference to the first global JavaScript object based on the determination; creating a dependency set for the first global JavaScript object based on the parsing, wherein the dependency set provides a second global JavaScript object on which the first global JavaScript object relies during the execution of the JavaScript functions; decompiling the first global JavaScript object of the dependency set and the second global JavaScript object into source code; and constructing a final JavaScript source code base on the decompilation, wherein; the final JavaScript source code does not include the executed JavaScript functions.
-
-
9. A tangible serving device comprising:
-
a response monitor that receives response data from a content server and an adaptor that adapts the response data based on the properties of a mobile device, wherein the adapted response data is provided to a mobile device for downloading, wherein the adaptor adapts the response data by JavaScript processing, which comprises; extracting a first global JavaScript object from a data structure and an associated JavaScript file to a global object map, wherein the data structure and the associated JavaScript file represent the response data; executing, without invocation from the mobile device, JavaScript functions to be executed by the mobile device upon receiving and loading the response data, wherein; the execution updates the data structure, determining whether a node of the updated data structure includes an attribute whose value is associated with the first global JavaScript object to be included in the adapted response data; parsing the attribute value for any reference to the first global JavaScript object based on the determination; creating a dependency set for the first global JavaScript object based on the parsing, wherein the dependency set provides a second global JavaScript objects on which the first global JavaScript object relies during the execution of the JavaScript functions; decompiling the first global JavaScript object of the dependency set and the second global JavaScript object into source code; and constructing a final JavaScript source code based on the decompilation. - View Dependent Claims (10)
-
Specification