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

Allocation method and device for memory space of smart card

A memory space and allocation method technology, which is applied in the field of smart cards, can solve problems such as difficult to determine the space allocation value, hard to determine the space size allocation, applet death, etc., and achieve the effect of improving memory space utilization

Active Publication Date: 2013-09-18
CHINA MOBILE COMM GRP CO LTD
View PDF6 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the smart card only uses DTR space, for applets that apply some global RAM variables and buffers and expect to keep this space (such as state values) after booting, this requirement cannot be realized
If the smart card has both RTR and DTR spaces, it is difficult to determine the size allocation of the two spaces
Because the RTR and DTR space strategies occupied by different smart card applets are different, for multi-applet smart cards, it is difficult to determine a reasonable space allocation value when issuing cards
Because once the RTR and DTR space is allocated, the two types of space allocation may overlap with each other due to improper handling by the operating system, and the applet data will be lost, or even the applet will die.

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
  • Allocation method and device for memory space of smart card
  • Allocation method and device for memory space of smart card
  • Allocation method and device for memory space of smart card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] This embodiment provides a method for allocating the memory space of the smart card, such as figure 1 , the method includes:

[0042] 101. The smart card designates a continuous address space in RAM as RTR and DTR space, and sets the initial boundary of RTR and DTR space in the continuous address space according to the preset initial boundary value, so that the continuous address space is divided into the following The initial boundary is the boundary line, one side of the boundary line is used as RTR space, and the other side is used as DTR space;

[0043] For example, refer to figure 2 The smart card shown has continuous address spaces designated for RTR and DTR spaces in RAM according to preset initial boundary values. Wherein, support two logical passages with this smart card (smart card supports several logical passages, just has several section DTR spaces, because this part is prior art, is not the place that the present invention improves, does not go into det...

Embodiment 2

[0065]This embodiment provides a smart card memory space allocation device, such as Figure 8 As shown, it includes a setting unit 81 and an adjusting unit 82 .

[0066] Setting unit 81 is used to specify a section of continuous address space in RAM as RTR and DTR space, and according to the preset initial boundary value, the initial boundary of RTR and DTR space is set in the continuous address space, so that the continuous address space Divided into the initial boundary as the boundary line, one side of the boundary line as RTR space, and the other side as DTR space; adjustment unit 82, used for when the remaining storage capacity in the RTR space is less than the capacity size of the RTR data application, or when in the DTR space When the remaining storage capacity is less than the capacity requested by the DTR data, the size of the RTR space or DTR space is changed by dynamically adjusting the boundaries in the continuous address space, so that the RTR space can accommodat...

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 embodiment of the invention discloses an allocation method and an allocation device for the memory space of a smart card, relates to the technical field of smart cards and solves the technical problem in the prior art that RTR (CLEAR_ON_RESET RAM) and DTR (CLEAR_ON_DESELECT RAM) space of the RAM of a smart card are difficult to allocate and determine. The allocation method mainly comprises the steps that a section of continuous address space in the RAM (random access memory) is allocated as the RTR and DTR space, and the initial boundaries of the RTR and DTR space in the continuous address space are set according to preset initial boundary values; when the free memory capacity of the RTR space is smaller than the capacity requested by RTR data, or when the free memory capacity of the DTR space is smaller than the capacity requested by DTR data, the boundaries are dynamically adjusted in the continuous address space to change the size of the RTR space or the DTR space.

Description

technical field [0001] The invention relates to the field of smart cards, in particular to a method and device for allocating memory space of a smart card. Background technique [0002] With the wide application of smart card technology, various types of cards such as bank cards, bus cards, and venue ticket cards can be integrated into a mobile phone's security chip or a SIM card (hereinafter collectively referred to as smart cards), and at the same time drive multi-industry cooperation Card issuance needs. Multi-application cards have more designs and requirements in terms of application management, card space management, and secure communication mechanisms. The one-card multi-application market continues to grow rapidly, and the types of applications (applets) are increasingly diversified. The RAM (random access memory) space in the smart card that applets can occupy can be dynamically loaded according to the application, and the relevant space can be dynamically applied ...

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
IPC IPC(8): G06F12/02
Inventor 李琳
Owner CHINA MOBILE COMM GRP CO LTD
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