Method and apparatus compilation of an interpretative language for interactive television
AssigneeOpenTV, Inc.
InventorPierre Willard
Life of this patent
Estimating the term…
Abstract
A method and apparatus for extracting and compiling an interpretative language to implement functions such as those written as a script embedded in a HTML page in an interactive television environment. HTML pages are received from both broadcast and online. The compiler runs on a server. The compiled scripts run faster and require less processing power to execute. The scripts are extracted from HTML representing content stored at the server. The compiled script code is then transmitted from the server to a client device, through broadcast or online, for execution during content display at the client device. The compiled scripts run faster, require less processing power to execute, and run on client devices that do not have the interpreter for that language.
Claims53
A computer readable medium containing instructions that when executed by a computer cause the computer to:
- receive at a server a markup language page containing at least one script;
- extract from the markup language page only those portions of the script with an associated keyword which indicates the corresponding portion will be executed at the client device, each of said one or more portions comprising less than the entire script compile only the extracted portions of the script into a client compatible code for execution at a client device;
- transmit the compiled portions of the script to the client device;
- and
- execute the compiled portions of the script at the client device.
A method for compiling a script for execution on a client device in a distributed computer system comprising:
- receiving at a server a markup language page containing at least one script;
- extracting from the markup language page only those portions of the script with an associated keyword which indicates the corresponding portion will be executed at the client device, each of said one or more portions comprising less than the entire script;
- compiling only the extracted portions of the script into a client compatible code for execution at a client device;
- transmitting the compiled portions of the script to the client device;
- and
- executing the compiled portions of the script at the client device.
The method of claim further comprising:
- gathering multiple script page elements for a language from the markup language page into at least one package;
- passing the at least one package of gathered script page elements to a script compiler so that multiple script page elements for the markup language page are compiled together.
The method of claim further comprising:
- binding at compile time a script variable name to a value for execution at run time at the client device.
An apparatus for compiling scripts for execution on a client device in a distributed computer system comprising:
- a server memory for receiving a markup language page containing at least one script;
- an extraction component for extracting from the script only those portions of the script with an associated keyword which indicates the corresponding portion will be executed at the client device, each of said one or more portions comprising less than the entire script;
- a compiler component for compiling only the extracted portions of the script into a client compatible code for execution at a client device;
- a communication link for transmitting the compiled portions of the script to the client device;
- and
- a client device for executing the compiled portions of the script.
Dependencies are inferred from the claim text.