CN107133539A - Smart card personalization and relevant apparatus and system - Google Patents
Smart card personalization and relevant apparatus and system Download PDFInfo
- Publication number
- CN107133539A CN107133539A CN201610109485.7A CN201610109485A CN107133539A CN 107133539 A CN107133539 A CN 107133539A CN 201610109485 A CN201610109485 A CN 201610109485A CN 107133539 A CN107133539 A CN 107133539A
- Authority
- CN
- China
- Prior art keywords
- card
- write
- predefined
- instruction set
- data
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K1/00—Methods or arrangements for marking the record carrier in digital fashion
- G06K1/12—Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Storage Device Security (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of smart card personalization and relevant apparatus and system, in this programme, because the parsing to intelligent card data and writing operation can be with asynchronous executions, intelligent card data can be parsed in advance and be converted into predefine and write card instruction set and store, when needing to carry out writing operation, extract it is predefined write card instruction set and perform, so as to improve the efficiency of smart card personalization.In addition, and in the embodiment of the present invention, developer only needs to learn how to parse data, without learning how to carry out writing operation.Because writing card instruction set by predefined, write cards device can be transferred to complete writing operation, and write cards device exploitation is once, without overlapping development.So, the embodiment of the present invention can further improve individualized formation efficiency.
Description
Technical field
The present invention relates to technical field of intelligent card, more particularly to a kind of smart card personalization and relevant apparatus
With system.
Background technology
Smart card must complete to individualize before the use, and this is individualized including being created within a smart card according to specification
Application is built, file structure is set up, write-in personal data etc. is operated.After individualized end, smart card just can be real
Border is used.
Due to the data format disunity of the intelligent card data of different user (such as different bank), so,
, it is necessary to be solved according to the different corresponding resolution rules of intelligent card data when being parsed to intelligent card data
Analysis.So, smart card personalization of the prior art includes:Obtain intelligent card data and its corresponding
Resolution rules, are parsed according to the resolution rules to the intelligent card data of acquisition, then according to parsing after
Intelligent card data generation APDU (ApplicationProtocolDataUnit, Application Protocol Data Unit) refers to
Make and perform, to complete writing operation, realize the individualized of smart card.
However, parsing and generation in the prior art to intelligent card data and performing APDU and instructing by a mould
Block complete, cause to carry out parsing intelligent card data during writing operation, cause parse by
The limitation of writing operation.So cause the production efficiency of smart card personalization low.
In addition, must understand how to parse data and enter row write card when developer develops in the prior art simultaneously
Operation, the requirement that this is resulted in developer is high.And must all complete parsing for every kind of intelligent card data
Data and writing operation, and for fixed smart card personalization manufacturer, in its used APDU
Instruction be with set form on the premise of, overlapping development writing operation also causes the construction cycle long, waste people
Power resource, also further results in individualized inefficiency.
The content of the invention
The embodiments of the invention provide a kind of smart card personalization and relevant apparatus and system, to solve
The problem of smart card personalization inefficiency that presently, there are.
The embodiments of the invention provide a kind of smart card personalization, including:
Data prediction device, which is obtained, specifies the corresponding intelligent card data of Data Identification, and obtains the specified number
According to the corresponding resolution rules of mark;
The intelligent card data is parsed according to the resolution rules;
According to the intelligent card data after parsing, generation is predefined to be write card instruction set and stores, so that write cards device
Obtain and described predefined write card instruction set and carry out writing operation;Wherein, described predefine is write in card instruction set
Instructed including at least one predefined card of writing;Every write card instruction include instruction type identify or including
The data that instruction type is identified and operated.
Further, the embodiment of the present invention also provides a kind of smart card personalization, including:
Write cards device, which obtains to predefine, writes card instruction set;Wherein, it is described it is predefined write card instruction set include to
Few one predefined card of writing is instructed;Writing card instruction for every includes instruction type mark or including instruction class
The data that type is identified and operated;
Card instruction is write for predefined every write in card instruction set is predefined, according to the instruction class prestored
Type identifies the corresponding relation instructed with Application Protocol Data Unit APDU, and the predefined card of writing is instructed into conversion
Instruct and perform for corresponding APDU.
Further, the embodiment of the present invention additionally provides a kind of data prediction device, including:
Acquisition module, for obtaining the corresponding intelligent card data of specified Data Identification, and obtains the specified number
According to the corresponding resolution rules of mark;
Parsing module, for being parsed according to the resolution rules to the intelligent card data;
Instruction set processing module, for according to the intelligent card data after parsing, generation to predefine and writes card instruction set
And store, so that write cards device obtains and described predefined write card instruction set and carry out writing operation;Wherein, institute
State it is predefined write card instruction set and include at least one predefined card of writing instruct;Writing card instruction for every includes referring to
The data for making type identification or identifying and operating including instruction type.
Further, the embodiment of the present invention additionally provides a kind of write cards device, including:
Instruction set acquisition module, card instruction set is write for obtaining to predefine;Wherein, it is described predefined to write card and refer to
Order concentration includes at least one predefined card of writing and instructed;Every write card instruction include instruction type identify or
Person includes the data that instruction type is identified and operated;
Performing module, for writing card instruction, root for predefined every write in card instruction set is predefined
The corresponding relation instructed according to the instruction type mark prestored with Application Protocol Data Unit APDU, this is made a reservation for
Justice, which writes card instruction and is converted to corresponding APDU, to be instructed and performs.
Further, the embodiment of the present invention additionally provides a kind of smart card personalization system, including:
Data prediction device, for obtaining the corresponding intelligent card data of specified Data Identification, and obtains described
Specify the corresponding resolution rules of Data Identification;The intelligent card data is solved according to the resolution rules
Analysis;According to the intelligent card data after parsing, generation is predefined to be write card instruction set and stores, so that write cards device
Obtain and described predefined write card instruction set and carry out writing operation;Wherein, described predefine is write in card instruction set
Instructed including at least one predefined card of writing;Every write card instruction include instruction type identify or including
The data that instruction type is identified and operated;
Write cards device, card instruction set is write for obtaining to predefine;Wherein, described predefine is write in card instruction set
Instructed including at least one predefined card of writing;Every write card instruction include instruction type identify or including
The data that instruction type is identified and operated;Write for predefined every write in card instruction set is predefined
Card instruction, the corresponding pass instructed according to the instruction type mark and the Application Protocol Data Unit APDU that prestore
System, by this it is predefined write card instruction and be converted to corresponding APDU instruct and perform.
The present invention has the beneficial effect that:In the embodiment of the present invention, due to the parsing to intelligent card data and card is write
Intelligent card data can be parsed with asynchronous execution and be converted into predefine and be write card instruction set by operation in advance
And store, when needing to carry out writing operation, extract it is predefined write card instruction set and perform so that
The efficiency of smart card personalization can be improved.In addition, and in the embodiment of the present invention, developer only needs to
How solution parses data, without learning how to carry out writing operation.Because writing card by predefined and referring to
Order collection, can transfer to write cards device to complete writing operation, and write cards device exploitation is once, without repeating
Exploitation.So, the embodiment of the present invention can further improve individualized formation efficiency.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, institute in being described below to embodiment
The accompanying drawing needed to use is briefly introduced, it should be apparent that, drawings in the following description are only the present invention's
Some embodiments, for one of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 show the schematic flow sheet of smart card personalization described in the embodiment of the present invention one;
Fig. 2 show the schematic flow sheet of smart card personalization described in the embodiment of the present invention two;
Fig. 3 show described in the embodiment of the present invention two by different instruction type identification it is predefined write card instruction
The schematic diagram for transferring to different conversion process interfaces to handle;
Fig. 4 show the schematic flow sheet of smart card personalization described in the embodiment of the present invention three;
Fig. 5 show the structural representation that the makeup of data prediction device described in the embodiment of the present invention four is put;
Fig. 6 show the structural representation of write cards device described in the embodiment of the present invention five;
Fig. 7 show the structural representation of smart card personalization system described in the embodiment of the present invention four.
Embodiment
The embodiments of the invention provide a kind of smart card personalization and relevant apparatus and system, in this hair
In technical scheme described in bright embodiment, because the parsing to intelligent card data and writing operation can be held with asynchronous
OK, intelligent card data can be parsed in advance and is converted into predefine and write card instruction set and store, when need
When carrying out writing operation, extract it is predefined write card instruction set and perform, so as to improve smart card
The efficiency of peopleization.In addition, and in the embodiment of the present invention, developer only needs to learn how parsing data i.e.
Can, without learning how to carry out writing operation.Because writing card instruction set by predefined, can transferring to write
Card device completes writing operation, and write cards device exploitation is once, without overlapping development.So, this hair
Bright embodiment can further improve individualized formation efficiency.
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing to this hair
It is bright to be described in further detail, it is clear that described embodiment is only a part of embodiment of the invention,
Rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing
Go out all other embodiment obtained under the premise of creative work, belong to the scope of protection of the invention.
Embodiment one:
As shown in figure 1, it is the flow signal of smart card personalization described in the embodiment of the present invention one
Figure, the smart card personalization may include following steps:
Step 101:Data prediction device, which is obtained, specifies the corresponding intelligent card data of Data Identification, and obtains
The corresponding resolution rules of the specified Data Identification.
Wherein, in one embodiment, if smart card is bank card, specified Data Identification is for example including bank
Title, card classification and data name etc..It is of course possible to uniquely represent that the Data Identification of intelligent card data is equal
Suitable for the embodiment of the present invention, the present invention is not limited this.
Wherein, in one embodiment, in the prior art must be by operating personnel from multiple modules, manually
Selection is parsed using which corresponding module to intelligent card data, and this is just further resulted in the prior art
The inefficiency of smart card personalization, and manual selecting operation easily selects mistake.In this regard, the present invention is real
Apply in example, can be according to the Data Identification and solution prestored in order to further improve the efficiency of smart card personalization
The corresponding relation of rule is analysed, the corresponding resolution rules of the specified Data Identification are obtained.When it is implemented, can
To set unified interface, by the different resolution rules of the interface interchange, different intelligent card datas is entered
Row parsing.
Step 102:The intelligent card data is parsed according to the resolution rules.
Step 103:According to the intelligent card data after parsing, generation is predefined to be write card instruction set and stores, with
Write cards device is obtained described predefined to write card instruction set and carry out writing operation;Wherein, described predefine is write
Card instruction set includes at least one predefined card of writing and instructed;Writing card instruction for every includes instruction type mark
The data for knowing or identifying and operating including instruction type.
Wherein, how write cards device obtains described predefine and writes card instruction set and carry out writing operation and will implement
Illustrate in example two, wouldn't repeat herein.
It is predefined to write card instruction set as the matchmaker of data prediction device and write cards device in the embodiment of the present invention
It is situated between, realizes the function of the communication interface similar to data prediction device and write cards device so that card writing
Putting the clearly execution, which kind of is instructed.So, in the embodiment of the present invention, the parsing to intelligent card data, and
Writing operation can with asynchronous execution, without that must be only carried out as prior art by same module, therefore
This can improve the personalized efficiency of smart card.In addition, and in the embodiment of the present invention, developer only needs
It is to be understood that how data are parsed, without learning how to carry out writing operation.Because being write by predefined
Card instruction set, can transfer to write cards device to complete writing operation, and write cards device exploitation is once, without
Overlapping development.So, the embodiment of the present invention can further improve individualized formation efficiency.
For ease of further understanding, the smart card personalization of the embodiment of the present invention is carried out further below
Explanation:
Wherein, in one embodiment, in order to complete smart card personalization, not only need intelligent card data
Write smart card, in addition it is also necessary to other operations, so, in the embodiment of the present invention, the instruction type mark bag
Include at least one of following:
The reset mark of operation is resetted for carrying out card;
Deletion mark for deleting People's Bank of China's PBOC examples or application bag;
Installation for installing PBOC examples is identified;
For selecting the selection of PBOC examples to identify;
Initialisation identifications for carrying out safety certification initialization;
The certification that starts for starting safety certification is identified;
Certification for safety certification is identified;
The data of intelligent card data for writing PBOC examples write mark.
Instructed when it is implemented, predefined card of writing can be selected or added according to their business needs, as long as should
It is predefined to write card instruction with corresponding instruction type mark, so as to subsequently carry out the write cards device of writing operation
It is complete to determine that predefined which the corresponding bar APDU of card instruction that writes is instructed according to instruction type mark, this
Inventive embodiments are not limited this.
Wherein, in one embodiment, in order to ensure intelligent card data safety, storage is predefined to write card instruction
Before collection, it can also write card instruction set to predefined and be encrypted.Specifically how to encrypt, can be according to existing
Encryption method in technology determines that the embodiment of the present invention is not limited this.
Wherein, in one embodiment, the predefined integrality for writing card instruction set is determined for ease of write cards device,
The generation of data prediction device is predefined to be write after card instruction set, calculates the predefined cryptographic Hash for writing card instruction set,
Using cryptographic Hash as the predefined prefix or suffix for writing card instruction set, then re-encrypt.
Wherein, in one embodiment, for the ease of centralized management intelligent card data, and smart card number is improved
According to security, obtain in step 101 and specify the corresponding intelligent card data of Data Identification, can perform as from intelligence
The corresponding intelligent card data of specified Data Identification can be obtained in card data server.So, data, services are passed through
Device, can set access and administration authority so that be not that anyone can access and manage intelligent card data,
The security of intelligent card data can be improved.
Wherein, in one embodiment, it is described according to parsing in order to further improve based on similar principle
Intelligent card data afterwards, generation is predefined to be write card instruction set and stores, and can perform as according to the intelligence after parsing
Card data, generation is predefined to write card instruction set;Predefined write card instruction set by described and be stored in instruction set data
In server.So, accessed and administration authority by the way that instruction set data server is settable so that be not to appoint
Who can access and manage intelligent card data, it is possible to increase the security of intelligent card data.
Embodiment two
The embodiment of the present invention also provides a kind of smart card personalization, applied to write cards device, such as Fig. 2 institutes
Show, be the schematic flow sheet of this method, comprise the following steps:
Step 201:Write cards device, which obtains to predefine, writes card instruction set;Wherein, the predefined card of writing is instructed
Concentration includes at least one predefined card of writing and instructed;Every write card instruction include instruction type identify or
The data for identifying and operating including instruction type;
Step 202:Card instruction is write for predefined every write in card instruction set is predefined, according to pre-
The corresponding relation that the instruction type mark deposited is instructed with Application Protocol Data Unit APDU, this is predefined and write
Card instruction is converted to corresponding APDU and instructs and perform.
Wherein, in one embodiment, after APDU instructions are performed, it is also possible that for each APDU
Instruction, judges whether this APDU instructions run succeeded, and personalized carry is successfully completed if so, then sending
Show, if it is not, then sending the prompting of individualized failure.In order to which operating personnel understand, and reply is taken in time
Measure.
So, in the embodiment of the present invention, the parsing to intelligent card data, and writing operation can be held with asynchronous
OK, without that must be only carried out as prior art by same module, so smart card can be improved
Personalized efficiency.In addition, and in the embodiment of the present invention, developer only needs to learn how to parse data
, without learning how to carry out writing operation.Because writing card instruction set by predefined, can transferring to
Write cards device completes writing operation, and write cards device exploitation is once, without overlapping development.So, this
Inventive embodiments can further improve individualized formation efficiency.
For ease of further understanding, the smart card personalization of the embodiment of the present invention is carried out further below
Explanation:
Wherein, in one embodiment, the predefined card instruction set of writing refers to for the predefined card of writing after encryption
Order collection;It is described obtain it is predefined write card instruction set after, also predefined write card instruction set to described and be decrypted.
So, in order to be able to which predefined after being decrypted writes card instruction set, to perform subsequent operation.
Wherein, in one embodiment, in order to determine the predefined integrality for writing card instruction set, the present invention is real
Apply in example, predefined after the encryption of encryption writes the predefined Hash for writing card instruction set that card instruction set includes
Value, write cards device, which is write card instruction set from predefined after decryption and extracted, predefined writes card instruction set and this makes a reservation for
Justice writes the cryptographic Hash of card instruction set, and write cards device recalculates Hash according to the predefined card instruction set of writing of extraction
Value, then contrasts the cryptographic Hash of calculating and the cryptographic Hash extracted, if unanimously, it is determined that predefined to write card and refer to
Order collection is complete.Otherwise, then it can send to predefine and write the incomplete prompting of card instruction set.In order to individualized
Operator, failure and the solution in personalization process can be understood in time.
Wherein, in one embodiment, it is described obtain it is predefined writes card instruction set, specifically can perform as from finger
Obtain to predefine in order collection data server and write card instruction set.
Wherein, in one embodiment, refer to improve predefined to write card instruction and be converted to corresponding APDU
The efficiency of order, can by different instruction type identification it is predefined write card instruction transfer to different conversion process to connect
Mouth processing, such as table 1 show instruction type mark and its corresponding explanation, then by different instruction type mark
The predefined card of writing known instructs the schematic diagram for transferring to different conversion process interfaces to handle as shown in Figure 3.Need
What is illustrated is that table 1 and Fig. 3 are merely to illustrate the embodiment of the present invention, is not intended to limit the present invention embodiment.
Table 1
Embodiment three
Here exemplified by being parsed to intelligent card data and complete writing operation, in the embodiment of the present invention
Smart card personalization is illustrated, as shown in figure 4, comprising the following steps:
Step 401:Data prediction device is obtained from intelligent card data server specifies Data Identification correspondence
Intelligent card data, and according to the Data Identification and the corresponding relation of resolution rules prestored, obtain described specify
The corresponding resolution rules of Data Identification.
Step 402:Data prediction device is parsed according to the resolution rules to the intelligent card data.
Step 403:Data prediction device writes card instruction according to the intelligent card data generation after parsing is predefined
Collection, and predefined write after card instruction set is encrypted is stored in instruction set data server.
Step 404:Write cards device obtains to predefine from instruction set data server writes card instruction set.
Step 405:Write cards device predefined write card instruction set and is decrypted to described.
Step 406:Write cards device writes card instruction for predefined every write in card instruction set is predefined,
The corresponding relation that instruction type mark according to prestoring is instructed with Application Protocol Data Unit APDU, this is pre-
Definition, which writes card instruction and is converted to corresponding APDU, to be instructed and performs.
In the embodiment of the present invention, the parsing to intelligent card data, and writing operation can with asynchronous execution, and
Without that must be only carried out as prior art by same module, so the individualized of smart card can be improved
Efficiency.In addition, and in the embodiment of the present invention, developer only needs to learn how to parse data,
It need not learn how to carry out writing operation.Because writing card instruction set by predefined, card writing can be transferred to
Put and complete writing operation, and write cards device exploitation is once, without overlapping development.So, the present invention is real
Individualized formation efficiency can further be improved by applying example.
In addition, by it is predefined write card instruction set and be encrypted can improve the predefined peace for writing card instruction set
Quan Xing.
Example IV
Based on identical inventive concept, the embodiment of the present invention also provides a kind of data prediction device, such as Fig. 5
It is shown, for the structural representation of the device, including:
Acquisition module 501, for obtaining the corresponding intelligent card data of specified Data Identification, and obtains the finger
Determine the corresponding resolution rules of Data Identification;
Parsing module 502, for being parsed according to the resolution rules to the intelligent card data;
Instruction set processing module 503, for according to the intelligent card data after parsing, generation is predefined to be write card and refers to
Order, which collects, simultaneously to be stored, so that write cards device obtains and described predefined write card instruction set and carry out writing operation;Wherein,
It is described it is predefined write card instruction set and include at least one predefined card of writing instruct;Writing card instruction for every includes
The data that instruction type identifies or identifies and operate including instruction type.
Wherein, in one embodiment, the instruction type mark includes at least one of following:
The reset mark of operation is resetted for carrying out card;
Deletion mark for deleting People's Bank of China's PBOC examples or application bag;
Installation for installing PBOC examples is identified;
For selecting the selection of PBOC examples to identify;
Initialisation identifications for carrying out safety certification initialization;
The certification that starts for starting safety certification is identified;
Certification for safety certification is identified;
The data of intelligent card data for writing PBOC examples write mark.
Wherein, in one embodiment, described device also includes:
Encrypting module, is predefined before writing card instruction set for instruction set processing module storage, to predetermined
Justice is write card instruction set and is encrypted.
Wherein, in one embodiment, the acquisition module specifically for:
According to the Data Identification and the corresponding relation of resolution rules prestored, the specified Data Identification correspondence is obtained
Resolution rules.
Wherein, in one embodiment, the acquisition module specifically for:
Obtained from intelligent card data server and specify the corresponding intelligent card data of Data Identification.
Wherein, in one embodiment, the instruction set processing module specifically for:
According to the intelligent card data after parsing, generation is predefined to write card instruction set;
Predefined write card instruction set by described and be stored in instruction set data server.
It is predefined to write card instruction set as the matchmaker of data prediction device and write cards device in the embodiment of the present invention
It is situated between, realizes the function of the communication interface similar to data prediction device and write cards device so that card writing
Putting the clearly execution, which kind of is instructed.So, in the embodiment of the present invention, the parsing to intelligent card data, and
Writing operation can with asynchronous execution, without that must be only carried out as prior art by same module, therefore
This can improve the personalized efficiency of smart card.In addition, and in the embodiment of the present invention, developer only needs
It is to be understood that how data are parsed, without learning how to carry out writing operation.Because being write by predefined
Card instruction set, can transfer to write cards device to complete writing operation, and write cards device exploitation is once, without
Overlapping development.So, the embodiment of the present invention can further improve individualized formation efficiency.
Embodiment five
Based on identical inventive concept, the embodiment of the present invention provides a kind of write cards device, as shown in fig. 6, being
The structural representation of the device, including:
Instruction set acquisition module 601, card instruction set is write for obtaining to predefine;Wherein, described predefine is write
Card instruction set includes at least one predefined card of writing and instructed;Writing card instruction for every includes instruction type mark
The data for knowing or identifying and operating including instruction type;
Performing module 602, for writing card instruction for predefined every write in card instruction set is predefined,
The corresponding relation that instruction type mark according to prestoring is instructed with Application Protocol Data Unit APDU, this is pre-
Definition, which writes card instruction and is converted to corresponding APDU, to be instructed and performs.
Wherein, in one embodiment, the predefined card instruction set of writing refers to for the predefined card of writing after encryption
Order collection;Described device also includes:
Deciphering module, for the instruction set acquisition module obtain it is predefined write card instruction set after, to described
It is predefined to write card instruction set and be decrypted.
Wherein, in one embodiment the instruction set acquisition module specifically for:From instruction set data, services
Obtain to predefine in device and write card instruction set.
In the embodiment of the present invention, the parsing to intelligent card data, and writing operation can with asynchronous execution, and
Without that must be only carried out as prior art by same module, so the individualized of smart card can be improved
Efficiency.In addition, and in the embodiment of the present invention, developer only needs to learn how to parse data,
It need not learn how to carry out writing operation.Because writing card instruction set by predefined, card writing can be transferred to
Put and complete writing operation, and write cards device exploitation is once, without overlapping development.So, the present invention is real
Individualized formation efficiency can further be improved by applying example.
Embodiment six
The embodiment of the present invention also provides a kind of smart card personalization system, as shown in fig. 7, being the knot of the system
Structure schematic diagram, including:
Data prediction device 701, for obtaining the corresponding intelligent card data of specified Data Identification, and is obtained
The corresponding resolution rules of the specified Data Identification;The intelligent card data is carried out according to the resolution rules
Parsing;According to the intelligent card data after parsing, generation is predefined to be write card instruction set and stores, so that card writing
Put that acquisition is described predefined to be write card instruction set and carry out writing operation;Wherein, described predefine writes card instruction set
Include at least one predefined card of writing to instruct;Writing card instruction for every includes instruction type mark or wraps
Include instruction type mark and the data of operation;
Write cards device 702, card instruction set is write for obtaining to predefine;Wherein, the predefined card of writing is instructed
Concentration includes at least one predefined card of writing and instructed;Every write card instruction include instruction type identify or
The data for identifying and operating including instruction type;Make a reservation for for predefined every write in card instruction set
Justice writes card instruction, according to the corresponding of the instruction type mark and Application Protocol Data Unit APDU instructions prestored
Relation, by this it is predefined write card instruction and be converted to corresponding APDU instruct and perform.
In system described in the embodiment of the present invention, because the parsing to intelligent card data and writing operation can be with
Asynchronous execution, intelligent card data can be parsed and be converted into predefine write card instruction set and store in advance
Come, when needing to carry out writing operation, extract it is predefined write card instruction set and perform, so as to improve
The efficiency of smart card personalization.In addition, and in the embodiment of the present invention, developer only needs to learn how solution
Data are analysed, without learning how to carry out writing operation., can because writing card instruction set by predefined
To transfer to write cards device to complete writing operation, and write cards device exploitation is once, without overlapping development.Therefore
And, the embodiment of the present invention can further improve individualized formation efficiency.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation relevant
It is described in detail in the embodiment of this method, explanation will be not set forth in detail herein.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, device, system,
Or computer program product.Therefore, the present invention can using complete hardware embodiment, complete software embodiment,
Or the form of the embodiment in terms of combination software and hardware.Moreover, the present invention can use it is one or more its
In include computer usable program code computer-usable storage medium (include but is not limited to disk storage
Device, CD-ROM, optical memory etc.) on the form of computer program product implemented.
The present invention is with reference to method according to embodiments of the present invention, device (device) and computer program product
Flow chart and/or block diagram describe.It should be understood that can by computer program instructions implementation process figure and/or
Each flow and/or square frame in block diagram and the flow in flow chart and/or block diagram and/or square frame
With reference to.These computer program instructions can be provided to all-purpose computer, special-purpose computer, Embedded Processor
Or the processor of other programmable data processing units is to produce a machine so that by computer or other
The instruction of the computing device of programmable data processing unit produce for realizing in one flow of flow chart or
The device for the function of being specified in one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable datas to handle dress
Put in the computer-readable memory worked in a specific way so that be stored in the computer-readable memory
Instruction produce include the manufacture of command device, the command device realization in one flow or multiple of flow chart
The function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing units, made
Obtain and perform series of operation steps on the computer or other programmable apparatus to produce computer implemented place
Reason, so that the instruction performed on the computer or other programmable apparatus is provided for realizing in flow chart one
The step of function of being specified in flow or multiple flows and/or one square frame of block diagram or multiple square frames.
, but those skilled in the art once know base although preferred embodiments of the present invention have been described
This creative concept, then can make other change and modification to these embodiments.So, appended right will
Ask and be intended to be construed to include preferred embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without departing from this hair to the present invention
Bright spirit and scope.So, if the present invention these modifications and variations belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to comprising including these changes and modification.
Claims (19)
1. a kind of smart card personalization, it is characterised in that including:
Data prediction device, which is obtained, specifies the corresponding intelligent card data of Data Identification, and obtains the specified number
According to the corresponding resolution rules of mark;
The intelligent card data is parsed according to the resolution rules;
According to the intelligent card data after parsing, generation is predefined to be write card instruction set and stores, so that write cards device
Obtain and described predefined write card instruction set and carry out writing operation;Wherein, described predefine is write in card instruction set
Instructed including at least one predefined card of writing;Every write card instruction include instruction type identify or including
The data that instruction type is identified and operated.
2. according to the method described in claim 1, it is characterised in that the instruction type mark include with
It is at least one of lower:
The reset mark of operation is resetted for carrying out card;
Deletion mark for deleting People's Bank of China's PBOC examples or application bag;
Installation for installing PBOC examples is identified;
For selecting the selection of PBOC examples to identify;
Initialisation identifications for carrying out safety certification initialization;
The certification that starts for starting safety certification is identified;
Certification for safety certification is identified;
The data of intelligent card data for writing PBOC examples write mark.
3. according to the method described in claim 1, it is characterised in that storage is predefined write card instruction set it
Before, methods described also includes:
Write card instruction set to predefined and be encrypted.
4. according to the method described in claim 1, it is characterised in that described to obtain the specified data mark
Know corresponding resolution rules, specifically include:
According to the Data Identification and the corresponding relation of resolution rules prestored, the specified Data Identification correspondence is obtained
Resolution rules.
5. according to the method described in claim 1, it is characterised in that described obtain specifies Data Identification pair
The intelligent card data answered, is specifically included:
Obtained from intelligent card data server and specify the corresponding intelligent card data of Data Identification.
6. according to any described method in claim 1-5, it is characterised in that it is described according to parsing after
Intelligent card data, generation is predefined to be write card instruction set and stores, and is specifically included:
According to the intelligent card data after parsing, generation is predefined to write card instruction set;
Predefined write card instruction set by described and be stored in instruction set data server.
7. a kind of smart card personalization, it is characterised in that including:
Write cards device, which obtains to predefine, writes card instruction set;Wherein, it is described it is predefined write card instruction set include to
Few one predefined card of writing is instructed;Writing card instruction for every includes instruction type mark or including instruction class
The data that type is identified and operated;
Card instruction is write for predefined every write in card instruction set is predefined, according to the instruction class prestored
Type identifies the corresponding relation instructed with Application Protocol Data Unit APDU, and the predefined card of writing is instructed into conversion
Instruct and perform for corresponding APDU.
8. method according to claim 7, it is characterised in that described predefined to write card instruction set and be
Predefined after encryption writes card instruction set;It is described obtain it is predefined write card instruction set after, methods described is also wrapped
Include:
Predefined write card instruction set to described and be decrypted.
9. method according to claim 7, it is characterised in that the acquisition is predefined to write card instruction
Collection, is specifically included:
Obtain to predefine from instruction set data server and write card instruction set.
10. a kind of data prediction device, it is characterised in that including:
Acquisition module, for obtaining the corresponding intelligent card data of specified Data Identification, and obtains the specified number
According to the corresponding resolution rules of mark;
Parsing module, for being parsed according to the resolution rules to the intelligent card data;
Instruction set processing module, for according to the intelligent card data after parsing, generation to predefine and writes card instruction set
And store, so that write cards device obtains and described predefined write card instruction set and carry out writing operation;Wherein, institute
State it is predefined write card instruction set and include at least one predefined card of writing instruct;Writing card instruction for every includes referring to
The data for making type identification or identifying and operating including instruction type.
11. device according to claim 10, it is characterised in that the instruction type mark includes
At least one of below:
The reset mark of operation is resetted for carrying out card;
Deletion mark for deleting People's Bank of China's PBOC examples or application bag;
Installation for installing PBOC examples is identified;
For selecting the selection of PBOC examples to identify;
Initialisation identifications for carrying out safety certification initialization;
The certification that starts for starting safety certification is identified;
Certification for safety certification is identified;
The data of intelligent card data for writing PBOC examples write mark.
12. device according to claim 10, it is characterised in that described device also includes:
Encrypting module, is predefined before writing card instruction set for instruction set processing module storage, to predetermined
Justice is write card instruction set and is encrypted.
13. device according to claim 10, it is characterised in that the acquisition module specifically for:
According to the Data Identification and the corresponding relation of resolution rules prestored, the specified Data Identification correspondence is obtained
Resolution rules.
14. device according to claim 10, it is characterised in that the acquisition module specifically for:
Obtained from intelligent card data server and specify the corresponding intelligent card data of Data Identification.
15. according to any described device in claim 10-14, it is characterised in that at the instruction set
Manage module specifically for:
According to the intelligent card data after parsing, generation is predefined to write card instruction set;
Predefined write card instruction set by described and be stored in instruction set data server.
16. a kind of write cards device, it is characterised in that including:
Instruction set acquisition module, card instruction set is write for obtaining to predefine;Wherein, it is described predefined to write card and refer to
Order concentration includes at least one predefined card of writing and instructed;Every write card instruction include instruction type identify or
Person includes the data that instruction type is identified and operated;
Performing module, for writing card instruction, root for predefined every write in card instruction set is predefined
The corresponding relation instructed according to the instruction type mark prestored with Application Protocol Data Unit APDU, this is made a reservation for
Justice, which writes card instruction and is converted to corresponding APDU, to be instructed and performs.
17. device according to claim 16, it is characterised in that described predefine writes card instruction set
Card instruction set is write for predefined after encryption;Described device also includes:
Deciphering module, for the instruction set acquisition module obtain it is predefined write card instruction set after, to described
It is predefined to write card instruction set and be decrypted.
18. device according to claim 16, it is characterised in that the instruction set acquisition module tool
Body is used for:Obtain to predefine from instruction set data server and write card instruction set.
19. a kind of smart card personalization system, it is characterised in that including:
Data prediction device, for obtaining the corresponding intelligent card data of specified Data Identification, and obtains described
Specify the corresponding resolution rules of Data Identification;The intelligent card data is solved according to the resolution rules
Analysis;According to the intelligent card data after parsing, generation is predefined to be write card instruction set and stores, so that write cards device
Obtain and described predefined write card instruction set and carry out writing operation;Wherein, described predefine is write in card instruction set
Instructed including at least one predefined card of writing;Every write card instruction include instruction type identify or including
The data that instruction type is identified and operated;
Write cards device, card instruction set is write for obtaining to predefine;Wherein, described predefine is write in card instruction set
Instructed including at least one predefined card of writing;Every write card instruction include instruction type identify or including
The data that instruction type is identified and operated;Write for predefined every write in card instruction set is predefined
Card instruction, the corresponding pass instructed according to the instruction type mark and the Application Protocol Data Unit APDU that prestore
System, by this it is predefined write card instruction and be converted to corresponding APDU instruct and perform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610109485.7A CN107133539B (en) | 2016-02-26 | 2016-02-26 | Smart card personalization method and related device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610109485.7A CN107133539B (en) | 2016-02-26 | 2016-02-26 | Smart card personalization method and related device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107133539A true CN107133539A (en) | 2017-09-05 |
CN107133539B CN107133539B (en) | 2020-08-11 |
Family
ID=59721377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610109485.7A Active CN107133539B (en) | 2016-02-26 | 2016-02-26 | Smart card personalization method and related device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107133539B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110968433A (en) * | 2018-09-29 | 2020-04-07 | 北京京东尚科信息技术有限公司 | Information processing method and system and electronic equipment |
CN113033221A (en) * | 2021-03-29 | 2021-06-25 | 金邦达有限公司 | Smart card issuing method, computer device and computer readable storage medium |
CN113361670A (en) * | 2021-06-22 | 2021-09-07 | 深圳市雪球科技有限公司 | Intelligent card personalization processing method and device and server |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1471274A (en) * | 2003-07-07 | 2004-01-28 | 江苏移动通信有限责任公司 | Smart card remote card-issuing-writing system based on Internet |
CN101321191A (en) * | 2008-07-24 | 2008-12-10 | 大唐微电子技术有限公司 | User recognition module business issue terminal based on wireless communication |
CN101350056A (en) * | 2007-07-19 | 2009-01-21 | 大唐微电子技术有限公司 | Smart card with wireless card-writing function and method for wireless writing card |
CN101557585A (en) * | 2009-05-27 | 2009-10-14 | 大唐微电子技术有限公司 | Intelligent card |
CN101667240A (en) * | 2009-08-20 | 2010-03-10 | 北京握奇数据系统有限公司 | Intelligent card and card writing method, equipment and system thereof |
CN102802148A (en) * | 2011-05-23 | 2012-11-28 | 中国移动通信有限公司 | Method, system and device for card personalization over the air |
CN103544454A (en) * | 2013-10-12 | 2014-01-29 | 东信和平科技股份有限公司 | Script processing based personalized smart-card issuing method, device and system |
CN103605939A (en) * | 2013-12-04 | 2014-02-26 | 东信和平科技股份有限公司 | Method, device and system for writing personal data in financial IC card |
CN103716781A (en) * | 2013-12-27 | 2014-04-09 | 北京大唐智能卡技术有限公司 | Card writing method, device and system for mobile terminal intelligent card |
CN105337995A (en) * | 2015-11-29 | 2016-02-17 | 恒宝股份有限公司 | Rapid personalization method and system for smart card |
-
2016
- 2016-02-26 CN CN201610109485.7A patent/CN107133539B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1471274A (en) * | 2003-07-07 | 2004-01-28 | 江苏移动通信有限责任公司 | Smart card remote card-issuing-writing system based on Internet |
CN101350056A (en) * | 2007-07-19 | 2009-01-21 | 大唐微电子技术有限公司 | Smart card with wireless card-writing function and method for wireless writing card |
CN101321191A (en) * | 2008-07-24 | 2008-12-10 | 大唐微电子技术有限公司 | User recognition module business issue terminal based on wireless communication |
CN101557585A (en) * | 2009-05-27 | 2009-10-14 | 大唐微电子技术有限公司 | Intelligent card |
CN101667240A (en) * | 2009-08-20 | 2010-03-10 | 北京握奇数据系统有限公司 | Intelligent card and card writing method, equipment and system thereof |
CN102802148A (en) * | 2011-05-23 | 2012-11-28 | 中国移动通信有限公司 | Method, system and device for card personalization over the air |
CN103544454A (en) * | 2013-10-12 | 2014-01-29 | 东信和平科技股份有限公司 | Script processing based personalized smart-card issuing method, device and system |
CN103605939A (en) * | 2013-12-04 | 2014-02-26 | 东信和平科技股份有限公司 | Method, device and system for writing personal data in financial IC card |
CN103716781A (en) * | 2013-12-27 | 2014-04-09 | 北京大唐智能卡技术有限公司 | Card writing method, device and system for mobile terminal intelligent card |
CN105337995A (en) * | 2015-11-29 | 2016-02-17 | 恒宝股份有限公司 | Rapid personalization method and system for smart card |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110968433A (en) * | 2018-09-29 | 2020-04-07 | 北京京东尚科信息技术有限公司 | Information processing method and system and electronic equipment |
CN113033221A (en) * | 2021-03-29 | 2021-06-25 | 金邦达有限公司 | Smart card issuing method, computer device and computer readable storage medium |
CN113361670A (en) * | 2021-06-22 | 2021-09-07 | 深圳市雪球科技有限公司 | Intelligent card personalization processing method and device and server |
CN113361670B (en) * | 2021-06-22 | 2023-01-17 | 深圳市雪球科技有限公司 | Intelligent card personalization processing method and device and server |
Also Published As
Publication number | Publication date |
---|---|
CN107133539B (en) | 2020-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109284313B (en) | Federal modeling method, device and readable storage medium based on semi-supervised learning | |
CN104580208B (en) | A kind of identity identifying method and device | |
CN114218592A (en) | Sensitive data encryption and decryption method and device, computer equipment and storage medium | |
CN106549920A (en) | Log-on message input method, log-on message store method and relevant apparatus | |
CN109547477A (en) | A kind of data processing method and its device, medium, terminal | |
CN103714295B (en) | A kind of detection method and system of financial integrated circuit card personal data | |
CN105900104A (en) | Applet migration in a secure element | |
RU2013126419A (en) | METHOD FOR PERFORMING A FINANCIAL TRANSACTION THROUGH UNPROTECTED COMMON USE COMMUNICATION INFRASTRUCTURE AND DEVICE FOR THIS | |
CN107004077A (en) | Method and system for providing safe and independently operable biological characteristic authentication | |
CN103580852A (en) | Initialization of embedded secure elements | |
CN104618117A (en) | Two-dimension code based smart card device identity authentication device and method | |
CN107133539A (en) | Smart card personalization and relevant apparatus and system | |
RU2013132937A (en) | SYSTEM AND METHOD FOR ISSUING AN ELECTRONIC MEDICAL CARD | |
CN102710412A (en) | Method and device for compatible management of encryption algorithm | |
CN106557333A (en) | information collecting method and device | |
CN107870814A (en) | Method and apparatus for Content Management batch processing | |
CN110312054A (en) | Encipher-decipher method and relevant apparatus, the storage medium of image | |
KR102272928B1 (en) | Operating method for machine learning model using encrypted data and apparatus based on machine learning model | |
CN105159475A (en) | Character input method and device | |
CN100470572C (en) | Method and device for raising safety of data input | |
CN115001869A (en) | Encryption transmission method and system | |
Figueroa et al. | A RFID-based IoT Cybersecurity Lab in Telecommunications Engineering | |
CN101504622A (en) | Method and device for information interaction between threads | |
CN112632585B (en) | Webpage data transmission system, method, device, medium and equipment | |
WO2020077626A1 (en) | Method and device for recognizing finger vein information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |