CN100481006C - Intelligent card platform redevelopment method and system - Google Patents

Intelligent card platform redevelopment method and system Download PDF

Info

Publication number
CN100481006C
CN100481006C CNB2007101184924A CN200710118492A CN100481006C CN 100481006 C CN100481006 C CN 100481006C CN B2007101184924 A CNB2007101184924 A CN B2007101184924A CN 200710118492 A CN200710118492 A CN 200710118492A CN 100481006 C CN100481006 C CN 100481006C
Authority
CN
China
Prior art keywords
application code
smart card
file
compiling
code
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.)
Active
Application number
CNB2007101184924A
Other languages
Chinese (zh)
Other versions
CN101078992A (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.)
Datang Microelectronics Technology Co Ltd
Original Assignee
Datang Microelectronics Technology 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 Datang Microelectronics Technology Co Ltd filed Critical Datang Microelectronics Technology Co Ltd
Priority to CNB2007101184924A priority Critical patent/CN100481006C/en
Publication of CN101078992A publication Critical patent/CN101078992A/en
Application granted granted Critical
Publication of CN100481006C publication Critical patent/CN100481006C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a redeveloping method of smart card flatform, which is characterized by the following: translating and editing executive system code; connecting; generating binary mode file; loading down to smart card; and providing down load order and down load position information of the application code; translating and editing the application code; connecting and generating the binary mode file; basing the down load order; loading down to the down load position of the smart card; registering the entry address information of the application code in the operating system. This invention also discloses a redeveloping system of the smart card flatform. This invention meets the needs of mutually non-public the code of the developing two parts.

Description

A kind of redevelopment method of smart card platform and system
Technical field
The present invention relates to field of intelligent cards, particularly relate to a kind of redevelopment method and system of smart card platform.
Background technology
The popularization and application of smart card brings many facilities to daily life.For example, when people take the public transport automobile, only need on card reader, to brush mass transit card, save the inconvenience of preparing change in advance; When buying big ticket item, only need on the POS of businessman machine, to brush bank card, avoid carrying the inconvenience of wholesale debt; When entering the place that needs authenticating identity, only need on card reader, to brush ID (identity number) card, save the loaded down with trivial details of examination identity.But often a kind of smart card only has a certain function, and this just needs the user to carry many ID (identity number) card, to tackle different application.
Use for further facilitating people, need carry out opening again, multiple application function is integrated on a certain smart card the smart card platform.
Consult Fig. 1, be the redevelopment method process flow diagram of existing smart card platform, concrete steps are as described below.
Step S101, at the different application code of different application function exploitation.
As, at the subway application of swiping the card, exploitation meets the application code of subway service regeulations.
Step S102, embedded OS code and application code compiled to be connected together generate binary file.
Embedded OS with source code or static library form in the smart card is compiled connection with above-mentioned application code, the binary file that generates is downloaded in the chip of smart card.
In the development approach once more of above-mentioned smart card platform, embedded OS and application code are full disclosures.If the redevelopment work of smart card platform is finished by two sides cooperation, one side provides smart card hardware, reaches embedded OS, the opposing party is at application function Application and Development code, embedded OS and application code all are the core technology of the two sides concerned, need hold in close confidence, at this moment embedded OS and application code bring influence openly can for the security of the two sides concerned.Sino-foreign cooperation project particularly, many times the code that provides of the two sides concerned must guarantee undergroundly mutually, obviously, the development approach once more of existing smart card platform can't meet the demands.
Summary of the invention
Technical matters to be solved by this invention provides a kind of redevelopment method of smart card platform, and this method need not disclose embedded OS and application code on stream, satisfies the mutual covert requirement of code that the cooperative development both sides provide.
Another object of the present invention provides a kind of redevelopment system of smart card platform, and this system need not disclose embedded OS and application code on stream, satisfies the mutual covert requirement of code that the cooperative development both sides provide.
The present invention discloses a kind of redevelopment method of smart card platform, comprising: cooperation one side connects the generation binary file with operating system compiling, downloads in the smart card, and provides the download instruction of application code and download location information to cooperation the opposing party; Cooperation the opposing party connects the generation binary file with the application code compiling, according to above-mentioned download instruction it is downloaded to the above-mentioned download location of smart card; Cooperation the opposing party registers the entry address information of described application code in described operating system.
Preferably, the entry address information of the described application code of registration in the register-file that described operating system is created.
Preferably, also comprise: the trigger condition information of the described application code of registration in described register-file.
Preferably, also comprise: the initialization information of the described application code of registration in described register-file.
Preferably, provide the download location information of application code to comprise: the stored position information of application code to be provided, and to reserve independently RAM storage space for application code.
Preferably, described operating system code is stored in the smart card with the ROM form.
The present invention also discloses a kind of redevelopment system of smart card platform, the first compiling linkage unit, second compiles linkage unit, reaches registering unit: the described first compiling linkage unit, be used for instruction according to cooperation one side, the operating system compiling is connected the generation binary file, download in the smart card, and transmit the download instruction and download location information to the second compiling linkage unit of application code; The described second compiling linkage unit is used for cooperating according to other a side instruction, the application code compiling is connected generate binary file, according to above-mentioned download instruction it is downloaded to the above-mentioned download location of smart card; Registering unit is used for cooperating according to other a side instruction, the entry address information of the described application code of registration in described operating system.
Preferably, the entry address information of described registering unit described application code of registration in the register-file that described operating system is created.
Preferably, described registering unit is registered the trigger condition information of described application code in described register-file.
Preferably, described registering unit is registered the initialization information of described application code in described register-file.
Compared with prior art, the present invention has the following advantages:
Cooperation one of the present invention can connect operating system compiling and generates binary file, downloads in the smart card, and provides the download instruction of application code and download location to cooperation the opposing party; Cooperation the opposing party connects the generation binary file with the application code compiling, according to above-mentioned download instruction it is downloaded to the above-mentioned download location of smart card, register the entry address information of described application code in described operating system, finish exploitation once more the smart card platform.
The present invention realizes that operating system and application code separate compiling, download, in the cooperative development project, cooperation one side downloads to smart card with operating system earlier, only need offer the download instruction and the download location of cooperation the opposing party application code, by cooperation the opposing party application code is compiled connection again and generate binary file, download in the smart card.Connect the generation binary file with respect to of the prior art operating system is compiled with application code, download in the smart card, the present invention makes cooperative development underground on stream embedded OS of both sides and application code, satisfies the mutual covert requirement of code that the cooperative development both sides provide.
Description of drawings
Fig. 1 is the redevelopment method process flow diagram of existing smart card platform;
The redevelopment method process flow diagram of the smart card platform that Fig. 2 provides for first embodiment of the invention;
The redevelopment method process flow diagram of the smart card platform that Fig. 3 provides for second embodiment of the invention;
The redevelopment system schematic of the smart card platform that Fig. 4 provides for third embodiment of the invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Cooperation one of the present invention can connect operating system code compiling and generates binary file, downloads in the smart card, and provides the download instruction of application code and download location to cooperation the opposing party; Cooperation the opposing party connects the generation binary file with the application code compiling, according to above-mentioned download instruction it is downloaded to the above-mentioned download location of smart card, register the entry address information of described application code in described operating system, finish exploitation once more the smart card platform.
With reference to Fig. 2, the redevelopment method process flow diagram of the smart card platform that provides for first embodiment of the invention, concrete steps are as described below.
Step S201, operating system code compiling connected generate binary file, download in the smart card.
Earlier compiler is disposed accordingly, the compiling of being finished embedded OS by compiler automatically connects, and the binary file that generates is downloaded in the chip of smart card again.
When embedded OS connects in compiling, generate a symbol table file.Internally collaborative project can offer cooperation in development side with above-mentioned symbol table file, is used for partner and resolves the symbolic reference that exploitation is used, and resolving is finished automatically by compiler.Sino-foreign cooperation project does not provide symbol table file, guarantees that operating system is secret to exploitation partner.
Step S202, the download instruction that application code is provided and download location information are to cooperation the opposing party.
According to the distribution operating position of intelligent card chip hardware resource, embedded OS distributes storage space in threaded file, is the application code reserved storage space, reserves independently ram space for application code simultaneously.Embedded OS also provides download instruction for application code.
Step S203, application code compiling connected generate binary file, it is downloaded to download location on the smart card according to download instruction.
The cooperative development policy compiles application code separately the binary file that connects generation again to the different different application codes of application function exploitation, utilizes card reader and download instruction application code to be downloaded to the download location of intelligent card chip with form of scripts.
Step S204, in the entry address information of operating system registered application code.
Application code is that the form with application module exists in intelligent card chip, and the entry address information of each application module needs according to the rules that form is registered in the operating system, is convenient to each application module of operating system management.
The present invention realizes that operating system and application code separate compiling, download, in the cooperative development project, cooperation one side downloads to smart card with operating system earlier, only need offer the download instruction and the download location of cooperation the opposing party application code, by cooperation the opposing party application code is compiled connection again and generate binary file, download in the smart card.The present invention makes cooperative development underground on stream embedded OS of both sides and application code, satisfies the mutual covert requirement of code that the cooperative development both sides propose.
Now with integrated public transport on smart card swipe the card, subway is swiped the card, the gate inhibition swipes the card etc., and application function is an example, describes the redevelopment method of smart card platform of the present invention in detail.
With reference to Fig. 3, the redevelopment method process flow diagram of the smart card platform that provides for second embodiment of the invention, concrete steps are as described below.
Step S301, operating system code compiling connected generate binary file, download in the smart card.
Earlier compiler is disposed accordingly, the compiling of being finished embedded OS by compiler automatically connects, and the binary file that generates is downloaded in the chip of smart card again.
Step S302, the download instruction that application code is provided and download location information are to cooperation the opposing party.
According to the distribution operating position of intelligent card chip hardware resource, embedded OS to the distributing of storage space, is the application code reserved storage space in threaded file, reserve independently ram space for application code simultaneously.Embedded OS provides download instruction for application code.
Step S303, at the different application code of different application function exploitation.
Develop different application codes respectively at public transport function of swiping card, subway function of swiping card, gate inhibition's function of swiping card.
Step S304, the compiling of above-mentioned application code connected generate binary file, it is downloaded to download location on the smart card according to download instruction.
Cooperative development side compiles application code separately and connects the binary file that generates, and utilizes card reader and download instruction application code to be downloaded to the download location of intelligent card chip with form of scripts.
Step S305, in the register-file that described operating system is created the entry address information and the trigger condition information of registered application code.
Application code is that the form with application module exists in intelligent card chip, and the entry address information of each application module and trigger condition information form according to the rules are registered in the operating system.This register-file is linear fixed-length record file, the full detail of an application module of all corresponding record of every record wherein.The interpolation of application module, deletion all are to finish by the operation to this register-file.
Application module can select to use oneself independently data space, also can share the file system of embedded OS.Application module does not have oneself independently stack space, when using, uses the stack space of embedded OS.
When starting, need carry out some initialization operations as application module in advance, for example need some global variable initialize, then need be in the register-file of operating system the entry address information of register initial code, before carrying out application code, carry out this part setup code of its correspondence earlier.For saving the chip area of smart card, the form of operating system code with ROM can be stored in the intelligent card chip.
Redevelopment method based on above-mentioned smart card platform, the present invention also provides a kind of redevelopment system of smart card platform, this system need not disclose embedded OS and application code on stream, satisfies the mutual covert requirement of code that the cooperative development both sides propose.
Consult Fig. 4, the redevelopment system schematic of the smart card platform that provides for third embodiment of the invention comprises the first compiling linkage unit 41, the second compiling linkage unit 42, and registering unit 43.
The first compiling linkage unit 41 connects the generation binary file with the operating system code compiling, downloads in the smart card, and transmits the download instruction and download location information to the second compiling linkage unit 42 of application code.
The first compiling linkage unit 41 comprises compiler, and by compiler is disposed accordingly, the compiling of being finished embedded OS by compiler automatically connects, and the binary file that generates is downloaded in the chip of smart card again.
The second compiling linkage unit 42 connects the generation binary file with the application code compiling, according to above-mentioned download instruction it is downloaded to the above-mentioned download location of smart card.
Registering unit 43 is in the entry address information of operating system registered application code.
Application code is that the form with application module exists in intelligent card chip, registering unit 43 with the entry address information of each application module according to the rules form be registered in the operating system, be convenient to each application module of operating system management.
The entry address information of registering unit 43 registered application module in the register-file that operating system is created.As required, the trigger condition information and the initialization information of registering unit 43 registered application module in the register-file that operating system is created.Register-file is linear fixed-length record file, the full detail of an application module of all corresponding record of every record wherein.The interpolation of application module, deletion all are to finish by the operation to this register-file.
More than the redevelopment method and the system of a kind of smart card platform provided by the present invention is described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1, a kind of redevelopment method of smart card platform is characterized in that, comprising:
Cooperation one side connects the generation binary file with operating system code compiling, downloads in the smart card, and provides the download instruction of application code and download location information to cooperation the opposing party;
Cooperation the opposing party connects the generation binary file with the application code compiling, according to above-mentioned download instruction it is downloaded to the above-mentioned download location of smart card;
Cooperation the opposing party registers the entry address information of described application code in described operating system.
2, the method for claim 1 is characterized in that, the entry address information of the described application code of registration in the register-file that described operating system is created.
3, method as claimed in claim 2 is characterized in that, also comprises:
The trigger condition information of the described application code of registration in described register-file.
4, method as claimed in claim 2 is characterized in that, also comprises:
The initialization information of the described application code of registration in described register-file.
5, the method for claim 1 is characterized in that, provides the download location information of application code to comprise: the stored position information of application code is provided, and reserves independently RAM storage space for application code.
6, the method for claim 1 is characterized in that, described operating system code is stored in the smart card with the ROM form.
7, a kind of redevelopment system of smart card platform is characterized in that, the first compiling linkage unit, second compiles linkage unit, reaches registering unit:
The described first compiling linkage unit is used for the instruction according to cooperation one side, the operating system code compiling is connected generate binary file, downloads in the smart card, and transmits the download instruction and download location information to the second compiling linkage unit of application code;
The described second compiling linkage unit is used for cooperating according to other a side instruction, the application code compiling is connected generate binary file, according to above-mentioned download instruction it is downloaded to the above-mentioned download location of smart card;
Registering unit is used for cooperating according to other a side instruction, the entry address information of the described application code of registration in described operating system.
8, system as claimed in claim 7 is characterized in that, the entry address information of described registering unit described application code of registration in the register-file that described operating system is created.
9, system as claimed in claim 7 is characterized in that, described registering unit is registered the trigger condition information of described application code in described register-file.
10, system as claimed in claim 7 is characterized in that, described registering unit is registered the initialization information of described application code in described register-file.
CNB2007101184924A 2007-07-06 2007-07-06 Intelligent card platform redevelopment method and system Active CN100481006C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007101184924A CN100481006C (en) 2007-07-06 2007-07-06 Intelligent card platform redevelopment method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101184924A CN100481006C (en) 2007-07-06 2007-07-06 Intelligent card platform redevelopment method and system

Publications (2)

Publication Number Publication Date
CN101078992A CN101078992A (en) 2007-11-28
CN100481006C true CN100481006C (en) 2009-04-22

Family

ID=38906478

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101184924A Active CN100481006C (en) 2007-07-06 2007-07-06 Intelligent card platform redevelopment method and system

Country Status (1)

Country Link
CN (1) CN100481006C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751258B (en) * 2009-12-30 2013-06-26 大唐微电子技术有限公司 Intelligent card and developing method, system and deployment method for intelligent card application
CN102064944B (en) * 2010-11-30 2013-01-09 飞天诚信科技股份有限公司 Safety card issuing method as well as card issuing equipment and system
CN101984449B (en) * 2010-11-30 2013-01-02 公安部第三研究所 Smart card COS operating system
CN104346298B (en) * 2013-08-06 2018-12-25 北京数码视讯软件技术发展有限公司 Data processing method, device and smart card based on smart card
CN108614696B (en) * 2016-12-08 2021-10-29 腾讯科技(深圳)有限公司 Application making method, static library generation method and device
CN108989737B (en) * 2017-07-18 2020-03-20 视联动力信息技术股份有限公司 Data playing method and device and electronic equipment

Also Published As

Publication number Publication date
CN101078992A (en) 2007-11-28

