摘要 |
A Run-Applet-In-RAM technology for improving the performance of a java card operating system of a digital consumer electronic is provided to apply a SIM chip execution method based on a card, which has no self-power and operates by power from a reader, to an electric home appliance which has self-power. If data generated from a java card is recorded in an EEPROM, it is checked whether or not a performing applet is completed normally(504). If not so, the java applet is performed continuously through APDU(Application layer Protocol Data Unit) communication. If so, the java applet is copied to the EEPROM by 128 byte unit(507). After a specified applet is selected(501), the applet is performed according to commands through the ADPU communication(503), and the data are recorded in a table buffer and an applet buffer. If the applet is finished abnormally by abnormal operation of the ADPU, all contents of a RAM are deleted(506) and return to the previous status. But if the applet is finished normally(504), the contents of the applet buffer are copied to an heap region of the EEPROM by 128 byte unit(507).
|