Method and device for updating Java card extended library, and Java card

A library update and updated technology, applied in the direction of program control devices, special data processing applications, instruments, etc., can solve problems such as abnormal cumbersomeness and non-executability, and achieve good technical effects

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

AI Technical Summary

Problems solved by technology

[0008] 1) To update the extension library, you must first delete the instance, application/extension library that references the extension library;
[0009] 2) To delete an instance, you must first back up (move out) the instance data...

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 updating Java card extended library, and Java card
  • Method and device for updating Java card extended library, and Java card
  • Method and device for updating Java card extended library, and Java card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] Figure 4 It is a schematic flow diagram of an extension library update method in the Java card of the present invention;

[0051] Such as Figure 4 As shown, the method for updating the extended library in the shown Java card mainly includes:

[0052] S101: Obtain the reference relationship between the extended library to be updated and the application and / or instance and / or the second extended library; including: traversing all applications, extended libraries and instances on the Java card with the first extended library as the root, obtaining and saving The reference relationship between the application, the second extension library and the instance, and the extension library;

[0053] S102: Obtain the first mapping relationship between all the methods in the extended library to be updated and their storage addresses; including: obtaining the first mapping between the methods in the first extended library and their storage addresses according to the storage inform...

Embodiment 2

[0068] Wherein, the present invention is described in detail in conjunction with more specific embodiments; Figure 5 It is a schematic flowchart of the method for updating the extension library in the Java Card according to an embodiment of the present invention.

[0069] Wherein, the method includes two main steps, wherein, S101-S102 mainly relate to the operation before updating the extension library, specifically as follows:

[0070] Modify status: Check all applications, extension libraries and instances on the card that take the extension library as the root, and modify the status of these applications, extension libraries and instances to disabled status;

[0071] That is, S1011: save the reference relationship between the methods in the library and the actual address of the library, that is, which applications and extension libraries refer to the extension library, and put the above information into a reference relationship table;

[0072] S1022: Save the method of th...

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 for updating a Java card extended library. The method comprises the following steps: A, obtaining a reference relationship between an extended library to be updated and an application and/or embodiment and/or a second extended library; obtaining a first mapping relationship of all methods and memory addresses thereof in the extended library to be updated; B, updating the extended library, and establishing a second mapping relationship between all the methods in the extended library after being updated and memory addresses thereof according to the memory state of the extended library after being updated; C, updating the corresponding information of the memory addresses aiming at the methods in the extended library in the application and/or embodiment and/or extended library according to the reference relationship and the second mapping relationship. According to the method, the files of the extended library in the Java card can be updated under the condition that the application and embodiment are not deleted. Moreover, the invention also discloses a device for updating the Java card extended library, and a Java card.

Description

technical field [0001] The invention relates to a method for updating a Java Card extension library and belongs to the field of data services. Background technique [0002] Java Card is an open standard developed by Sun Corporation for the smart card development platform. Smart cards created using the Java Card platform have Java applets stored on them. It is also possible to add applets to the card or modify existing applets on the card after the card is issued. They store data in an integrated microprocessor chip. The applet is then downloaded into the microprocessor's memory and run by the Java virtual machine. Similar to MULTOS, another smart card development technology, Java Card enables multiple applications to be installed and coexist independently. Each applet is protected by a firewall to maintain its integrity and prevent interference. Applications can be dynamically upgraded. [0003] Such as figure 1 As shown, the Java Card includes the Standard Library an...

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): G06F9/445G06F17/30
Inventor 乐祖晖
Owner CHINA MOBILE COMM GRP CO LTD
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