CN1932758A - Multi-application smart card - Google Patents

Multi-application smart card Download PDF

Info

Publication number
CN1932758A
CN1932758A CN 200610096497 CN200610096497A CN1932758A CN 1932758 A CN1932758 A CN 1932758A CN 200610096497 CN200610096497 CN 200610096497 CN 200610096497 A CN200610096497 A CN 200610096497A CN 1932758 A CN1932758 A CN 1932758A
Authority
CN
China
Prior art keywords
function
smart card
layer
application
storehouse
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.)
Pending
Application number
CN 200610096497
Other languages
Chinese (zh)
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.)
HENGBAO CO Ltd JIANGSU
Original Assignee
HENGBAO CO Ltd JIANGSU
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 HENGBAO CO Ltd JIANGSU filed Critical HENGBAO CO Ltd JIANGSU
Priority to CN 200610096497 priority Critical patent/CN1932758A/en
Publication of CN1932758A publication Critical patent/CN1932758A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

This invention discloses a multi-functional smart card which consists of CMOS chip, micro-processor and memorizer with operating system for the card. There are three layers in the operating system: the Hardware Abstraction Layer, the core software layer and the application layer. Each layer represents a separate subsystem and has several function libraries in it. The chip platform is removable and functional extended.

Description

A kind of multi-application smart card
Technical field
The present invention relates to a kind of smart card that has embedded OS, relate in particular to a kind of smart cards that many application can be arranged.
Background technology
Smart card is exactly the integrated circuit card that has CPU, and it is a kind ofly to have the integrated circuit (IC) chip of microprocessor and mass storage etc. and be flush-mounted in the card of making on the substrates such as plastics.COS (Chip operatingSystem chip operating system) is the core technology of smart card, it is generally tightly developed round the characteristics of its smart card of serving, its major function is to control smart card with extraneous message exchange, and the storer in the management smart card is also blocking the inner processing of finishing various command.
Domestic COS majority still is in a common watchdog routine level at present, depends on hardware too much, and closely merges with concrete application, can't cut apart; Change chip platform, COS just can not use, and must from the beginning develop, so the cost of development of smart card is higher; COS places the ROM district in addition, in case mask is finished, the card function also just is difficult to be modified and upgrade, and is unfavorable for the increase of new application service.
At the problems referred to above, Java card and Multos technology have been proposed in the world, wherein Java card is the most representative technology.Java language is the general development language of computer realm, by Java language is improved, all be that application of IC cards is simplified and optimized from virtual machine (VM), language definition to kernel, some special-purpose smart card instructions have been increased, the Java technology can be applied on the smart card, now become the general-purpose platform of smart card designs gradually.And can make client and application developers break away from dependence to COS by Java card, and once write out, can move everywhere, thereby reduce cost greatly.Can realize the cross-platform operation of using on the Java card technical know-how, can solve because the compatibility issue that each card vendor COS difference is brought, so, a kind of new high-end product that Java card has become overseas enterprise actively to promote.But Java card also exists some shortcomings: at first, the Java card technology is not very ripe at present, and cross-platform application does not solve fully; In addition, present Java card efficient is not very high, and very high to the chip performance requirement, Application and Development is very big to the resource consumption of smart card.
Summary of the invention
The present invention is directed to the cost of development height that present smart card exists, the deficiency that function can not be expanded, can not change, provide a kind of cost of development low, can expanded function and can change the smart card of chip platform, technical scheme of the present invention is as follows:
A kind of multi-application smart card, comprise intelligent card chip, chip is provided with microprocessor and the storer that has smart card operating system, described smart card operating system structure is divided into three layers, bottom is a hardware abstraction layer, and the middle level is the kernel software layer, and top layer is an application layer, each layer all is relatively independent subsystems, requires to be provided with some function libraries according to systemic-function in each layer;
Hardware abstraction layer (HAL---Hardware Abstract Layer) is provided with the function library in close relations with hardware, comprises I/O handling function storehouse, EEPROM/FLASH handling function storehouse and other hardware operation function library; The kernel software layer is provided with and comprises the general purpose function storehouse, file system functions storehouse, the function library of safe operation function library; Application layer is provided with the multiple utility function storehouse of satisfying the different application standard, realizing concrete application, comprising VIS1.4, and M/CHIP4.0, PBOC2, GSM11.11, GSM11.14, UIM/UTK, USIM, the utility function storehouse of tax-controlling card;
Comprise the function name device of realizing various functions in each function library, the function name device is divided into two parts, the centre is connected by underscore, previous section is the title device of this function library, and aft section is the concrete function device, and it is to be provided with according to the concrete function that this function name device is realized;
Comprise also in the smart card operating system that the call function name realizes the device of funcall.
Functional device comprises in the above-mentioned HAL function library: IO apparatus for initializing, byte dispensing device, byte receiving trap, change Baud device, programming write data set, wipe FLASH page device and the FLASH device etc. of directly programming.
Functional device comprises in the above-mentioned file operation function library: by the device of record search recorded data addresses, by pattern obtain recorded data addresses device, search the DF file device, search the EF file device, make current file pointed MF file device, create file device, read data device, data writing device etc.
Functional device comprises in the above-mentioned safe function storehouse: according to the authority byte be provided with the safe condition register device, judge whether authority satisfies the device of safe condition, search the device of KEY record.
The functional unit of finishing a certain class function among the present invention is concentrated in together, forms a function library, realizes an independence, complete function.When carrying out function renewal or expansion, only the function of function in the function library is improved, the title of function remains unchanged, to guarantee that other functions can normally use the functional unit in this function library, reduce the influence of the variation of a functional unit to greatest extent to other functional unit in different layers, the different function library; When the chip platform of smart card changes, only need to revise the functional unit in the function library directly related of part in the hardware abstraction layer with hardware, as I/O etc., the function library of other layering all need not to make any modification; When needs increase new application, because application layer is in the superiors of hierarchy, relevant with hardware, general function is by the hardware abstraction layer realization, therefore, do not need or only need increase a spot of power function, can on same smart card, finish the exploitation of new application.If smart card has been selected different chips for use, only need to rewrite the code relevant, and other each instruction level does not need to revise with chip hardware, because the independence of each instruction level, and the unitarity of function naming method, can reduce the modification amount to greatest extent.
When a kind of smart card need be applied to a plurality of industry, by appropriate combination to smart card operating system application layer function library, perhaps function library relevant in the application layer is carried out suitable selection, and in not needing to change, the function library of lower floor, make COS satisfy a plurality of industry standards simultaneously, smart card can be realized inter-trade application, when for example using SIM card to carry out the mobile phone mobile payment, relevant financial application function library or function and SIM card function can be carried out suitable optimal combination, under the support of background system, realize the mobile payment function of mobile phone.
Compared with prior art, the invention has the beneficial effects as follows: can according in the existing smart card, the low side chip platform, improve by part COS system in the smart card, reach and support multicore sheet platform, the many application aims of realization smart card, thereby save greatly the construction cycle of chip cost, shortening smart card.
Description of drawings
Fig. 1 is a shape assumption diagram of the present invention;
Fig. 2 is the structural representation of COS of the present invention system;
Fig. 3 embodiment of the invention 1 function library Naming conventions figure;
Fig. 4 is device and a pairing title in the embodiment of the invention 1HAL function library;
Fig. 5 is device and a pairing title in the embodiment of the invention 1 file operation function library;
Fig. 6 is device and a pairing title in the embodiment of the invention 1 safe function storehouse;
Fig. 7 is the structural representation of the COS system of the embodiment of the invention 2;
Fig. 8 is SIM utility function storehouse and a pairing title in the embodiment of the invention 2
Fig. 9 is VIS utility function storehouse and a pairing title in the embodiment of the invention 3
Embodiment
Now reaching embodiment in conjunction with the accompanying drawings is described in further detail the present invention.
Embodiment 1
As Fig. 1, a kind of smart card 1 comprises intelligent card chip 2, and chip is provided with microprocessor and the storer that has smart card operating system.
Describe the structure of smart card operating system among Fig. 2 in detail, the layering situation of hardware abstraction layer HAL, kernel software layer COS and application layer in the smart card operating system, and the main functional device that has of each layer, and identified the position of each functional device at different layers.The smart card operating system structure is divided into three layers, and bottom is a hardware abstraction layer, and the middle level is the kernel software layer, and top layer is an application layer, and each layer all is relatively independent subsystems.In each layer, require to be provided with some function libraries according to systemic-function; Hardware abstraction layer (HAL) is provided with the function library in close relations with hardware, comprises I/O handling function storehouse, EEPROM/FLASH handling function storehouse and other hardware operation function library; The kernel software layer is provided with and comprises the general purpose function storehouse, file system functions storehouse, the function library of safe operation function library; Application layer is provided with and comprises VIS1.4, M/CHIP4.0, PBOC2, GSM11.11, GSM11.14, UIM/UTK, USIM, the utility function storehouse of tax-controlling card.
Comprise the function name device of realizing various functions in each function library, the function name device is divided into two parts, the centre is connected by underscore, previous section is the title device of this function library, and aft section is the concrete function device, and it is to be provided with according to the concrete function that this function name device is realized;
The device that also comprises call function title device realization funcall in the smart card operating system.
Fig. 3 has represented function library name device standard figure, to the major function device in the main database, illustrates according to the standard of naming.
Fig. 4 is the HAL function library, major function device and the title that is in the HAL hardware abstraction layer is described, and it comprises that IO apparatus for initializing, byte dispensing device, byte receiving trap, change Baud device, programming write data set, wipe FLASH page device and the FLASH device etc. of directly programming.
Fig. 5 is the file operation function library, is described being in major function device and title COS kernel software layer, that meet the ISO7816 standard: by the device of record search recorded data addresses, by pattern obtain recorded data addresses device, search the DF file device, search the EF file device, make current file pointed MF file device, create file device, read data device, data writing device etc.
Fig. 6 is security function collection of functions figure, and functional device and title in the general safe function storehouse are described: according to the authority byte be provided with the safe condition register device, judge whether authority satisfies the device of safe condition, search the device of KEY record.
Embodiment 2
Present embodiment is the SIM card that smart card is used for mobile phone, when realizing the mobile payment function of mobile phone, and the structure of smart card.
Fig. 7 is the structure of COS, is provided with financial application device and SIM card functional device in application layer.
Fig. 8 is described functional device and the title that meets the SIM card standard: checking KEY device, modification CHV device, deactivation CHV device, the device that sends SMS message, initialization short message list device, selection phone list device, videotex device, acquisition answering device etc.
In the present embodiment relevant financial application device and SIM card functional device are carried out suitable optimal combination, under the support of background system, realize the mobile payment function of mobile phone.
Embodiment 3
In application layer, be provided with, PBOC2 function library and VIS function library, the VIS function library of describing among PBOC2 function library and Fig. 9 is combined, can be realized that smart card supports international VISA standard and China's finance integrated circuit card standard simultaneously, be implemented in internal and international general.
Embodiment 4
In application layer, be provided with PBOC2 function library and VIS function library, on SIM function library basis, increase part of V IS1.4 function, as VIS_InternalAuth (), VIS_ExternalAuthO, safety certification functions such as VIS_GenAC can be realized functions such as Mobile banking, mobile support, and mobile communication and banking are organically combined.
The above embodiment only is one embodiment of the present of invention; the invention is not restricted to the foregoing description; for persons skilled in the art; the any conspicuous change of under the prerequisite that does not deviate from the principle of the invention it being done all belongs to the protection domain of design of the present invention and claims.

Claims (7)

1. multi-application smart card, comprise intelligent card chip, chip is provided with microprocessor and the storer that has smart card operating system, it is characterized in that described smart card operating system structure is divided into three layers, bottom is a hardware abstraction layer, the middle level is the kernel software layer, top layer is an application layer, and each layer all is relatively independent subsystems, requires to be provided with some function libraries according to systemic-function in each layer;
Hardware abstraction layer is provided with the function library in close relations with hardware;
The kernel software layer is provided with and comprises the general purpose function storehouse, file system functions storehouse, the function library of safe operation function library;
Application layer is provided with a plurality of utility functions storehouse of satisfying the different application standard, realizing concrete application;
Comprise the function name device of realizing various functions in each function library, the function name device is divided into two parts, the centre is connected by underscore, previous section is the title device of this function library, and aft section is the concrete function device, and it is to be provided with according to the concrete function that this function name device is realized;
The device that also comprises call function name device realization funcall in the smart card operating system.
2. smart card according to claim 1 is characterized in that, described hardware abstraction layer is provided with I/O handling function storehouse, EEPROM/FLASH handling function storehouse and other hardware operation function library.
3. smart card according to claim 1 is characterized in that, described application layer is provided with IM utility function storehouse, VIS utility function storehouse according to concrete the application.
4. smart card according to claim 1 is characterized in that, described application layer is provided with VIS1.4, M/CHIP4.0, PBOC2, GSM11.11, GSM11.14, UIM/UTK, USIM, tax-controlling card function library according to concrete the application.
5. smart card according to claim 1 is characterized in that, described application layer is provided with PBOC2 function library and VIS1.4 function library according to concrete the application.
6. smart card according to claim 1, it is characterized in that described hardware abstraction layer is provided with IO apparatus for initializing, byte dispensing device, byte receiving trap, change Baud device, programming writes data set, wipes FLASH page device and the FLASH device of directly programming.
7. smart card according to claim 5 is characterized in that, is provided with in the VIS1.4 function library to comprise VIS_InternalAuth (), and VIS_ExternalAuth (), VIS_GenAC is at interior safety certification function.
CN 200610096497 2006-09-28 2006-09-28 Multi-application smart card Pending CN1932758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610096497 CN1932758A (en) 2006-09-28 2006-09-28 Multi-application smart card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610096497 CN1932758A (en) 2006-09-28 2006-09-28 Multi-application smart card

Publications (1)

Publication Number Publication Date
CN1932758A true CN1932758A (en) 2007-03-21

Family

ID=37878605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610096497 Pending CN1932758A (en) 2006-09-28 2006-09-28 Multi-application smart card

Country Status (1)

Country Link
CN (1) CN1932758A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853416A (en) * 2010-06-02 2010-10-06 东信和平智能卡股份有限公司 Physical smart card with virtual smart cards and configuration method of virtual smart card
CN102404449A (en) * 2010-09-14 2012-04-04 Lg电子株式会社 Mobile terminal and method of operating the same, and identify module card
CN101789070B (en) * 2010-01-28 2012-11-21 华为终端有限公司 Intelligent card initialization method and terminal equipment
CN103425461A (en) * 2012-05-14 2013-12-04 研祥智能科技股份有限公司 Programming interface technology implementation method and computer system
CN103605927A (en) * 2013-11-08 2014-02-26 深圳市道通科技有限公司 Encryption and decryption method based on embedded Linux system
CN105550604A (en) * 2015-12-02 2016-05-04 恒宝股份有限公司 Data encapsulation method and device
CN105592007A (en) * 2014-10-23 2016-05-18 广东华大互联网股份有限公司 Level-type smart card public application security authentication system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789070B (en) * 2010-01-28 2012-11-21 华为终端有限公司 Intelligent card initialization method and terminal equipment
CN101853416A (en) * 2010-06-02 2010-10-06 东信和平智能卡股份有限公司 Physical smart card with virtual smart cards and configuration method of virtual smart card
CN101853416B (en) * 2010-06-02 2013-05-29 东信和平科技股份有限公司 Physical smart card with virtual smart cards and configuration method of virtual smart card
CN102404449A (en) * 2010-09-14 2012-04-04 Lg电子株式会社 Mobile terminal and method of operating the same, and identify module card
US8577413B2 (en) 2010-09-14 2013-11-05 Lg Electronics Inc. Mobile terminal and method of operating the same, and identify module card
CN103425461A (en) * 2012-05-14 2013-12-04 研祥智能科技股份有限公司 Programming interface technology implementation method and computer system
CN103425461B (en) * 2012-05-14 2016-10-05 研祥智能科技股份有限公司 A kind of DLL Implementation Technology and computer system
CN103605927A (en) * 2013-11-08 2014-02-26 深圳市道通科技有限公司 Encryption and decryption method based on embedded Linux system
CN105592007A (en) * 2014-10-23 2016-05-18 广东华大互联网股份有限公司 Level-type smart card public application security authentication system
CN105550604A (en) * 2015-12-02 2016-05-04 恒宝股份有限公司 Data encapsulation method and device
CN105550604B (en) * 2015-12-02 2018-07-06 恒宝股份有限公司 A kind of data encapsulation method and device

