A hot update method and device for implementing smart card executable files

A technology for executing files and hot updates, applied to electrical components, response error generation, software maintenance/management, etc., can solve problems affecting user use, etc., and achieve the effect of improving user experience and facilitating use

Active Publication Date: 2021-06-08
FEITIAN TECHNOLOGIES
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Compared with proprietary software, traditional smart card system software has realized the function of deleting and updating applications, but the user's previous data will be deleted during the upgrade process, which will affect the user's use

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 hot update method and device for implementing smart card executable files
  • A hot update method and device for implementing smart card executable files
  • A hot update method and device for implementing smart card executable files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0183] Embodiment 1 of the present invention provides a hot update method for implementing smart card executable files, such as figure 1 shown, including:

[0184] Step S1: When the card receives the start hot update command sent by the host computer, search the executable file storage address in the registry according to the file identifier in the start hot update command, and save the address in the non-volatile memory according to the executable file storage address. Obtain the executable file to be updated from the second storage area;

[0185] In this embodiment, there are one or more application modules in the executable file, and one application module can be instantiated as one application or multiple applications identified by different files, and one application corresponds to one piece of application registry information in the registry, An executable file corresponds to a piece of file registry information in the registry; an application is personalized into a use...

Embodiment 2

[0204] Embodiment 2 of the present invention provides a method for implementing hot update of smart card executable files. The hot update of multi-application smart card system applications is by backing up the old executable loading file version (old ELF version) and its associated applications, and then updating the new ones. The executable loads the file version (new ELF version) and restores the old associated application to achieve, such as figure 2 As shown, the method of this embodiment includes:

[0205] Step 101: establishing a secure channel between the card and the host computer;

[0206] Specifically, in this embodiment, the implementation process of step 101 is as follows image 3 shown, including:

[0207] Step a1: When the application on the card receives the command to establish a secure channel sent by the host computer, use the supported secure channel protocol to authenticate the entity outside the card. If the authentication is successful, it will return...

Embodiment 3

[0332] Embodiment 3 of the present invention provides a hot update device for implementing smart card executable files, such as Figure 8 shown, including:

[0333] The first receiving module 801 is used to receive the start hot update command sent by the host computer;

[0334] The first acquisition module 802 is configured to search the executable file storage address in the registry according to the file identifier in the startup hot update command received by the first receiving module 801, and store the executable file storage address in the second non-volatile memory according to the executable file storage address. Obtain the executable file to be updated in the storage area;

[0335] The backup deletion module 803 is used to specify the file registry information in the registry corresponding to the executable file to be updated, all application registry information in the registry belonging to the executable file to be updated, and all applications that need to be bac...

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 implementing hot update of executable files of a smart card. The method includes: when the card receives a start hot update command sent by a host computer, acquiring the executable file to be updated; The file registry information of the executable file to be updated, the registry information of all applications belonging to the executable file to be updated in the registry, and the user information specified by all applications to be backed up are backed up to the first storage area of ​​the non-volatile memory ;Download the new executable file and reinstall the application according to the backup file registry information and the backup application registry information through the new executable file, and call the backup function in the reinstalled application to save the User information is restored to the reinstalled app. The invention can update executable files and applications to be updated, and retain the previous data of application users, which is convenient for users to use and improves user experience.

Description

technical field [0001] The invention relates to the field of electronic products, in particular to a method and device for realizing hot update of executable files of smart cards. Background technique [0002] In the prior art, an executable file refers to a file that can be loaded and executed by an operating system. There are application modules in the executable file, and the application modules are instantiated into one or more applications. An application corresponds to a piece of application registry information in the registry, and an executable file corresponds to a piece of file registry information in the registry. The application runs on the smart card operating system, for example, windows can run the application. [0003] All existing electronic devices such as laptops, handhelds, etc. allow for a software upgrade process. There are many reasons for software upgrades, such as fixing bugs, adding new features, and so on. With the popularization of more and mor...

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): H04L29/08H04L29/06H04L9/08G06F8/71G06F11/14
Inventor 陆舟于华章
Owner FEITIAN TECHNOLOGIES
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