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

Method and device for recycling garbage in Java card

A garbage, in-operation technology, applied in the field of smart cards, can solve the problem of taking up too much time, and achieve the effect of perfecting functions, saving time and improving performance

Active Publication Date: 2015-05-27
BEIJING WATCH DATA SYST
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and device for garbage collection in a Java card, which is used to actively perform garbage collection on the Java card, and adopts a staged garbage collection method, so that the garbage collection operation is distributed in multiple small time slices, avoiding the current situation. There is a problem that it takes too much time to recycle all the garbage in the Java card at one time in the technology, which improves the efficiency of garbage collection in the Java card

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
  • Method and device for recycling garbage in Java card
  • Method and device for recycling garbage in Java card
  • Method and device for recycling garbage in Java card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to improve the efficiency of garbage collection in the Java Card and realize the purpose of garbage collection in the Java Card actively and in stages, the embodiment of the present invention provides a method and device for garbage collection in the Java Card. The method is as follows: During the process, monitor the object creation operation and the assignment operation to the static object. If it is determined according to the assignment operation that the created object is not referenced by the static object, the object that is not referenced by the static object will be determined as a garbage object. , recycle the garbage objects in the Java Card.

[0019] Preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0020] as attached figure 1 As shown, in the embodiment of the present invention, the device of garbage collection in the Java card mainly includes the following processing ...

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 a method and device for recycling garbage in a Java card, which are used for actively recycling garbage in the Java card in a partial step garbage recycling manner, so that the garbage is recycled in multiple small time slices, the problem that the one-step recycling of all garbage in the Java card occupies too much time in the prior art is solved, and the efficiency for recycling the garbage in the Java card is increased. The method comprises the following steps of: in a function executing process, monitoring object creating operation and value assignment operation for static objects, confirming objects which are not quoted by the static objects as garbage objects if the created objects are confirmed as objects which are not quoted by the static objects according to the value assignment operation, and recycling the garbage objects in the Java card when function execution is over. The invention further discloses a device for recycling garbage in a Java card.

Description

technical field [0001] The invention relates to the technical field of smart cards, in particular to a method and device for collecting garbage in a Java card. Background technique [0002] The Java card is a smart card that can run Java program codes. In the Java card, the operating environment required for the application program (Applet) to run, the virtual machine responsible for interpreting the Java voice, and the standard system application programming interface (Application Programming Interface, API), which provides guarantees for the operation of Applets on Java Cards, where Applets are specific applications running on Smart Cards. [0003] One of the great advantages of the Java language is that garbage objects (objects that are no longer used) can be independently determined and recycled in the Java runtime environment. Specifically, the Java heap is the data area of ​​Java, and the instance object of the Java class is allocated space from the Java heap. On a pe...

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 Patents(China)
IPC IPC(8): G06F9/44G06F9/52
Inventor 宋浩
Owner BEIJING WATCH DATA SYST
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