Similar Documents

Publication Publication Date Title
CN100481006C (en) Intelligent card platform redevelopment method and system
KR100329063B1 (en) Using a high level programming language with a microcontroller
CN100476721C (en) Methods and apparatus to provide a modular native method invocation system, and system thereof
CN103970563B (en) The method of dynamic load Android class
CN106250124B (en) Method and device for realizing cross-platform operation of functional modules
MX2010014374A (en) Method of accessing applications in a secure mobile environment.
WO2001025917A3 (en) Environment service architectures for netcentric computing systems
CN101755271A (en) Method and apparatus for managing access privilege in cldc osgi environment
CN101866463A (en) eNFC terminal, eNFC intelligent card and communication method thereof
CN103092645B (en) A kind of geospatial information application system based on Microkernel and its implementation
CN109313545B (en) Resource-limited Java card device
CN106201747B (en) Method for accessing intelligent password equipment under limited user of WINDOWS system
US7182250B2 (en) Computing device with an embedded microprocessor or micro-controller
CN111984263A (en) Method, device, equipment and medium for running second system application on first system
CN112491885A (en) Electronic certificate transmission method, device and equipment
Husemann Standards in the smart card world
CN110888674B (en) Method and device for executing security calculation in Python virtual machine
CN102129385A (en) Management method capable of dynamically expanding management function of virtual machine
CN101739589A (en) Method and device for generating intelligent card data
CN106127092A (en) The smart card of a kind of COS system application stripping and method of work thereof
CN102170428A (en) Dynamic expansion management method of isomerous virtual machine platform
CN101441568A (en) Smart card and operating system developing method thereof
CN112579183A (en) Industry IC card reading and writing method, electronic equipment and storage medium
CN108664327A (en) A kind of system architecture of Java+Native applications
CN104463674A (en) Application processing method and system of integrated circuit card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20071128

Assignee: Beijing Datang Smart Card Co., Ltd.

Assignor: Datang Microelectronics Technology Co., Ltd.

Contract record no.: 2016110000008

Denomination of invention: Intelligent card platform redevelopment method and system

Granted publication date: 20090422

License type: Common License

Record date: 20160422

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model