CN1407477A - Universal high speed IC card issuing apparatus and method - Google Patents

Universal high speed IC card issuing apparatus and method Download PDF

Info

Publication number
CN1407477A
CN1407477A CN 01126689 CN01126689A CN1407477A CN 1407477 A CN1407477 A CN 1407477A CN 01126689 CN01126689 CN 01126689 CN 01126689 A CN01126689 A CN 01126689A CN 1407477 A CN1407477 A CN 1407477A
Authority
CN
China
Prior art keywords
smart card
hair fastener
instruction
data
module
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
CN 01126689
Other languages
Chinese (zh)
Other versions
CN1255744C (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 01126689 priority Critical patent/CN1255744C/en
Publication of CN1407477A publication Critical patent/CN1407477A/en
Application granted granted Critical
Publication of CN1255744C publication Critical patent/CN1255744C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

A universal IC card issuing apparatus and method consists of a central issue control system, a communication module between background and foreground, and IC card personalizing controller, a pin managing controller and an IC card personalizing database. It also includes a language compiler and a commander interpreter. The commandar interpreter receives command data, IC card personalizing data and pin data, controlling the procedure of IC card personalization. This invention is carried out by PC computer and its basic technology is packed in a universal interpreting platform.

Description

Universal high speed IC card and hair fastener method thereof
Technical field
The present invention relates to a kind of universal high speed IC card and hair fastener method thereof.
Technical background
Smart card has obtained using widely in a lot of fields at present, as traffic, tax control, oiling, campus, gate inhibition etc., because the smart card circulation in these fields is little, therefore its distribution is basic adopts manual mode directly to finish on PC, and application software hair fastener on PC of various special uses is provided by smart card vendor again.But at telecommunications and the bank field, smart card circulation is very big, can not rely on manual mode to finish the distribution of smart card in this case, and will lean on special-purpose large-scale card sender as the hair fastener hardware platform.The structure of existing large-scale card sender as shown in Figure 1, it is made of modules such as center hair fastener control system, AM/BAM communication module, smart card personalization controller, key management controller and smart card personalization databases.Wherein, hair fastener control system in center is responsible for selecting the hair fastener application program, the card sender parameter is set, the intelligent card data stream format is set, the card pattern is set, is read the smart card personalization database and control smart card and issue on card sender; The AM/BAM communication module is responsible at center hair fastener control system and hair fastener inter-machine communication to transmit the data stream of specified format; The smart card personalization controller is according to smart card personalization data and the key plain personalization data smart card that provides from the key management controller; Key management controller security strategy is in accordance with regulations preserved key data and is provided key data to the smart card personalization controller, implements the secure access and the control strategy of smart card.There is a vertical application to reside in the internal memory in smart card personalization controller and the key management controller respectively and implements its control function.
Hair fastener flow process under this technical scheme is roughly as follows: the publisher specifies the concrete intelligence card business of distribution, and be new business based on the vertical application in individualized controller of above-mentioned hardware platform developing intellectual resource card and the key management controller, the application program that designs is kept under certain catalogue of center hair fastener control system; Startup center hair fastener control system, center hair fastener control system specified application also downloads to application program in smart card personalization controller and the key management controller; After having formulated the hair fastener task, in smart card personalization controller and key management controller, place blank smart card and key card respectively, start card sender and carry out the hair fastener task; Center hair fastener control system passes in the smart card personalization controller under the reading of data from the smart card personalization database of appointment, the operation of scheduling card sender under personal data drives.
But the shortcoming of this technical scheme is clearly, promptly has the limitation of industry and the limitation of application-specific, can't solve the several technological difficulties that run in application of IC cards:
1, there is very big difference in various application of IC cards standards:
Application of IC cards is in different industries, and therefore, the application of IC cards standard of different industries differs widely, and application standard has nothing in common with each other to the regulation of command format, instruction set, transaction flow, algorithm.
2, there is very big difference in chip operating system and the instruction set that is applied on the smart card
The smart card difference that the publisher adopts, operating system on the smart card is also different, only just there is Shang Shijia that various chip operating systems are provided at home, the file system of every kind of chip operating system, security strategy, individualized instruction set have nothing in common with each other, and existing card sending system can not shield this different othernesses of bringing because of operating system and instruction set.
3, the difference of the encryption method of intelligent card chip operating system employing
The special chip operating system of various industries adopts different encryptions according to the application standard regulation, as commonly used various open or other non-public encryption methods such as DES, Triple DES, IDEA, RSA, MD5 etc. etc. are arranged, existing card sending system can't solve the application of multiple encryption method.
4, implement the difference of the key management system of security strategy
The key management system that different manufacturers provides has very big difference, the mechanism that different key management systems provides different keys to generate, disperse, preserve, distribute, and therefore, the key management system disunity brings complicacy for the design card sending system.
Because the smart card personalization demand of different application of IC cards systems is inconsistent, so in general, for different applications of IC cards, write different hair fastener software, controls large-scale card sender hair fastener.But because the development environment of various large-scale card senders is complicated, develops a kind of application software for each new business and seem very clumsy, cost of development is also high, and this development mode has significant limitation.
Summary of the invention
A kind of general high speed that the objective of the invention is to provide for the method that overcomes existing distribution smart card is issued smart machine card and method thereof, the present invention shields various application standards difference and the different differences brought with key management system of various smart card instruction set in the hair fastener process, but give the general hair fastener platform that various hair fasteners are used provides a secondary development, by the present invention, the design of the control flow of hair fastener business is brought up to design level from the card sender bottom, simplified performance history, shorten the construction cycle, have the good extendability of the multiple smart card of distribution.
To achieve these goals, the technical solution used in the present invention is, a kind of universal high speed IC card comprises: center hair fastener control system, AM/BAM communication module, smart card personalization controller, key management controller and smart card personalization database; Wherein, hair fastener control system in center is responsible for selecting the hair fastener application program, the card sender parameter is set, the intelligent card data stream format is set, the card pattern is set, is read the smart card personalization database and control smart card and issue on card sender; The AM/BAM communication module is responsible at center hair fastener control system and hair fastener inter-machine communication to transmit the data of specified format; The smart card personalization controller is according to smart card personalization data and the key plain personalization data smart card that provides from the key management controller; Key management controller security strategy is in accordance with regulations preserved key data and is provided key data to the smart card personalization controller, implements the secure access and the control strategy of smart card; There is a vertical application to reside in the internal memory in smart card personalization controller and the key management controller respectively and implements its control function; Be characterized in: also comprise CompilerTools and instruction interpretation device; Described CompilerTools is used for compiling by the requirement of language specification unit to the user, output hair fastener command file; Described instruction interpretation device is accepted the key plain data of director data and the smart card personalization data and the key management controller of center hair fastener control system, the individualized implementation of control smart card.
Above-mentioned universal high speed IC card, wherein, described CompilerTools comprises lexical analyzer, syntax analyzer and instruction code maker, is linked in sequence; Also comprise a linguistic norm unit and an instruction specification unit; The input of CompilerTools is the hair fastener file of writing according to the linguistic norm unit, is output as the instruction stream data of instruction specification unit specified format.
Above-mentioned universal high speed IC card, wherein, described instruction interpretation device comprises instruction interpretation module and intelligent card interface module, is linked in sequence; Also comprise an instruction specification unit, the input end of and instruction explanation module connects; Described instruction interpretation module receives instruction stream data and the smart card personalization data from center hair fastener control system, and the request key management module provides corresponding key plain data, explain and execution command stream according to the instruction specification unit, and transmit complete and transparent bitstream data to the intelligent card interface module; Described intelligent card interface module receives the bitstream data from the instruction interpretation module, sends order data and returns execution result to smart card by interface.
A kind of smart card universal high speed hair fastener method is characterized in, may further comprise the steps:
A, at first, the publisher make sures according to concrete smart card industry and writes the hair fastener file with linguistic norm of the present invention unit, and this document is that smart card is carried out personalized control flow file, and different smart card business is write different hair fastener files with needs;
B, the hair fastener file is compiled, generate binary instruction stream data file, and the instruction stream data file is submitted to center hair fastener control system;
C, the instruction interpretation device and the encrypting module compiling that needs dynamically to import connect into new executable file;
D, center hair fastener control system are formulated the hair fastener task, and designated order interpreter application program also downloads to the smart card personalization controller; Center hair fastener control system reads smart card personalization information from the smart card personalization database, instruction stream data and smart card personalization data are downloaded in the instruction interpretation device together;
E, under the smart card personalization data-driven, the distribution of smart card is finished in the execution of instruction interpretation device request key data control smart card personalization.
Above-mentioned smart card universal high speed hair fastener method, wherein, the method for the dynamic importing encrypting module described in the step c is by the interface function accessing points in the linguistic norm unit, to provide the unified interface of the various encrypting modules of visit; Provide the function declaration of the unified concrete encrypting module that calls by the instruction interpretation device, when actual hair fastener, the encrypting module of instruction interpretation device and appointment is recompilated into executable file.
Above-mentioned smart card universal high speed hair fastener method, wherein, the method for the dynamic importing encrypting module described in the step c may further comprise the steps:
1) interface function that calls the visit encrypting module that the linguistic norm unit provides is write the hair fastener file, and utilize the other Languages function of linguistic norm unit, write processes such as the dispersion of the flow process of various regulations such as digital signature, session encryption, key and distribution based on the interface function of encrypting module;
2) comprise the definition of encrypting module interface function and the hair fastener instruction stream data file of the instruction specification unit specified format of the subroutine of writing based on the encrypting module interface function through CompilerTools compiling output;
3) provide the file destination of specifying encrypting module, the and instruction interpreter compiles together to connect and generates new executable file;
4) hair fastener instruction stream file is finished encryption function by the realization of encrypting module in the instruction calls instruction interpretation device of encrypting module interface function.
Above-mentioned smart card universal high speed hair fastener method, wherein, the described instruction interpretation device of steps d adopts following interpretation process according to the coding characteristic of instruction specification unit:
1) the instruction interpretation module is from status word set district reading state word and be kept at the local internal memory;
2) from interface variables definition fetch interface variable list, and the smart card personalization data map on interface variables;
3) read the temporary variable tabulation from the temporary variable definition, distribute the variable buffer zone and set up the mapping of variable to buffer zone;
4) read the hair fastener statement, if control flow statement, according to statement identifier, read follow-up controlled condition and statement sequence after, transfer to the control corresponding entity and carry out;
5), transfer to corresponding statement entity according to statement identifier and carry out computing, and saving result is in the rreturn value variable if arithmetic statement reads follow-up parameter list;
6) if the smartcard command function, the instruction interpretation module is delivered to the intelligent card interface module to the bit stream of the function parameter of this function statement tabulation representative, and wait intelligent card interface module is returned the result of execution, be kept in the rreturn value variable, this return results is compared with each field in the status word set, if there is one to meet, continue execution command stream, otherwise to the System Reports error report and stop the hair fastener flow process.
Because the present invention has adopted above-mentioned technical scheme, thereby formed an independently telescopic general hair fastener platform, the present invention the concrete ins and outs of smart card distribution after abstract, being put into the design of PC end finishes, and lower floor's technology is packaged into a general interpretation platform, thereby the performance history that makes hair fastener has avoided directly facing the development environment of the card sender of different complexity, make the development difficulty of hair fastener reduce, construction cycle shortens, be easy to debugging and maintenance, can develop various new smart card business easily by the present invention.
Description of drawings
The present invention is further illustrated below in conjunction with accompanying drawing.
Fig. 1 is the prior art system structure diagram.
Fig. 2 is a system architecture sketch of the present invention.
Fig. 3 is a data flowchart of the present invention.
Fig. 4 is the functional structure chart of CompilerTools of the present invention.
Fig. 5 is the composition structural drawing of linguistic norm of the present invention unit.
Fig. 6 is that the present invention instructs the coding structure figure of specification unit.
Fig. 7 is the functional structure chart of instruction interpretation device of the present invention.
Fig. 8 is the synoptic diagram that the present invention dynamically imports the method for encrypting module.
Fig. 9 is the specific embodiments of the invention structural drawing.
Embodiment
See also shown in Figure 2ly, a kind of general smart card card sender comprises: modules such as center hair fastener control system 1, AM/BAM communication module 2, smart card personalization controller 3, key management controller 4 and smart card personalization database 5 constitute.Wherein, hair fastener control system in center is responsible for selecting the hair fastener application program, the card sender parameter is set, the IC-card data stream format is set, the card pattern is set, is read the smart card personalization database and control smart card and issue on card sender; The AM/BAM communication module is responsible at center hair fastener control system and hair fastener inter-machine communication to transmit the data of specified format; The smart card personalization controller is according to smart card personalization data and the key plain personalization data smart card that provides from the key management controller; Key management controller security strategy is in accordance with regulations preserved key data and is provided key data to the smart card personalization controller, implements the secure access and the control strategy of smart card.There is a vertical application to reside in the internal memory in smart card personalization controller and the key management controller respectively and implements its control function.Also comprise CompilerTools 6 and instruction interpretation device 7; Described CompilerTools is used for the user is compiled by the requirement of language specification unit, output hair fastener command file; Described instruction interpretation device is accepted the key plain data of director data and the smart card personalization data and the key management controller of center hair fastener control system, the individualized implementation of control smart card.
As shown in Figure 3, under the situation that adopts the present invention program, the hair fastener flow process will be different from the hair fastener flow process under prior art.
At first, the publisher uses linguistic norm of the present invention unit to write the hair fastener file according to concrete smart card business, and this document is that smart card is carried out personalized control flow file, and different smart card business is write different hair fastener files with needs; Then, the hair fastener file is compiled, generate binary instruction stream data file, and the instruction stream data file is submitted to center hair fastener control system; Center hair fastener control system is formulated the hair fastener task, and designated order interpreter application program also downloads to the smart card personalization controller; Center hair fastener control system reads smart card personalization information from the smart card personalization database, instruction stream data and smart card personalization data are downloaded in the instruction interpretation device together; Under the smart card personalization data-driven, instruction interpretation device request key data is controlled the execution of smart card personalization and is finished the making of smart card.
The structure of CompilerTools of the present invention as shown in Figure 4, CompilerTools 6 is made up of lexical analyzer 61, syntax analyzer 62 and instruction code maker 63.
Owing to following reason: 1, the requirement of all kinds of smart cards is different, and therefore form and the coding to the smart card transferring command is inconsistent; 2, because the encrypting module difference of various smart card operating systems must be supported different encrypting modules in the instruction interpretation device; 3, because key management module is just finished the function that various key plain data are provided to the instruction interpretation device, therefore, need to define interface between the two, define function separately, could shield the difference that the difference of key management system is brought; For this reason, the present invention has also introduced linguistic norm unit 64 and instruction specification unit 65 in CompilerTools.
The input of CompilerTools is the hair fastener file of writing according to the linguistic norm unit, is output as the instruction stream data of instruction specification unit specified format.
Smart card linguistic norm of the present invention unit 64 provides a command functions, this function transparent to the transferring command data, and the implication of the form of decryption and order not; In the language design, the encipher interface function is set, does not specifically indicate encrypting module, promptly the definition of encryption function and realization are separated, the mechanism that imports encrypting module flexibly is provided; Function call to key management module application key is provided in the design of linguistic norm unit, and this calls the interface interchange relation that defines of following.
As shown in Figure 5, the linguistic norm unit is made of four parts:
The set of receptive phase word;
Figure A0112668900112
Interface variables;
Figure A0112668900113
Temporary variable;
The hair fastener statement.
Receptive phase word sets definition the status word set the time returned of smartcard command success; Temporary variable is for strengthening a kind of intermediate variable that language operation function and expression provide, and is defined by the user and quote; Interface variables is to be used for the smart card personalization data message that saved system imports into, the define method of interface variables and temporary variable is the same, but temporary variable can not be accepted the smart card personalization data that system sends, and interface variables can not be changed or assignment again.
The hair fastener statement constitutes by five types:
Figure A0112668900115
Formula is expressed in arithmetical operation;
The logic determines expression formula;
Figure A0112668900117
Assignment statement expression;
The loop statement expression formula;
Figure A0112668900119
The function statement expression formula.
Arithmetical operation expression formula provides " add "; " subtract "; " take advantage of "; " remove " wait four kinds of numerical operation functions; make language support computing function, be used for supporting the calculating of loop variable of loop statement expression formula and the mathematical operation function (on the basis of basic encryption and decryption function) in the use language compilation encryption method; Judge the judgement selection function of statement expression formula supporting language; Assignment statement expression provides the function of variable assignments, and the right of assignment statement expression may be complicated enable statement or variable or constant etc., and the left side is a temporary variable; The loop statement expression formula provides the loop computation function, and main purpose is the length of simplifying code, reduces the size of the binary command file of translation.Also has a kind of statement that can not independently become expression formula, it is enable statement, support any cascade of constant and variable, mainly be used in the expression of parameter of the right of assignment statement and function statement that this statement is to design according to the characteristics of smartcard command by a string bit stream;
The function statement expression formula is divided into three types again:
Figure A0112668900121
Basic function
The smartcard command function
Interface function
Basic function is the embedded function that basic operational functions is provided in the language, basic calculation function is provided can for the other parts of language, the method that basic function provides is: smart card resets, position XOR, position with, the position is non-, XOR is sued for peace, get function such as substring; The smartcard command function is a unique function that sends order data to smart card in the language, what this function energy was transparent sends order data to smart card, and the other parts function of basic function or language such as interface function or arithmetic expression is used in the generation of order data; Interface function provides the interface definition that imports encrypting module.
As shown in Figure 6, described instruction specification unit has following characteristics:
1) structure of the file structure of instruction stream data and hair fastener file is shone upon one by one, has identical topology layout, promptly is made of four sections:
File structure=[status word set district] [interface variables definition] [temporary variable definition] hair fastener statement district.
2) definition of variable adopts variable coding and length two parts to constitute, and variable reference directly uses the variable coding to obtain the data of variable.
3) control flow statement comprises loop statement expression formula and logic determines expression formula, and the coding of these two kinds of expression formulas has following similar coding structure:
Statement identifier The statement length overall Controlled condition The statement tabulation
4) arithmetic statement comprises assignment statement expression, function statement expression formula, arithmetical operation expression formula, and these three kinds of expression formulas have similar coding structure:
Statement identifier The statement length overall Rreturn value Parameter list
The structure of instruction interpretation device of the present invention as shown in Figure 7, instruction interpretation device 7 is made up of instruction interpretation module 71 and intelligent card interface module 72, also comprise the instruction specification unit 73.The instruction interpretation module receives instruction stream data and the smart card personalization data from center hair fastener control system, and the request key management module provides corresponding key plain data, according to explanation and execution command stream, and to the complete and transparent bitstream data of intelligent card interface module transmission; The intelligent card interface module receives the bitstream data from the instruction interpretation module, sends order data and returns execution result to smart card by interface.
The instruction interpretation module has adopted interpretation process as described below according to the coding characteristic of instruction specification unit:
1) the instruction interpretation module is from status word set district reading state word and be kept at the local internal memory;
2) from interface variables definition fetch interface variable list, and the smart card personalization data map on interface variables;
3) read the temporary variable tabulation from the temporary variable definition, distribute the variable buffer zone and set up the mapping of variable to buffer zone;
4) read the hair fastener statement, if control flow statement, according to statement identifier, read follow-up controlled condition and statement sequence after, transfer to the control corresponding entity and carry out;
5), transfer to corresponding statement entity according to statement identifier and carry out computing, and saving result is in the rreturn value variable if arithmetic statement reads follow-up parameter list;
6) if the smartcard command function, the instruction interpretation module is delivered to the intelligent card interface module to the bit stream of the function parameter of this function statement tabulation representative, and wait intelligent card interface module is returned the result of execution, be kept in the rreturn value variable, this return results is compared with each field in the status word set, if there is one to meet, continue execution command stream, otherwise to the System Reports error report and stop the hair fastener flow process.
The intelligent card interface module provides the driver with smart card communications, and it has shielded the ins and outs of communicating by letter with particular hardware downwards, and the interface function with smart card communications upwards is provided, and makes instruction interpretation module and concrete hardware configuration irrelevant.
As shown in Figure 8, the present invention provides the method for dynamic importing encrypting module according to each smart card business, and this method provides the unified interface of visiting various encrypting modules by the interface function accessing points in the linguistic norm unit; The unified function declaration of calling concrete encrypting module is provided in the instruction interpretation device, when actual hair fastener, the recompility of the encrypting module of instruction interpretation device and appointment has been got final product.Thereby in the present invention definition of encrypting and realization are separated, the selection of encrypting module is only relevant with concrete hair fastener business demand, for the user, uses identical interface can realize different encryption functions.
The method that dynamically imports encrypting module may further comprise the steps:
1) interface function that calls the visit encrypting module that the linguistic norm unit provides is write the hair fastener program, and utilize the other Languages function of linguistic norm unit, write processes such as the dispersion of the flow process of various regulations such as digital signature, session encryption, key and distribution based on the interface function of encrypting module;
2) comprise the definition of encrypting module interface function and the hair fastener instruction stream data file of the instruction specification unit specified format of the subroutine of writing based on the encrypting module interface function through CompilerTools compiling output;
3) provide the file destination of specifying encrypting module, the and instruction interpreter compiles together to connect and generates new executable file;
4) hair fastener instruction stream file is finished encryption function by the realization of encrypting module in the instruction calls instruction interpretation device of encrypting module interface function.
As Fig. 9 is the embodiments of the invention process flow diagrams, present embodiment is made of PC end design subsystem, large-scale card sender control desk and smart card module, the design subsystem operates on the independent PC, finish the design of hair fastener file, and the phraseological mistake of check hair fastener file, the binary instruction stream data file of translation output then; Card sender control desk and smart card module are responsible for the individualized of actual smart card; Do not have connection physically between card sender control desk and the design subsystem, the hair fastener instruction stream data of design subsystem handle output are delivered to the card sender control desk by the form of disk file.For example use the workflow of Gemplus card bank of issue financial smart card as follows:
1. design the hair fastener operation flow
Use linguistic norm provided by the invention unit to write the hair fastener file according to the exploitation handbook of selected Gemplus card and the document structure definition of financial smart card, after having write, the CompilerTools compiling of submission on the design subsystem, if there is grammar mistake, revise the hair fastener file according to miscue, submit the CompilerTools compiling again to, till compiling is passed through, the output order stream data file.
2. check the correctness of hair fastener operation flow
The form of the instruction stream file of design subsystem output by disk file copied to the card sender control desk, start center hair fastener control system, examination distribution smart card, the correctness of check hair fastener operation flow.If incorrect, return the mistake on the design subsystem modification process.
3. hair fastener on large-scale card sender
The center hair fastener control system of start-up control platform, formulate the hair fastener task, select application program to download to the smart card personalization controller and the key management controller of card sender, and in the smart card personalization controller of card sender and key management controller, place blank smart card and key card respectively, start the hair fastener task, center hair fastener control system reads smart card personalization data and director data, after certain form fusion, download in the smart card personalization controller of card sender, by the distribution of the control of the instruction interpretation device in smart card personalization controller smart card.
4. under identical hair fastener environment, make second kind of card.For example use the financial smart card of ZTCard card distribution identical services, step 2 and step 3 are identical, but the development environment difference of ZTCard card, therefore to write new hair fastener operation flow at ZTCard card development environment, and 1,2,3 personalization process that just can be implemented in the ZTCard card under the same platform set by step.

Claims (7)

1, a kind of universal high speed IC card comprises: center hair fastener control system, AM/BAM communication module, smart card personalization controller, key management controller and smart card personalization database; Wherein, hair fastener control system in center is responsible for selecting the hair fastener application program, the card sender parameter is set, the intelligent card data stream format is set, the card pattern is set, is read the smart card personalization database and control smart card and issue on card sender; The AM/BAM communication module is responsible at center hair fastener control system and hair fastener inter-machine communication to transmit the data of specified format; The smart card personalization controller is according to smart card personalization data and the key plain personalization data smart card that provides from the key management controller; Key management controller security strategy is in accordance with regulations preserved key data and is provided key data to the smart card personalization controller, implements the secure access and the control strategy of smart card; There is a vertical application to reside in the internal memory in smart card personalization controller and the key management controller respectively and implements its control function; It is characterized in that: also comprise CompilerTools and instruction interpretation device; Described CompilerTools is used for compiling by the requirement of language specification unit to the user, output hair fastener command file; Described instruction interpretation device is accepted the key plain data of director data and the smart card personalization data and the key management controller of center hair fastener control system, the individualized implementation of control smart card.
2, universal high speed IC card according to claim 1 is characterized in that, described CompilerTools comprises lexical analyzer, syntax analyzer and instruction code maker, is linked in sequence; Also comprise a linguistic norm unit and an instruction specification unit; The input of CompilerTools is the hair fastener file of writing according to the linguistic norm unit, is output as the instruction stream data of instruction specification unit specified format.
3, universal high speed IC card according to claim 1 is characterized in that, described instruction interpretation device comprises instruction interpretation module and intelligent card interface module, is linked in sequence; Also comprise an instruction specification unit, the input end of and instruction explanation module connects; Described instruction interpretation module receives instruction stream data and the smart card personalization data from center hair fastener control system, and the request key management module provides corresponding key plain data, explain and execution command stream according to the instruction specification unit, and transmit complete and transparent bitstream data to the intelligent card interface module; Described intelligent card interface module receives the bitstream data from the instruction interpretation module, sends order data and returns execution result to smart card by interface.
4, a kind of smart card universal high speed hair fastener method is characterized in that, may further comprise the steps:
A, at first, the publisher make sures according to concrete smart card industry and writes the hair fastener file with linguistic norm of the present invention unit, and this document is that smart card is carried out personalized control flow file, and different smart card business is write different hair fastener files with needs;
B, the hair fastener file is compiled, generate binary instruction stream data file, and the instruction stream data file is submitted to center hair fastener control system;
C, the instruction interpretation device and the encrypting module compiling that needs dynamically to import connect into new executable file;
D, center hair fastener control system are formulated the hair fastener task, and designated order interpreter application program also downloads to the smart card personalization controller; Center hair fastener control system reads smart card personalization information from the smart card personalization database, instruction stream data and smart card personalization data are downloaded in the instruction interpretation device together;
E, under the smart card personalization data-driven, the distribution of smart card is finished in the execution of instruction interpretation device request key data control smart card personalization.
5, smart card universal high speed hair fastener method according to claim 4, it is characterized in that, the method of the dynamic importing encrypting module described in the step c is by the interface function accessing points in the linguistic norm unit, to provide the unified interface of the various encrypting modules of visit; Provide the function declaration of the unified concrete encrypting module that calls by the instruction interpretation device, when actual hair fastener, the encrypting module of instruction interpretation device and appointment is recompilated into executable file.
6, according to claim 4 or 5 described smart card universal high speed hair fastener methods, it is characterized in that the method for the dynamic importing encrypting module described in the step c may further comprise the steps:
1) interface function that calls the visit encrypting module that the linguistic norm unit provides is write the hair fastener file, and utilize the other Languages function of linguistic norm unit, write processes such as the dispersion of the flow process of various regulations such as digital signature, session encryption, key and distribution based on the interface function of encrypting module;
2) comprise the definition of encrypting module interface function and the hair fastener instruction stream data file of the instruction specification unit specified format of the subroutine of writing based on the encrypting module interface function through CompilerTools compiling output;
3) provide the file destination of specifying encrypting module, the and instruction interpreter compiles together to connect and generates new executable file;
4) hair fastener instruction stream file is finished encryption function by the realization of encrypting module in the instruction calls instruction interpretation device of encrypting module interface function.
7, smart card universal high speed hair fastener method according to claim 4 is characterized in that, the described instruction interpretation device of steps d adopts following interpretation process according to the coding characteristic of instruction specification unit:
1) the instruction interpretation module is from status word set district reading state word and be kept at the local internal memory;
2) from interface variables definition fetch interface variable list, and the smart card personalization data map on interface variables;
3) read the temporary variable tabulation from the temporary variable definition, distribute the variable buffer zone and set up the mapping of variable to buffer zone;
4) read the hair fastener statement, if control flow statement, according to statement identifier, read follow-up controlled condition and statement sequence after, transfer to the control corresponding entity and carry out;
5), transfer to corresponding statement entity according to statement identifier and carry out computing, and saving result is in the rreturn value variable if arithmetic statement reads follow-up parameter list;
6) if the smartcard command function, the instruction interpretation module is delivered to the intelligent card interface module to the bit stream of the function parameter of this function statement tabulation representative, and wait intelligent card interface module is returned the result of execution, be kept in the rreturn value variable, this return results is compared with each field in the status word set, if there is one to meet, continue execution command stream, otherwise to the System Reports error report and stop the hair fastener flow process.
CN 01126689 2001-09-07 2001-09-07 Universal high speed IC card issuing apparatus and method Expired - Fee Related CN1255744C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 01126689 CN1255744C (en) 2001-09-07 2001-09-07 Universal high speed IC card issuing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 01126689 CN1255744C (en) 2001-09-07 2001-09-07 Universal high speed IC card issuing apparatus and method

Publications (2)

Publication Number Publication Date
CN1407477A true CN1407477A (en) 2003-04-02
CN1255744C CN1255744C (en) 2006-05-10

Family

ID=4666699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 01126689 Expired - Fee Related CN1255744C (en) 2001-09-07 2001-09-07 Universal high speed IC card issuing apparatus and method

Country Status (1)

Country Link
CN (1) CN1255744C (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100437471C (en) * 2006-05-30 2008-11-26 北京飞天诚信科技有限公司 Method and device for realizing combined card operating system
CN101282528B (en) * 2008-04-11 2011-12-28 东信和平智能卡股份有限公司 Apparatus and method for writing smart card remotely
CN102521626A (en) * 2011-11-30 2012-06-27 北京握奇数据系统有限公司 Method and system for multi-application management of intelligent cards
CN102566971A (en) * 2011-12-31 2012-07-11 北京握奇数据系统有限公司 Instruction analysis method, instruction analysis device and smart card
CN102800015A (en) * 2012-06-15 2012-11-28 武汉天喻信息产业股份有限公司 Financial IC (Integrated Circuit) card long-distance individualized method and system
CN103426238A (en) * 2012-05-23 2013-12-04 中兴通讯股份有限公司 Smart cart issuing system and method based on plug-ins
CN105701429A (en) * 2015-12-31 2016-06-22 宇龙计算机通信科技(深圳)有限公司 User-defined adaptive method and system for RFID card
WO2017166101A1 (en) * 2016-03-30 2017-10-05 李昕光 Card manufacturing system
CN107993064A (en) * 2017-11-29 2018-05-04 深圳消费物联科技有限公司 A kind of enterprise's stored-value-card issuance method and its system based on NFC
CN108446106A (en) * 2018-03-20 2018-08-24 南京丹迪克科技开发有限公司 A kind of communication interface processing method and system
CN108718238A (en) * 2018-05-11 2018-10-30 北京握奇智能科技有限公司 A kind of method and system of universal personal
CN109240742A (en) * 2018-09-19 2019-01-18 东信和平科技股份有限公司 A kind of generation method, device, equipment and the storage medium of intermediate layer architecture
CN117056252A (en) * 2023-10-11 2023-11-14 金邦达有限公司 Instant card issuing system and method compatible with multiple service systems

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100437471C (en) * 2006-05-30 2008-11-26 北京飞天诚信科技有限公司 Method and device for realizing combined card operating system
CN101282528B (en) * 2008-04-11 2011-12-28 东信和平智能卡股份有限公司 Apparatus and method for writing smart card remotely
CN102521626A (en) * 2011-11-30 2012-06-27 北京握奇数据系统有限公司 Method and system for multi-application management of intelligent cards
CN102521626B (en) * 2011-11-30 2014-12-24 北京握奇数据系统有限公司 Method and system for multi-application management of intelligent cards
CN102566971A (en) * 2011-12-31 2012-07-11 北京握奇数据系统有限公司 Instruction analysis method, instruction analysis device and smart card
CN103426238B (en) * 2012-05-23 2017-02-15 中兴通讯股份有限公司 Smart cart issuing system and method based on plug-ins
CN103426238A (en) * 2012-05-23 2013-12-04 中兴通讯股份有限公司 Smart cart issuing system and method based on plug-ins
CN102800015A (en) * 2012-06-15 2012-11-28 武汉天喻信息产业股份有限公司 Financial IC (Integrated Circuit) card long-distance individualized method and system
CN105701429A (en) * 2015-12-31 2016-06-22 宇龙计算机通信科技(深圳)有限公司 User-defined adaptive method and system for RFID card
CN105701429B (en) * 2015-12-31 2018-09-14 宇龙计算机通信科技(深圳)有限公司 A kind of self-defined adaptation method and system of RFID radio-frequency cards
WO2017166101A1 (en) * 2016-03-30 2017-10-05 李昕光 Card manufacturing system
CN107993064A (en) * 2017-11-29 2018-05-04 深圳消费物联科技有限公司 A kind of enterprise's stored-value-card issuance method and its system based on NFC
CN108446106A (en) * 2018-03-20 2018-08-24 南京丹迪克科技开发有限公司 A kind of communication interface processing method and system
CN108718238A (en) * 2018-05-11 2018-10-30 北京握奇智能科技有限公司 A kind of method and system of universal personal
CN108718238B (en) * 2018-05-11 2023-04-18 北京握奇智能科技有限公司 Universal personalization method and system
CN109240742A (en) * 2018-09-19 2019-01-18 东信和平科技股份有限公司 A kind of generation method, device, equipment and the storage medium of intermediate layer architecture
CN117056252A (en) * 2023-10-11 2023-11-14 金邦达有限公司 Instant card issuing system and method compatible with multiple service systems
CN117056252B (en) * 2023-10-11 2024-04-02 金邦达有限公司 Instant card issuing system and method compatible with multiple service systems

Also Published As

Publication number Publication date
CN1255744C (en) 2006-05-10

Similar Documents

Publication Publication Date Title
CN1255744C (en) Universal high speed IC card issuing apparatus and method
KR101150003B1 (en) Software development infrastructure
Steele Jr LAMBDA: The ultimate declarative
US9134974B2 (en) Source code separation and generation for heterogeneous central processing unit (CPU) computational devices
US6031993A (en) Method and apparatus for translating source code from one high-level computer language to another
US6286134B1 (en) Instruction selection in a multi-platform environment
CN1271516C (en) Method and device for creating and executing integrated executable program in different sorts of systems structure
CN1203404C (en) Full-delay interlinkage with module-by-module verification
Kennedy et al. Telescoping languages: A system for automatic generation of domain languages
US6083282A (en) Cross-project namespace compiler and method
CN1702621A (en) Language localization using tables
CN1361891A (en) Method and system for an extensible macro language
Weber et al. MATOG: array layout auto-tuning for CUDA
CN1976320A (en) Data access control method and system
CN1788251A (en) Instruction for computing a security message authentication code
CN1975693A (en) Command simulation analytic system with automatic driving function and realizing method thereof
Giegerich A formal framework for the derivation of machine-specific optimizers
CN1295778C (en) Method for verifying consistency of chip hardware behavior and software simulation behavior
Quinlan et al. Parallel object‐oriented framework optimization
Mishra et al. Data transfer and reuse analysis tool for gpu-offloading using openmp
CN114461186A (en) Method for automatically compiling and running C/C + + code for Huaji Shengteng accelerator card
US7624374B2 (en) Readers and scanner design pattern
Kumar Comparison of instruction scheduling and register allocation for Mips And Hpl-Pd architecture for exploitation of instruction level parallelism
Adve et al. Advanced code generation for high performance Fortran
CN1293497C (en) Multipurpose smart card issuing machine and method for card issuing

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
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee