EP0908855A2

Portable card medium, method for managing memory space of portable card medium, method for issuing portable card medium, method for writing program data on portable card medium, and computer readable recording medium with memory space management program recorded therein

Abstract

In a portable card medium used for an IC card capable of realizing a plurality of application functions, the portable card medium includes an accepting mechanism (4) to accept an application processing request from a host apparatus (7), an area control mechanism (5) to extract an area (2) of a memory for processing corresponding to the application processing request accepted by the accepting mechanism (4), and request the executing mechanism (3) to perform the processing in the extracted area (2), and an area monitoring mechanism (6) to take as input information of an area having access during program execution in the executing mechanism (3), and monitor whether or not the processing in the executing mechanism (3) is being performed in the area (2) extracted by the area control mechanism (5), thereby preventing data to be managed by other application functions from being fetched.

EP0908855A2, drawing sheet 1
Sheet 1 of 24

Term

Term ended

Projected expiry passed 10 April 2018, 8.5 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

17 claims: 5 independent, 12 dependent

  1. 1
    A portable card medium in which a memory contains a plurality of programs to be executed in response to various application processing requests from a host apparatus (7) and data used for execution of the programs, and the respective programs are executed in an executing mechanism (3) depending upon the stored programs and data, thereby processing a desired application processing request from the host apparatus, and the portable card medium comprising:an accepting mechanism (4) to accept the application processing request from the host apparatus;an area control mechanism (5) to extract an area of the memory for processing corresponding to the application processing request accepted by the accepting mechanism (4), and request the executing mechanism (3) to perform the processing in the extracted area;andan area monitoring mechanism (6) to take as input information of an area having access during the execution of the program in the executing mechanism (3), and monitor whether or not the processing in the executing mechanism (3) is being performed in the area extracted by the area control mechanism (5).
  2. 8
    In a method for managing a memory space of a portable card medium in which a memory contains a plurality of programs to be executed in response to various application processing requests from a host apparatus and data used for execution of the programs, and the programs are executed in the executing mechanism depending upon the stored programs and data, thereby processing a desired application processing request from the host apparatus, the method for managing the memory space of the portable card medium comprising the steps of:setting, corresponding to an area of the memory, an access space for storage of data used by the application and for the operation of an access control in the program, a command space for the operation of a command used for processing other than the access control in the program, and a supervisory control space for a supervisory control of the processing in the access space and the command space;andwhen a processing request from the host apparatus is accepted in the supervisory control space, transferring the operation from the supervisory control space to the access space or the command space such that the executing mechanism can process the processing request.
  3. 15
    A method for issuing a portable card medium comprising:when the portable card medium is issued in which a memory contains a plurality of programs to be executed in response to various application processing requests from the host apparatus and data used for execution of the programs, and the programs are executed in the executing mechanism depending upon the stored programs and data, thereby processing a desired application processing request from the host apparatus,an authentication information posting step of posting authentication information inherent in the host apparatus capable of issuing the card medium to an external card medium containing authentication information;a collation decision step of, in the external card medium, collating for authentication the authentication information posted in the authentication information posting step with the authentication information stored in the external card medium, and deciding whether or not the card medium can be issued through the host apparatus;andan issuing step of issuing the desired card medium through the host apparatus when it is decided that the card medium can be issued as a result of decision in the collation decision step.
  4. 16
    A method for writing program data on a portable card medium comprising:when an external apparatus writes program data on the memory of the portable card medium in which the memory contains a plurality of programs to be executed in response to various application processing requests from the host apparatus and data used for execution of the programs, and the programs are executed in the executing mechanism depending upon the stored programs and data, thereby processing the desired application processing request from the host apparatus,an authentication information posting step of posting authentication information of the external apparatus to the card medium, and posting authentication information of the card medium to the external apparatus;a collation decision step of, in the external apparatus, collating for authentication the authentication information posted from the card medium with the authentication information stored in the external apparatus, and, in the card medium, collating for authentication the authentication information posted from the external apparatus with the authentication information stored in the card medium, thereby deciding whether a write operation of the program data by the external apparatus is to be enabled or disabled;anda write operation step of, in the card medium, performing the write operation through the external apparatus when it is decided that the program data can be written as a result of decision in the collation decision step.
  5. 17
    A computer readable recording medium with a memory space management program recorded therein comprising the memory space management program recorded for, when a memory space is managed in a computer in which a memory contains a plurality of programs to be executed in response to various application processing requests from a host apparatus along with data used for execution of the programs and the programs are executed in an executing mechanism depending upon the stored programs and data, thereby processing the desired application processing request from the host apparatus,causing the computer to realize:a space setting function of setting in an area of the memory an access space for storage of data used by the application and for the operation of an access control in the program, a command space for the operation of a command for processing other than the access control in the program, and a supervisory control space for a supervisory control of processing in the access space and the command space;anda space control function of transferring, when a processing request from the host apparatus is accepted in the supervisory control space, the operation from the supervisory control space to the access space or the command space such that the executing mechanism can process the processing request.