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

A method and a device for realizing hot updating of executable files of an intelligent card

A technology for executing files and hot updates, applied in the direction of electrical components, responding to errors, software maintenance/management, etc., can solve problems such as affecting users' use

Active Publication Date: 2019-05-28
FEITIAN TECHNOLOGIES
View PDF6 Cites 1 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 method and a device for realizing hot updating of executable files of an intelligent card
  • A method and a device for realizing hot updating of executable files of an intelligent card
  • A method and a device for realizing hot updating of executable files of an intelligent card

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 realizing hot update of executable files of an intelligent card, and the method comprises the steps: obtaining an executable file to be updated when a card receives a hot update starting command sent by an upper computer; Backing up file registry information corresponding to the executable file to be updated in the registry, all application registryinformation belonging to the executable file to be updated in the registry and user information designated to be backed up by all applications to a first storage area of the nonvolatile memory; Downloading a new executable file, reinstalling the application according to the backup file registry information and all the backup application registry information through the new executable file, and calling a backup function in the reinstalled application to restore the user information in the backup corresponding application to the reinstalled application. According to the method, the executable file and the application to be updated can be updated, previous data of an application user are reserved, the user can use the method conveniently, and the user experience is improved.

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 Applications(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products