Native compile method, native compile preprocessing method, computer program, and server
First Claim
1. A native compilation method for use on a mobile communication terminal for translating OS-independent intermediate code into native code, comprising the steps of:
- sequentially receiving intermediate code of unit blocks, to each of which external reference information is added, one block at a time via a wireless communication network, said external reference information composed of attribute information on other unit blocks referenced by each of said unit blocks when the intermediate code of each of said unit blocks is translated into native code;
starting native compilation processing for translating the intermediate code of received unit blocks into native code before reception of all intermediate code is completed; and
executing native compilation processing for a unit block by referencing already received external reference information related to said unit block when intermediate code of said unit block is translated into native code.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and a system are provided for executing the download processing of intermediate code concurrently with native compilation processing to reduce the execution wait time. A server (20) generates download data 42a to which external reference information is added as a header, wherein the external reference information is composed of attribute information on other unit blocks that will be required when a mobile communication terminal (10) executes native compilation and will be referenced by each of unit blocks of intermediate code. The mobile communication terminal (10) starts native compilation processing for already received unit blocks before the reception of all intermediate code from the server is completed. When a unit block is natively compiled, the already received external reference information related to the unit block is referenced to natively compile the unit block. The server (20) may integrate the external reference information, required for the native compilation of the classes, into one set of external reference information and send it before sending all the blocks of intermediate code.
54 Citations
12 Claims
-
1. A native compilation method for use on a mobile communication terminal for translating OS-independent intermediate code into native code, comprising the steps of:
-
sequentially receiving intermediate code of unit blocks, to each of which external reference information is added, one block at a time via a wireless communication network, said external reference information composed of attribute information on other unit blocks referenced by each of said unit blocks when the intermediate code of each of said unit blocks is translated into native code;
starting native compilation processing for translating the intermediate code of received unit blocks into native code before reception of all intermediate code is completed; and
executing native compilation processing for a unit block by referencing already received external reference information related to said unit block when intermediate code of said unit block is translated into native code.
-
-
2. A native compilation method for use on a mobile communication terminal for translating OS-independent intermediate code into native code while receiving the intermediate code from an external source, comprising the steps of:
-
receiving one set of external reference information followed by intermediate code of a plurality of unit blocks via a wireless communication network when the intermediate code of the unit blocks is translated into native code, said one set of external reference information being integrated attribute information on other unit blocks referenced by each of said unit blocks;
starting native compilation processing for translating the intermediate code of received unit blocks into native code before reception of all intermediate code is completed; and
executing native compilation processing for a unit block by referencing already received external reference information related to said unit block when intermediate code of said unit block is translated into native code.
-
-
3. A native compilation preprocessing method for use on a server before sending OS-independent intermediate code to a mobile communication terminal via a network, comprising the steps of:
-
translating a source program into intermediate code, one unit block at a time;
collecting attribute information on other unit blocks as external reference information, said attribute information referenced by each of unit blocks when the intermediate code of said each of unit blocks is translated into native code;
adding the collected external reference information to said each of unit blocks; and
sequentially sending the unit blocks, to each of which said external reference information is added, to said mobile communication terminal via a wireless communication network. - View Dependent Claims (4)
-
-
5. A native compilation preprocessing method for use on a server before sending OS-independent intermediate code to a mobile communication terminal via a network, comprising the steps of:
-
translating a source program into intermediate code, one unit block at a time;
collecting attribute information on other unit blocks as external reference information, said attribute information referenced by each of unit blocks when the intermediate code of said each of unit blocks is translated into native code; and
sequentially sending one set of the collected external reference information, followed by a plurality of unit blocks, to said mobile communication terminal via a wireless communication network.
-
-
6. A computer program for translating OS-independent intermediate code into native code, comprising the steps of:
-
sequentially receiving intermediate code of unit blocks, to each of which external reference information is added, one block at a time via a wireless communication network, said external reference information composed of attribute information on other unit blocks referenced by each of said unit blocks when the intermediate code of each of said unit blocks is translated into native code;
starting native compilation processing for translating the intermediate code of received unit blocks into native code before reception of all intermediate code is completed; and
executing native compilation processing for a unit block by referencing already received external reference information related to said unit block when intermediate code of said unit block is translated into native code.
-
-
7. A computer program for use on a mobile communication terminal for translating OS-independent intermediate code into native code while receiving the intermediate code from an external source, comprising the steps of:
-
receiving one set of external reference information followed by intermediate code of a plurality of unit blocks via a wireless communication network when the intermediate code of the unit blocks is translated into native code, said one set of external reference information being integrated attribute information on other unit blocks referenced by each of said unit blocks;
starting native compilation processing for translating the intermediate code of received unit blocks into native code before reception of all intermediate code is completed; and
executing native compilation processing for a unit block by referencing already received external reference information related to said unit block when intermediate code of said unit block is translated into native code.
-
-
8. A server that executes native compilation preprocessing before sending OS-independent intermediate code to a mobile communication terminal via a network, comprising:
-
means for translating a source program into intermediate code, one unit block at a time;
means for collecting attribute information on other unit blocks as external reference information, said attribute information referenced by each of unit blocks when the intermediate code of said each of unit blocks is translated into native code;
means for adding the collected external reference information to said each of unit blocks; and
means for sequentially sending the unit blocks, to each of which said external reference information is added, to said mobile communication terminal via a wireless communication network. - View Dependent Claims (9)
-
-
10. A server that executes native compilation preprocessing before sending OS-independent intermediate code to a mobile communication terminal via a network, comprising:
-
means for translating a source program into intermediate code, one unit block at a time;
means for collecting attribute information on other unit blocks as external reference information, said attribute information referenced by each of unit blocks when the intermediate code of said each of unit blocks is translated into native code; and
means for sequentially sending the collected external reference information, followed by a plurality of unit blocks, to said mobile communication terminal via a wireless communication network.
-
-
11. A communication system comprising a server and a mobile communication terminal that receives OS-independent intermediate code from said server via a communication network,
wherein said server translates a source program into intermediate code, one unit block at a time, collects attribute information on other unit blocks as external reference information, said attribute information referenced by each of unit blocks when the intermediate code of said each of unit blocks is translated into native code, adds the collected external reference information to said each of unit blocks; - and
sequentially sends the unit blocks, to each of which said external reference information is added, to said mobile communication terminal via a wireless communication network, and wherein said mobile communication terminal sequentially receives the intermediate code of the unit blocks, to each of which said external reference information is added, one block at a time via the wireless communication network, starts native compilation processing for translating the intermediate code of received unit blocks into native code before reception of all intermediate code is completed, executes native compilation processing for a unit block by referencing already received external reference information related to said unit block when intermediate code of said unit block is translated into native code, and executes the native code obtained by the native compilation processing.
- and
-
12. A communication system comprising a server;
- and a mobile communication terminal that receives OS-independent intermediate code from said server via a communication network,
wherein said server translates a source program into intermediate code, one unit block at a time;
collects attribute information on other unit blocks as external reference information, said attribute information referenced by each of unit blocks when the intermediate code of said each of unit blocks is translated into native code; and
sequentially sends one set of the collected external reference information, followed by a plurality of unit blocks, to said mobile communication terminal via wireless communication network and wherein said mobile communication terminal receives said one set of external reference information followed by intermediate code of said plurality of unit blocks, starts native compilation processing for translating the intermediate code of received unit blocks into native code before reception of all intermediate code is completed, executes native compilation processing for a unit block by referencing already received external reference information related to said unit block when intermediate code of said unit block is translated into native code, and executes the native code obtained by the native compilation processing.
- and a mobile communication terminal that receives OS-independent intermediate code from said server via a communication network,
Specification