CN103677941A - Method and device for upgrading intelligent card operation system module - Google Patents

Method and device for upgrading intelligent card operation system module Download PDF

Info

Publication number
CN103677941A
CN103677941A CN201310741601.3A CN201310741601A CN103677941A CN 103677941 A CN103677941 A CN 103677941A CN 201310741601 A CN201310741601 A CN 201310741601A CN 103677941 A CN103677941 A CN 103677941A
Authority
CN
China
Prior art keywords
system module
module
operation system
boot
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310741601.3A
Other languages
Chinese (zh)
Other versions
CN103677941B (en
Inventor
金银军
程己农
徐泳�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING DATANG SMART CARD Co Ltd
Original Assignee
BEIJING DATANG SMART CARD Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING DATANG SMART CARD Co Ltd filed Critical BEIJING DATANG SMART CARD Co Ltd
Priority to CN201310741601.3A priority Critical patent/CN103677941B/en
Publication of CN103677941A publication Critical patent/CN103677941A/en
Application granted granted Critical
Publication of CN103677941B publication Critical patent/CN103677941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method and device for upgrading an intelligent card operation system module. The method includes the following steps that in the normal execution process of a commercial application program, if an upgrading starting order of the card operation system module is received, and state information of execution of a current program is backed up to a restoration point of an application program. After initialization of the leading program operation environment, skipping to a leading program instruct set is performed and the card operation system module is downloaded again. After upgrading is finished, information remaining in the internal storage is returned to the restoration point of the commercial program, thus the commercial application program is normally executed after upgrading is finished.

Description

A kind of method and device of realizing smart card operating system module upgrade
Technical field
The present invention relates to smart card techniques, relate in particular to method and the device of realizing smart card COS module upgrade.
Background technology
COS(Card Operating System) be the operating system software residing in smart card, be similar to the DOS system on PC, but simply more than DOS system.COS is mainly used in receiving and processing the various information that extraneous (as mobile phone or card reader) issues smart card, carries out the extraneous various instructions that send (as authentication computing etc.), and the storage space in control card, to extraneous return response information etc.In general, smart card COS system comprises 4 parts: communication management module, safety management module, application processing module, document management module.
Smart card COS software often need to increase some business or change some function according to customer demand after smart card productization, needs smart card COS software to upgrade for this reason.Have at present the more similar scheme to smart card software upgrading: after intelligent card chip is resetted, in the normal implementation of commercial business, need after chip resets again, to adopt boot again to download COS module and operation.And conventionally after intelligent card chip resets, because smart card re-starts the initial work of applied environment, can cause the loss of state of business execution in card, for user's use makes troubles.Therefore in this scheme, require the upgrading of smart card COS must avoid carrying out between execution service period, thereby there is certain limitation.
Therefore, need to be method and the device of a kind of operating system module upgrading of smart card designs, can after resetting, carry out intelligent card chip the upgrading of COS.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of method and device of realizing smart card operating system module upgrade, can avoid carrying out the loss of state that COS upgrading causes business execution in card before intelligent card chip reset.
In order to solve the problems of the technologies described above, the invention provides a kind of method that realizes smart card operating system module upgrade, comprise the steps:
In the normal implementation of commercial applications program, if receive the starting and upgrading instruction of card operation system module, back up status information that present procedure carries out to application program restoration point, and after the initialization that completes boot running environment, jump to boot instruction set and complete the download again to card operation system module.
Further, after the initialization that completes boot running environment, jump to boot instruction set and complete the download again to card operation system module, specifically comprise:
After completing the initialization of boot running environment, if receive the upgrading download instruction in boot instruction set, the application program of down loading updating card operation system module, to program area and corresponding data field, and is returned to execution result executing after again downloading again.
Further, the method also comprises:
Boot instruction set is returned to application program restoration point, and commercial applications program is returned in redirect;
Commercial applications program enters the card operation system module main flow of renewal, by card operation system module main flow, according to the state that before the information recovery card operation system module upgrade of the program execution state of application program restoration point backup, program is carried out, continue the normal execution of commercial applications program.
In order to solve the problems of the technologies described above, the invention provides a kind of device of realizing smart card operating system module upgrade, comprise commercial applications program execution module and boot execution module, wherein:
Commercial applications program execution module, be used for carrying out commercial applications program, after the starting and upgrading instruction that receives card operation system module, back up the status information of current application program execution to application program restoration point, and after the initialization that completes boot running environment, jump to boot execution module;
Boot execution module, for completing the download again to card operation system module.
Further, if boot execution module is received the upgrading download instruction of card operation system module, the application program of down loading updating card operation system module, to program area and corresponding data field, and is returned to execution result executing after again downloading again.
Further,
Boot execution module, after the upgrading END instruction of receiving card operation system module, returns to application program restoration point, and commercial applications program execution module is returned in redirect;
Commercial applications program execution module enters the operating system module main flow after renewal, by this operating system module main flow, according to the state that before the information recovery COS module upgrade of the instruction executing state of application program restoration point backup, instruction is carried out, continue the normal execution of commercial applications program.
The present invention is because smart card externally keeps the consistance in communication in COS module upgrade process, therefore need not be as in the past, in the normal implementation of commercial business, need after chip resets again just newly downloaded the and operation COS module of duplicate removal, therefore in COS module upgrade process, the data in intelligent card chip internal memory are not lost, can after upgrading completes, according to the information retaining in internal memory, return to the restoration point of commercial program, thereby guarantee the normal execution of commercial applications program.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the present invention's smart card correspondence with foreign country before and after COS software upgrading;
Fig. 2 is the normal process flow diagram of carrying out of the present invention's commercial applications program before COS software upgrading;
Fig. 3 switches to boot embodiment process flow diagram after starting COS module upgrade in the method for smart card operating system software upgrading of the present invention;
Fig. 4 carries out the process flow diagram of more newly downloaded embodiment in the method for smart card operating system software upgrading of the present invention to the application program of COS module by boot instruction set;
Fig. 5 finishes follow-up reforwarding at COS module upgrade in the method for smart card operating system software upgrading of the present invention to do business with the process flow diagram of application program embodiment.
Embodiment
Below in conjunction with accompanying drawing and preferred embodiment, technical scheme of the present invention is at length set forth.Should be appreciated that, the embodiment below enumerating is only for description and interpretation the present invention, and do not form the restriction to technical solution of the present invention.
The embodiment of the method that realizes smart card operating system module upgrade of the present invention, comprises the steps:
In the normal implementation of commercial applications program (flow process shown in Figure 2), if receive starting and upgrading instruction, back up the status information of present procedure execution to application program restoration point, and after the initialization that completes boot running environment, jump to boot instruction set and complete the download again to smart card COS module, flow process shown in Figure 3.
In said method embodiment, after the initialization that completes boot running environment, jump to boot instruction set and complete the download again to smart card COS module, specifically comprise:
After completing the initialization of boot running environment, the download instruction of upgrading in this instruction set if receive, the application program of down loading updating COS module, to program area and corresponding data field, and is returned to execution result, flow process shown in Figure 4 executing after again downloading again.
Said method embodiment, also comprises:
Boot instruction set is returned to application program restoration point, and commercial applications program is returned in redirect;
This commercial applications program enters the COS module main flow of renewal, by this COS module main flow, according to the state (flow process as shown in Figure 5) that before the information recovery COS module upgrade of the instruction executing state of application program restoration point backup, instruction is carried out, continue commercial applications program and carry out normally.
The present invention is directed to said method embodiment, the device embodiment that realizes smart card operating system module upgrade is correspondingly provided, comprise commercial applications program execution module and boot execution module, wherein:
Commercial applications program execution module, be used for carrying out commercial applications program, after the starting and upgrading instruction that receives COS module, back up the status information of present procedure execution to application program restoration point, and after the initialization that completes boot running environment, jump to boot execution module;
Boot execution module, for completing the download again to smart card COS module.
In said apparatus embodiment,
If boot execution module is received upgrading download instruction, the application program of down loading updating COS module, to program area and corresponding data field, and is returned to execution result executing after again downloading again.
In said apparatus embodiment,
Boot execution module returns to application program restoration point after the upgrading END instruction of receiving card operation system module, and commercial applications program execution module is returned in redirect;
Commercial applications program execution module enters the COS module main flow after renewal, and the state according to instruction is carried out before the information recovery COS module upgrade of the instruction executing state of application program restoration point backup, continues the execution of commercial applications program.
The present invention is due to smart card not process reset in COS module upgrade process, not as in the past, in the normal implementation of commercial business, need after chip resets again just newly downloaded the and operation COS module of duplicate removal, therefore in COS module upgrade process, the data in intelligent card chip internal memory are not lost, can after upgrading completes, according to the information retaining in internal memory, return to the restoration point of commercial program, thereby guarantee the normal execution of commercial applications program.

Claims (6)

1. a method that realizes smart card operating system module upgrade, comprises the steps:
In the normal implementation of commercial applications program, if receive the starting and upgrading instruction of card operation system module, back up status information that present procedure carries out to application program restoration point, and after the initialization that completes boot running environment, jump to boot instruction set and complete the download again to described card operation system module.
2. in accordance with the method for claim 1, it is characterized in that, after the described initialization completing boot running environment, jump to boot instruction set and complete the download again to described card operation system module, specifically comprise:
After completing the initialization of boot running environment, if receive the upgrading download instruction in described boot instruction set, the application program of card operation system module, to program area and corresponding data field, and is returned to execution result executing after again downloading described in down loading updating again.
3. in accordance with the method for claim 2, it is characterized in that, also comprise:
Described boot instruction set is returned to described application program restoration point, and described commercial applications program is returned in redirect;
Described commercial applications program enters the card operation system module main flow of renewal, by described card operation system module main flow, according to the state that before the information recovery card operation system module upgrade of the described program execution state of described application program restoration point backup, program is carried out, continue the normal execution of commercial applications program.
4. a device of realizing smart card operating system module upgrade, is characterized in that, comprises commercial applications program execution module and boot execution module, wherein:
Commercial applications program execution module, be used for carrying out commercial applications program, after the starting and upgrading instruction that receives card operation system module, back up the status information of current application program execution to application program restoration point, and after the initialization that completes boot running environment, jump to boot execution module;
Boot execution module, for completing the download again to described card operation system module.
5. according to device claimed in claim 4, it is characterized in that,
If described boot execution module is received the upgrading download instruction of described card operation system module, the application program of card operation system module, to program area and corresponding data field, and is returned to execution result executing after again downloading described in down loading updating again.
6. according to device claimed in claim 5, it is characterized in that,
Described boot execution module, after the upgrading END instruction of receiving described card operation system module, returns to described application program restoration point, and described commercial applications program execution module is returned in redirect;
Described commercial applications program execution module enters the operating system module main flow after renewal, by this operating system module main flow, according to the state that before the information recovery COS module upgrade of the instruction executing state of described application program restoration point backup, instruction is carried out, continue the normal execution of commercial applications program.
CN201310741601.3A 2013-12-27 2013-12-27 A kind of method and device for realizing smart card operating system module upgrade Active CN103677941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310741601.3A CN103677941B (en) 2013-12-27 2013-12-27 A kind of method and device for realizing smart card operating system module upgrade

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310741601.3A CN103677941B (en) 2013-12-27 2013-12-27 A kind of method and device for realizing smart card operating system module upgrade

Publications (2)

Publication Number Publication Date
CN103677941A true CN103677941A (en) 2014-03-26
CN103677941B CN103677941B (en) 2017-08-11

Family

ID=50315598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310741601.3A Active CN103677941B (en) 2013-12-27 2013-12-27 A kind of method and device for realizing smart card operating system module upgrade

Country Status (1)

Country Link
CN (1) CN103677941B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339233A (en) * 2015-07-13 2017-01-18 中国移动通信集团公司 Method and device for updating smart card operating system
CN108021383A (en) * 2017-12-01 2018-05-11 东信和平科技股份有限公司 A kind of smart card operating system upgrade method and system
RU2720254C1 (en) * 2019-12-05 2020-04-28 Акционерное общество "Актив-софт" (АО "Актив-софт") Method of software recovery and updating on a smart card

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1430142A (en) * 2001-12-29 2003-07-16 深圳市中兴通讯股份有限公司上海第二研究所 Device for realizing software down loading using single-chip processor in communication system and its method
CN1694080A (en) * 2005-06-02 2005-11-09 北京凌创超胜科技有限公司 Embedded network sharing device installed in mainframe
CN1928820A (en) * 2006-09-30 2007-03-14 四川长虹电器股份有限公司 Embedded system and its upgrading method
CN102722378A (en) * 2011-03-30 2012-10-10 比亚迪股份有限公司 Non-intelligent mobile phone and method for upgrading system program thereof
CN102855149A (en) * 2012-08-02 2013-01-02 福建伊时代信息科技股份有限公司 Chip operating system update method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1430142A (en) * 2001-12-29 2003-07-16 深圳市中兴通讯股份有限公司上海第二研究所 Device for realizing software down loading using single-chip processor in communication system and its method
CN1694080A (en) * 2005-06-02 2005-11-09 北京凌创超胜科技有限公司 Embedded network sharing device installed in mainframe
CN1928820A (en) * 2006-09-30 2007-03-14 四川长虹电器股份有限公司 Embedded system and its upgrading method
CN102722378A (en) * 2011-03-30 2012-10-10 比亚迪股份有限公司 Non-intelligent mobile phone and method for upgrading system program thereof
CN102855149A (en) * 2012-08-02 2013-01-02 福建伊时代信息科技股份有限公司 Chip operating system update method, device and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339233A (en) * 2015-07-13 2017-01-18 中国移动通信集团公司 Method and device for updating smart card operating system
CN106339233B (en) * 2015-07-13 2019-08-20 中国移动通信集团公司 A kind of smart card operating system update method and device
CN108021383A (en) * 2017-12-01 2018-05-11 东信和平科技股份有限公司 A kind of smart card operating system upgrade method and system
RU2720254C1 (en) * 2019-12-05 2020-04-28 Акционерное общество "Актив-софт" (АО "Актив-софт") Method of software recovery and updating on a smart card

Also Published As

Publication number Publication date
CN103677941B (en) 2017-08-11

Similar Documents

Publication Publication Date Title
CN103064712B (en) A kind of method of Reconfigurations parameter, device and terminal device
KR101673299B1 (en) Operating system recovery method and apparatus, and terminal device
CN104781785A (en) Generating native code from intermediate language code for an application
CN105446772A (en) System upgrading method and apparatus
CN105302711A (en) Application repairing method and apparatus and terminal
CN105677180A (en) Application program icon processing method and device
CN101169729A (en) Embedded type system and method for renewing application program
CN103761129A (en) Method of implementing SDIO (secure digital input/output) interface drive in Boot loader layer
CN103164232A (en) Method and system of updating intelligent terminal operating system and computer
CN110780908A (en) Screen display program upgrading method and system and terminal equipment
CN104731626A (en) Application installation method and device
CN103677941A (en) Method and device for upgrading intelligent card operation system module
CN111045686B (en) Method for improving decompilation speed of application, intelligent terminal and storage medium
CN104978204A (en) Application installing and updating method based on mobile terminal and application installing and updating device based on mobile terminal
CN105740025A (en) Bluetooth based firmware program upgrading method and apparatus
CN105335195A (en) Device driver upgrading method and device and electronic device
CN110515671A (en) Initial method, apparatus for initializing, terminal device and readable storage medium storing program for executing
CN105335166A (en) System of embedded device and remote upgrading method of embedded device
CN111400091B (en) Factory setting restoration method, factory setting restoration device and mobile terminal
CN104765631A (en) Restoration method and device for application program of mobile terminal
CN105159673A (en) Method and device for setting control style
CN104639317A (en) System and method for key update of smart card based on app (Application) module
CN103677933A (en) Patching method and system for smart card
CN111142885A (en) eSIM device management method, device, equipment and storage medium
CN113342376B (en) Method and device for upgrading operating system of Internet of things equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant