Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Object management method based on java card virtual machine

A technology of object management and virtual machine, which is applied in the field of object management in virtual machines based on java cards, and can solve the problems of wasting resources and time, cumbersome object management, etc.

Active Publication Date: 2013-05-22
FEITIAN TECHNOLOGIES
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Object management in the prior art is cumbersome and wastes resources and time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Object management method based on java card virtual machine
  • Object management method based on java card virtual machine
  • Object management method based on java card virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0091]Embodiment 1 of the present invention provides a method based on object management in a java card virtual machine, including a sub-object table and a main object table, wherein the offset address of the object is stored in the entry of the sub-object table, and the entry of the main object table The offset address of the sub-object table is stored in the first storage space, the CAP image and / or sub-object table are stored in the first storage space, objects are stored in the second storage space, both the first storage space and the second storage space are in EEPROM, this The CAP image in the embodiment is a statically linked image in the process of downloading the CAP file to the java card, such as figure 1 As shown, the method of the present embodiment includes:

[0092] Step S1: the java card virtual machine detects the operation to be performed during the running of the java card program, if it is to create an object, then perform step S2; if it is to delete the CA...

Embodiment 2

[0116] Embodiment 2 of the present invention provides a method based on object management in a java card virtual machine, including a sub-object table and a main object table, wherein the offset address of the object is stored in the entry of the sub-object table, and the entry of the main object table The offset address of the sub-object table is stored in the first storage space, the CAP image and / or sub-object table are stored in the first storage space, objects are stored in the second storage space, both the first storage space and the second storage space are in EEPROM, this The CAP image in the embodiment is a statically linked image in the process of downloading the CAP file to the java card, such as figure 2 As shown, the method of the present embodiment includes:

[0117] Step 101: The java card virtual machine detects the operation to be performed during the running of the java card program. If the object creation operation is performed, then step 102 is performed;...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an object management method based on a java card virtual machine. The object management method based on the java card virtual machine comprises that the java card virtual machine can detect an establishing object operation, and the basic information of the establishing object can be filled into a second memory space. An offset address of the to-be-established object can be obtained and stored in a blank table item of a sub object table. An index value of the to-be-established object can be calculated and used for replacing a first index value, wherein the first index value is stored. Deleting computer-aided production (CAP) image operation can be detected. A CAP image which is stored in a first memory space and corresponds to an identification (ID) of a deleting CAP image can be marked as a fragment. Types of assembly of the first memory space can be detected in sequence. When the type is the sub object table, the sub object table can be move to a high address direction. The offset address of the sub object table can be modified, wherein the sub object table is stored in a main object table. When the type is the CAP image, the CAP image can be moved to the high address direction and the CAP image address can be replaced. According to the object management method based on the java card virtual machine, a sub object and a main object can be used for managing objects so as to be easy and convenient. In addition, resources are saved.

Description

technical field [0001] The invention relates to the field of object management, in particular to a method for object management in a java card-based virtual machine. Background technique [0002] Objects are used in the Java Card to save some data, and the objects include object headers and data fields. The object headers and data fields can be stored separately or continuously. The object header and data field of the permanent object are stored in EEPROM in sequence; the object header and data field of the temporary object are stored separately, wherein the object header is in EEPROM, and the data field is in RAM. The object headers of permanent objects and temporary objects are arranged in the order of creation in eeprom. [0003] In the prior art, every time an object is called, the address of the object needs to be referenced, which takes up a large space; and during garbage collection, if an object is moved, the offset address of the object will change, Correspondingl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455G06F12/02
Inventor 陆舟于华章
Owner FEITIAN TECHNOLOGIES
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products