A method and system for dynamically managing javacard transient resources

A dynamic management and resource technology, applied in resource allocation, specific access rights, electrical digital data processing, etc., can solve the problems of maximum transient resource limitation, poor management flexibility, and low adaptability, and overcome the relatively small space of DTR less, highly adaptable, and flexible management

Active Publication Date: 2018-11-06
WUHAN TIANYU INFORMATION IND
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] Although this management method enables the resource space of DTR to be reused and meets the requirement that multiple application packages can apply for DTR resources of sizeDmax, DTR and RTR must be managed separately, and the DTR resources of each logical channel The size of the space is preset at the beginning, resulting in the limitation of the maximum transient resources that users can use. They can only apply for DTR resources of sizeDmax size, and RTR resources of RTRANSIENT_SIZE-4*sizeDmax size. The management flexibility is poor and the adaptability is not high.

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
  • A method and system for dynamically managing javacard transient resources
  • A method and system for dynamically managing javacard transient resources
  • A method and system for dynamically managing javacard transient resources

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0054] see image 3 As shown, the embodiment of the present invention provides a method for dynamically managing JavaCard transient resources, including the following steps:

[0055] S1: According to the size of the transient resource space TRANSIENT_SIZE, allocate a total transient resource space for the transient resource; record the DTR space size required by each application package, which can be recorded as sizeD1, sizeD2...sizeDn, and the The DTR space size of the application package that needs to apply for the largest space is recorded as sizeDm and transferred to S2.

[0056] During specific operations, the transient resources in S1 can be defined by the array transient_heap[TRANSIENT_SIZE]; the size of the transient resource space TRANSIENT_SIZE is specified according to the size of the RAM resources that the JavaCard platfo...

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 system for dynamically managing JavaCard transient resources, and relates to the technical field of JavaCard transient resource management. The method includes the following steps: firstly allocate a total transient resource space for the transient resource; when the application package stored in the logical channel applies for the transient resource, it is judged whether the size of the available transient resource space meets the requirement of this application, and if so , then apply for the corresponding transient resource, if not, it will prompt an abnormal message of insufficient space; during the use of RTR resources, provide the RTR space in the total transient resource space to the application package that applies for it and occupy it until When the card is reset, it will be cleared; during the use of DTR resources, according to the activation status or deactivation status of the application package applying for DTR, the DTR space size in the total transient resource space is dynamically allocated and adjusted. The invention not only effectively improves resource utilization rate, but also has flexible management and high adaptability.

Description

technical field [0001] The invention relates to the technical field of management of JavaCard transient resources, specifically a method and system for dynamically managing JavaCard transient resources. Background technique [0002] JavaCard is a technology that enables smart cards or devices similar to smart cards to execute small Java applets (small application programs) in a secure manner. The JavaCard platform is a JavaCard-based operating system that can provide JavaCard applications with transient resources required for operation. The advent of JavaCard, on the one hand, is to promote the application level of Java, and on the other hand, it is also to bring the characteristics of the JavaCard platform and the benefits of Java to smart cards. Because the development of applications based on JavaCard is platform-independent and safe, Therefore, JavaCard has been widely used in fields such as finance and communication. [0003] Although it is convenient to develop Apple...

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/46G06F9/50G06F9/455
CPCG06F9/45504G06F9/468G06F9/505
Inventor 丁峰熊传光
Owner WUHAN TIANYU INFORMATION IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products