Similar Documents

Publication Publication Date Title
CN1932758A (en) Multi-application smart card
CN1222875C (en) Object-oriented instruction set for resource-constrained devices
CN1264106C (en) Method for accessing database system uniformly
US20090307292A1 (en) Dynamically changing a garbage collector in a managed runtime system
CN101755271A (en) Method and apparatus for managing access privilege in cldc osgi environment
CN1833225A (en) Methods and systems to control virtual machines
CN101421711A (en) The virtual execution system that is used for resource-constrained devices
CN102609305A (en) Method for sharing internal memory in server cluster
CN102929597A (en) Java-platform-based web service support method and device
CN101510332B (en) Method and apparatus for managing memory space of smart card
CN102073525A (en) Method and device for dynamically upgrading Web service system based on Java platform
CN115543224B (en) ZNS SSD-based file system control method, device and equipment
CN100377086C (en) Method for realizing operating procedure directly from file system in embedded system
CN101706788B (en) Cross-area access method for embedded file system
CN107329836B (en) Multi-system memory management method and device and mobile terminal
US11550714B2 (en) Compiling application with multiple function implementations for garbage collection
CN102567220A (en) Cache access control method and Cache access control device
CN102193804B (en) Loading method of drivers in single board and communication equipment
CN101078992A (en) Intelligent card platform redevelopment method and system
US10936483B2 (en) Hybrid garbage collection
CN1889189A (en) Partition-supporting flash storing memory device
Feng et al. Multiple subpage writing FTL in MLC by exploiting dual mode operations
CN110058859B (en) Method, device, equipment and medium for realizing program running and virtual machine instance
CN103744965A (en) Simple multi-platform intelligent card personalization method
CN103761118A (en) Intelligent card and method for deploying applications in same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication