CN106971113A - A kind of method and device for transmitting smart card script - Google Patents

A kind of method and device for transmitting smart card script Download PDF

Info

Publication number
CN106971113A
CN106971113A CN201710194814.7A CN201710194814A CN106971113A CN 106971113 A CN106971113 A CN 106971113A CN 201710194814 A CN201710194814 A CN 201710194814A CN 106971113 A CN106971113 A CN 106971113A
Authority
CN
China
Prior art keywords
data
card
script
information
data card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710194814.7A
Other languages
Chinese (zh)
Inventor
闫鑫
王楠楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Eastcompeace Technology Co Ltd
Original Assignee
Eastcompeace Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Eastcompeace Technology Co Ltd filed Critical Eastcompeace Technology Co Ltd
Priority to CN201710194814.7A priority Critical patent/CN106971113A/en
Publication of CN106971113A publication Critical patent/CN106971113A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/606Protecting data by securing the transmission between two devices or processes

Abstract

The invention discloses a kind of method for transmitting smart card script, instruction is read by sending first to data card, so that above-mentioned data card reads instruction according to above-mentioned first returns to the pre-stored data for including script data;Go out above-mentioned script data from above-mentioned extracting data;Above-mentioned script data is transmitted to smart card.Script data is extracted from the data card for the script data that is stored with, then script data is transmitted to corresponding smart card.Script data is stored into data card so that in the transmitting procedure of smart card script, user will not directly contact script in plain text, reduce the risk of script data leakage, and then make it that the security of smart card script transmission is higher.It can be seen that, the application is conducive to improving the security of smart card script transmission.In addition, the invention also discloses a kind of device for transmitting smart card script, having one-to-one advantage with the above method.

Description

A kind of method and device for transmitting smart card script
Technical field
The present invention relates to field of intelligent cards, more particularly to a kind of method and device for transmitting smart card script.
Background technology
With the progress of smart card techniques, the usage amount of smart card is also growing day by day.
Smart card when in use, might have the problems such as function is unsound, or need newly-increased public, also either modification Some personalizing parameters.Because smart card may have been handed over to the hand of client, therefore need to change intelligence by corresponding script Can card information, i.e., by script transmission to corresponding smart card, the received script of smart card operation, come complete reparation or It is to update operation.
The method of transmission smart card script of the prior art is usually what is completed by client, i.e., the card issuer of smart card will Script sends the downloading process for completing script plaintext by client to client in plain text.But, because client is directly participated under script Load process, therefore client can directly contact script in plain text.And due to may relate to some sensitive informations in script plaintext, for example, Key and corresponding confidential data.Client touches the leakage that script may result in sensitive information in plain text, i.e. content for script In the presence of the risk of leakage, namely in the transmitting procedure of smart card script, security is relatively low.How smart card script transmission is improved Security be this area urgent problem to be solved.
The content of the invention
It is an object of the invention to provide a kind of method and device for transmitting smart card script, it is therefore intended that solves existing skill Art is in the transmitting procedure of smart card script, the problem of security is relatively low.
In order to solve the above technical problems, the present invention provides a kind of method for transmitting smart card script, this method includes:
The first reading instruction is sent to data card, is pre-stored so that the data card reads to instruct to return according to described first The data for including script data;
Go out the script data from the extracting data;
The script data is transmitted to smart card.
Alternatively, it is described to go out the script data from the extracting data and include:
Judge whether the form of the data meets preset format;
When the form meets preset format, using the first preset-key, the data are decrypted, drawn described Script data.
Alternatively, described transmit the script data to smart card includes:
Using the second preset-key, by script data encryption write-in to the smart card.
Alternatively, instructed in described read to data card transmission first, so that the data card is read according to described first Instruction also includes before returning to the pre-stored data comprising script data:
The second reading instruction is sent to the data card, is returned in advance so that the data card reads instruction according to described second The cyclical information and essential information of storage;
According to the essential information and the cyclical information, judge whether the data card meets default cleared condition;
When the data card meets the default cleared condition, the script data in the data card is removed, is moved back Go out current transmission process;
When the data card does not meet the default cleared condition, subsequent step is performed;
Wherein, the information that the essential information is filled in by user when application makes the data card, the circulation letter Cease the information of the usage record to characterize the data card.
Alternatively, instructed in described read to data card transmission first, so that the data card is read according to described first Instruction also includes before returning to the pre-stored data comprising script data:
Authentication instruction is sent to the data card, is believed so that the data card returns to authenticating result according to the authentication instruction Breath;
Whether by the authentication result information compared with pre-stored authentication information pair, it is legal card to judge the data card;
When consistent, judge the data card for legal card;
When inconsistent, judge the data card for illegal card.
Alternatively, also include after judging the data card for legal card when consistent described:
More new command is sent to the data card, so that the data card updates the basic letter according to the more new command Breath and the cyclical information.
In addition, present invention also offers a kind of device for transmitting smart card script, the device includes:
First sending module, reads instruction, so that the data card is according to described first for sending first to data card Read instruction and return to the pre-stored data for including script data;
Extraction module, for going out the script data from the extracting data;
Transport module, for the script data to be transmitted to smart card.
Alternatively, the extraction module includes:
Judging unit, for judging whether the form of the data meets preset format;
Decryption unit, for when the form meets preset format, using the first preset-key, being carried out to the data Decryption, draws the script data.
Alternatively, the transport module includes:
Writing unit is encrypted, for utilizing the second preset-key, by script data encryption write-in to the smart card.
Alternatively, in addition to:
Second sending module, instruction is read for sending second to the data card, so that the data card is according to described Second, which reads instruction, returns to the pre-stored data comprising cyclical information and essential information;
Judge module, for according to the essential information and the cyclical information, judging whether the data card meets Default cleared condition;
Module is removed, for when the data card meets the default cleared condition, removing the institute in the data card Script data is stated, subsequent step is no longer performed, when the data do not meet the default cleared condition, subsequent step is performed;
Wherein, the information that the essential information is filled in by user when application makes the data card, the circulation letter Cease the information of the usage record to characterize the data card.
A kind of method and device for transmitting smart card script provided by the present invention, is read by sending first to data card Instruction fetch, so that above-mentioned data card reads instruction according to above-mentioned first returns to the pre-stored data for including script data;From upper State extracting data and go out above-mentioned script data;Above-mentioned script data is transmitted to smart card.From the data for the script data that is stored with Script data is extracted in card, then script data is transmitted to corresponding smart card.Script data is stored into data card, So that in the transmitting procedure of smart card script, user will not directly contact script in plain text, script data leakage is reduced Risk, and then make it that the security of smart card script transmission is higher.It can be seen that, the application is conducive to improving smart card script transmission Security.
Brief description of the drawings
, below will be to embodiment or existing for the clearer explanation embodiment of the present invention or the technical scheme of prior art The accompanying drawing used required in technology description is briefly described, it should be apparent that, drawings in the following description are only this hair Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
A kind of flow of the embodiment for the transmission smart card script method that Fig. 1 is provided by the embodiment of the present invention is shown It is intended to;
The flow of another embodiment for the transmission smart card script method that Fig. 2 is provided by the embodiment of the present invention Schematic diagram;
The structural schematic block diagram for the transmission smart card script device that Fig. 3 is provided by the embodiment of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, with reference to the accompanying drawings and detailed description The present invention is described in further detail.Obviously, 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 making creative work premise Lower obtained every other embodiment, belongs to the scope of protection of the invention.
Refer to Fig. 1, a kind of specific embodiment party for the transmission smart card script method that Fig. 1 is provided by the embodiment of the present invention The schematic flow sheet of formula, this method comprises the following steps:
Step 101:First is sent to data card and reads instruction, so that the data card is returned according to the described first reading instruction Return the pre-stored data for including script data;
It should be noted that above-mentioned data card can refer to the smart card for storing script data, you can with to script Its protective effect of data so that user will not directly contact plaintext script.Data fixture body can show as cpu chip card, Certainly, data card can also be embodied in other types of smart card, be not limited thereto.
Above-mentioned first reads the instruction that instruction can refer to read the script data in data card.First reads instruction can be with Sent by terminal, and corresponding terminal software can be installed in terminal, now, user can by terminal software and Data card, completes the transmission of smart card script.
It is understood that above-mentioned data are in addition to corresponding script data, other types of data can also be included. Certainly, above-mentioned data can also only include script data, now, the data that data card is returned as script data.
In order to further improve the security of script data, the compromised risk of reduction script data can reach Under the basis of some conditions, the automatic script data eliminated in data card, to prevent that script data is stolen or reveals.
Therefore in some embodiments of the invention, instructed in above-mentioned read to data card transmission first, so that the data Block and read before instruction returns to the pre-stored data comprising script data and can also include according to described first:To the data Card sends second and reads instruction so that the data card according to described second read instruction return pre-stored cyclical information and Essential information;According to the essential information and the cyclical information, judge whether the data card meets default cleared condition; When the data card meets the default cleared condition, the script data in the data card is removed, exits and works as forward pass Defeated process;When the data card does not meet the default cleared condition, subsequent step is performed;Wherein, the essential information is The information that user is filled in when application makes the data card, the cyclical information is the usage record for characterizing the data card Information.
It should be noted that above-mentioned second reading instruction can be embodied in SELECT instructions, now, terminal software can To send SELECT instructions to data card, data card can instruct according to SELECT and return to stored data message.
Above-mentioned essential information can refer to that the information that user is filled in when application makes data card, i.e. user are needing to repair , can be by filling in card issuer's request for data card when multiple smart card or modification smart card parameter.The process of application can be When user is by terminal software, i.e., user fills in corresponding application information, for example, application code, date of application, script name, Shen Please the information such as number of times and validity date.The application information generation essential information text that terminal software can be filled according to user Part, is stored on data card.
Above-mentioned cyclical information can refer to the information of the usage record of characterize data card, i.e. user when using data card, Terminal software can record current use information, for example, the present application number of times of data card, and the letter such as current time of day Breath, and by cyclical information record data card.
Above-mentioned default cleared condition can be any setting, i.e., it can set according to the information recorded in data card It is fixed, for example, the remaining access times that default cleared condition can be set as to data card are zero, i.e. access times when data card When being zero, the script data stored in data card is purged operation, and exit current transmission process.It is of course also possible to Default cleared condition is set as other, be not limited thereto.
It is understood that when judging that data card does not meet default cleared condition, the biography of script can be proceeded Defeated process, can also further be detected authentication step.
In order to ensure that current data card is legal card, i.e., the card that data card is sent out by legal card issuer is entering to travel far and wide Before this transmission, first data card can be authenticated, it is ensured that data card is legal card.
Therefore in some embodiments of the invention, instructed in above-mentioned read to data card transmission first, so that the data Blocking to read before instruction returns to the pre-stored data comprising script data according to described first also includes:Sent out to the data card Authentication is sent to instruct, so that the data card returns to authentication result information according to the authentication instruction;By the authentication result information Whether compared with pre-stored authentication information pair, it is legal card to judge the data card;When consistent, judge the data card for conjunction Method card;When inconsistent, judge the data card for illegal card.
It should be noted that above-mentioned authentication result information can be embodied in status word, i.e. terminal software can be to number Authentication instruction is sent according to card, the status word of storage can be returned to terminal software by data card.Certainly, authentication result information may be used also To be embodied in other information, it is not limited thereto.
Above-mentioned pre-stored authentication information can be embodied in status word, for example, the status word that can return to data card It is compared with the status word of terminal software, judges whether the status word that data card is returned is 9000.Returned when data card When status word is 9000, then may determine that data card is legal card;, then can be with when the status word that data card is returned not is 9000 Data card is judged for illegal card, i.e. the hair fastener of current data card and the card issuer of smart card is inconsistent, at this point it is possible to exit current Script transmission process.
It should be noted that judging whether data card meets default cleared condition and data card is carried out to authenticate without one Fixed sequencing, you can first to carry out the judgement of cleared condition, then authenticate, can also first authenticate, then be purged condition Judge.
Authentication detection can be carried out before data card to data card due to using every time, and authenticates detection mainly according to number The essential information and cyclical information stored according to card, therefore after being legal card judging data card, number can be updated According to the information in card, to ensure the correctness of authentication detection next time.
Therefore in some embodiments of the invention, above-mentioned when consistent, after judging above-mentioned data card for legal card also Including:More new command is sent to the data card, so that the data card updates the essential information according to the more new command And the cyclical information.
It is understood that data card can after the updating, in order to ensure the information one in terminal software and data card Cause, information after renewal can be returned to terminal software.Certainly, terminal software can also active synchronization fresh information.
Step 102:Go out the script data from the extracting data;
It should be evident that the script data that is stored can be by encryption or without adding in data card Close.
Preferably, in order to further improve the security of script data, script can be encrypted.Now, reading Take during script data, it is necessary to which data are decrypted.
Therefore in some embodiments of the invention, the above-mentioned process for going out the script data from the extracting data can be with Specially:Judge whether the form of the data meets preset format;It is pre- using first when the form meets preset format If key, the data are decrypted, the script data is drawn.
It should be noted that above-mentioned preset format can be embodied in TLV (Tag, Length, Value), can also have Body shows as other data formats, is not limited thereto.And when data format does not meet preset format, it may be determined that it is current The data read are invalid data, exit current transmission process.
It should be evident that the encryption of data and decryption technology are technologies well-known to those skilled in the art, herein Repeat no more.
Step 103:The script data is transmitted to smart card.
It should be noted that script data can be write direct into smart card, write-in can also be encrypted.
Preferably, in order to further improve the security of script data, script encryption can be write to smart card.Therefore In some embodiments of the present invention, the above-mentioned process of transmitting the script data to smart card can be specially:Utilize second Preset-key, by script data encryption write-in to the smart card.
Specifically, terminal software can be parsed to script data, and be write in the way of encryption to smart card.
The method for the transmission smart card script that the embodiment of the present invention is provided, is referred to by sending first to data card and reading Order, so that above-mentioned data card reads instruction according to above-mentioned first returns to the pre-stored data for including script data;From above-mentioned number Above-mentioned script data is extracted in;Above-mentioned script data is transmitted to smart card.From the data card for being stored with script data Script data is extracted, then script data is transmitted to corresponding smart card.Script data is stored into data card so that In the transmitting procedure of smart card script, user will not directly contact script in plain text, it is to avoid the risk of script data leakage, And then make it that the security of smart card script transmission is higher.As can be seen that this method is conducive to improving smart card script transmission Security.
The transmission of smart card script can jointly be completed by data card and supporting terminal software, and user can utilize Script required for terminal software application, and write script to smart card by terminal software, complete the reparation to smart card The either operation such as change information.
, below will knot in order to preferably introduce the smart card script transmission process that terminal software and data card are completed jointly Close Fig. 2 and explanation, another specific implementation for the smart card script transmission method that Fig. 2 is provided by the embodiment of the present invention is introduced The schematic flow sheet of mode, this method comprises the following steps:
Step 201:Terminal software sends AID orders to data card, and data card returns to stored base according to AID orders This information and cyclical information;
It is understood that data card can refer to the card issuer of smart card, the application documents filled according to user, institute A kind of cpu chip card made.And the process of user's application can be specially:Data card application circle opened a terminal in software Face, fills in corresponding application information, for example script name, applicant, request times and, terminal software automatically generates application Code, date of application;User can export corresponding application documents, and application documents are sent to the card issuer of smart card.
The application documents of user can be directed into terminal software by card issuer, fill in corresponding information, for example, card sending mechanism Information, validity date etc., then click on and make, then can complete the making of data card.
And the file stored in data card can have key file, essential information file, cycle index file and number According to file.Key file its can be used for encryption write-in data, the safety certification of ciphertext data and data card.In key file The first preset-key, the second preset-key and master control key can be included, the safety that master control key is mainly used in data card is recognized Card process.And in order to ensure the uniqueness of key, key can be based on script name generation.
The application documents generation that essential information file can be filled in by user, it can include application code, request times And the information such as date of application.Cycle index file can include the information such as present application number of times and current time of day.Number Mainly include corresponding script file according to file.
It should be evident that the length and type of various types of data in data card can be according to actual storage situations And set, it will not be repeated here.
Step 202:Terminal software judges that the residue of current data card is used according to the essential information and cyclical information Whether number of times is zero, if zero, then the data for the card that clears data exit current transmission process, if not zero, then into step 203;
It is understood that in order to preferably confirm whether data card is legal card, can also confirm in data card After remaining access times are not zero, can also utilize application code, validity date and software version, judge data card whether be Illegal card.
Step 203:Terminal software sends authentication order to data card, and data card is ordered according to authentication, returns to corresponding mirror Weigh object information;
It should be evident that the sequencing of step 202 and step 203 can be exchanged mutually.
Step 204:According to the authentication result information, whether be illegal card, if illegal card, then exit if judging data card Current transmission process, if not illegal card, then into step 205;
It should be noted that the detailed process of step 203 and step 204 may refer to corresponding contents above, herein not Repeat again.
Step 205:Terminal software sends more new command to data card, and data card updates what is stored according to more new command Information, and more will return to terminal software by new record;
Specifically, terminal software can be first by the request times unit that subtracts one, then fresh information, and it can be by the side of encryption Formula, updates the data the essential information file and cycle index file in card.And cycle index file can be especially by the time Updated with timer.
Step 206:Terminal software sends script data to data card and reads instruction, and data card is read according to script data to be referred to Order, returns to corresponding data;
Step 207:Terminal software judges whether the form of data meets preset format, if not meeting, judges current number According to for invalid data, current transmission process is exited, if meeting, into step 208;
It is understood that the detailed process of step 206 and step 207 may refer to corresponding contents above, herein not Repeat again.
Step 208:Terminal software utilizes the first preset-key, and data are decrypted with operation, draws script data, and will Script data is kept in into storehouse;
Step 209:Terminal software is parsed to script data, and utilizes the second preset-key, and script data is write To smart card.
It should be noted that before script data is write into smart card, the execution number of times of script data can also be judged Whether maximum times are alreadyd exceed, if not having, script data can be write to smart card, if alreading exceed, can exited Current transmission process.
The method for the transmission smart card script that the embodiment of the present invention is provided, script data is stored to data card, and profit With terminal software, script data is transmitted to needing to repair in the either smart card of modification information, it is to avoid user directly connects Contact script in plain text, reduce the compromised risk of script, improve the security of smart card script transmission process.
Transmission smart card script device provided in an embodiment of the present invention is introduced below, transmission intelligence described below The card base present apparatus can be mutually to should refer to above-described transmission smart card script method.
The structural schematic block diagram for the transmission smart card script device that Fig. 3 is provided by the embodiment of the present invention, reference picture 3 is transmitted Smart card script device can include:
First sending module 301, reads for sending first to data card and instructs, so that the data card is according to described the One, which reads instruction, returns to the pre-stored data for including script data;
Extraction module 302, for going out the script data from the extracting data;
Transport module 303, for the script data to be transmitted to smart card.
Alternatively, the extraction module includes:
Judging unit, for judging whether the form of the data meets preset format;
Decryption unit, for when the form meets preset format, using the first preset-key, being carried out to the data Decryption, draws the script data.
Alternatively, the transport module includes:
Writing unit is encrypted, for utilizing the second preset-key, by script data encryption write-in to the smart card.
Alternatively, in addition to:
Second sending module, instruction is read for sending second to the data card, so that the data card is according to described Second, which reads instruction, returns to the pre-stored data comprising cyclical information and essential information;
Judge module, for according to the essential information and the cyclical information, judging whether the data card meets Default cleared condition;
Module is removed, for when the data card meets the default cleared condition, removing the institute in the data card Script data is stated, subsequent step is no longer performed, when the data do not meet the default cleared condition, subsequent step is performed;
Wherein, the information that the essential information is filled in by user when application makes the data card, the circulation letter Cease the information of the usage record to characterize the data card.
The device for the transmission smart card script that the embodiment of the present invention is provided, is referred to by sending first to data card and reading Order, so that above-mentioned data card reads instruction according to above-mentioned first returns to the pre-stored data for including script data;From above-mentioned number Above-mentioned script data is extracted in;Above-mentioned script data is transmitted to smart card.From the data card for being stored with script data Script data is extracted, then script data is transmitted to corresponding smart card.Script data is stored into data card so that In the transmitting procedure of smart card script, user will not directly contact script in plain text, it is to avoid the risk of script data leakage, And then make it that the security of smart card script transmission is higher.As can be seen that the device is conducive to improving smart card script transmission Security.
The embodiment of each in this specification is described by the way of progressive, what each embodiment was stressed be with it is other Between the difference of embodiment, each embodiment same or similar part mutually referring to.For being filled disclosed in embodiment For putting, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part Explanation.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, generally describes the composition and step of each example according to function in the above description.These Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty Technical staff can realize described function to each specific application using distinct methods, but this realization should not Think beyond the scope of this invention.
Directly it can be held with reference to the step of the method or algorithm that the embodiments described herein is described with hardware, processor Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The method and device to transmission smart card script provided by the present invention are described in detail above.Herein Apply specific case to be set forth the principle and embodiment of the present invention, the explanation of above example is only intended to help Understand the method and its core concept of the present invention.It should be pointed out that for those skilled in the art, not taking off On the premise of from the principle of the invention, some improvement and modification can also be carried out to the present invention, these are improved and modification also falls into this In invention scope of the claims.

Claims (10)

1. a kind of method for transmitting smart card script, it is characterised in that including:
First is sent to data card and reads instruction, so that the data card reads instruction according to described first returns to pre-stored bag Data containing script data;
Go out the script data from the extracting data;
The script data is transmitted to smart card.
2. the method as described in claim 1, it is characterised in that described to go out the script data bag from the extracting data Include:
Judge whether the form of the data meets preset format;
When the form meets preset format, using the first preset-key, the data are decrypted, the script is drawn Data.
3. the method as described in claim 1, it is characterised in that described transmit the script data to smart card includes:
Using the second preset-key, by script data encryption write-in to the smart card.
4. the method as described in any one of claims 1 to 3, it is characterised in that refer in described read to data card transmission first Order, is also wrapped so that the data card is read before instruction returns to the pre-stored data comprising script data according to described first Include:
The second reading instruction is sent to the data card, is pre-stored so that the data card reads to instruct to return according to described second Cyclical information and essential information;
According to the essential information and the cyclical information, judge whether the data card meets default cleared condition;
When the data card meets the default cleared condition, the script data in the data card is removed, exits and works as Preceding transmitting procedure;
When the data card does not meet the default cleared condition, subsequent step is performed;
Wherein, the essential information by user the information filled in when application makes the data card, the cyclical information is Characterize the information of the usage record of the data card.
5. method as claimed in claim 4, it is characterised in that instructed in described read to data card transmission first, so that institute Stating data card and being read according to described first before instruction returns to the pre-stored data comprising script data also includes:
Authentication instruction is sent to the data card, so that the data card returns to authentication result information according to the authentication instruction;
Whether by the authentication result information compared with pre-stored authentication information pair, it is legal card to judge the data card;
When consistent, judge the data card for legal card;
When inconsistent, judge the data card for illegal card.
6. method as claimed in claim 5, it is characterised in that described when consistent, judge the data card for legal card Also include afterwards:
Send more new command to the data card so that the data card according to the more new command renewal essential information with And the cyclical information.
7. a kind of device for transmitting smart card script, it is characterised in that including:
First sending module, instruction is read for sending first to data card, so that the data card is read according to described first Instruction returns to the pre-stored data for including script data;
Extraction module, for going out the script data from the extracting data;
Transport module, for the script data to be transmitted to smart card.
8. device as claimed in claim 7, it is characterised in that the extraction module includes:
Judging unit, for judging whether the form of the data meets preset format;
Decryption unit, for when the form meets preset format, using the first preset-key, being solved to the data It is close, draw the script data.
9. device as claimed in claim 7, it is characterised in that the transport module includes:
Writing unit is encrypted, for utilizing the second preset-key, by script data encryption write-in to the smart card.
10. the device as described in any one of claim 7 to 9, it is characterised in that also include:
Second sending module, reads instruction, so that the data card is according to described second for sending second to the data card Read instruction and return to the pre-stored data comprising cyclical information and essential information;
Judge module, for according to the essential information and the cyclical information, judging whether the data card meets default Cleared condition;
Module is removed, for when the data card meets the default cleared condition, removing the pin in the data card Notebook data, no longer performs subsequent step, when the data do not meet the default cleared condition, performs subsequent step;
Wherein, the essential information by user the information filled in when application makes the data card, the cyclical information is Characterize the information of the usage record of the data card.
CN201710194814.7A 2017-03-28 2017-03-28 A kind of method and device for transmitting smart card script Pending CN106971113A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710194814.7A CN106971113A (en) 2017-03-28 2017-03-28 A kind of method and device for transmitting smart card script

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710194814.7A CN106971113A (en) 2017-03-28 2017-03-28 A kind of method and device for transmitting smart card script

Publications (1)

Publication Number Publication Date
CN106971113A true CN106971113A (en) 2017-07-21

Family

ID=59337106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710194814.7A Pending CN106971113A (en) 2017-03-28 2017-03-28 A kind of method and device for transmitting smart card script

Country Status (1)

Country Link
CN (1) CN106971113A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113033221A (en) * 2021-03-29 2021-06-25 金邦达有限公司 Smart card issuing method, computer device and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060101334A1 (en) * 2004-10-21 2006-05-11 Trend Micro, Inc. Controlling hostile electronic mail content
CN101150707A (en) * 2006-09-19 2008-03-26 中兴通讯股份有限公司 A method for realizing secure multimedia broadcast
CN101309271A (en) * 2008-07-09 2008-11-19 大唐微电子技术有限公司 User recognition modular service publishing method and system based on wireless communication
CN101641677A (en) * 2005-04-14 2010-02-03 晟碟以色列有限公司 Content delivery system
CN102033764A (en) * 2010-11-30 2011-04-27 公安部第三研究所 COS (Class of Service) firmware upgrading method of TF (T-Flash) card
CN102647706A (en) * 2012-01-18 2012-08-22 中国联合网络通信集团有限公司 Method and device for updating file content of intelligent card
CN105991276A (en) * 2015-01-27 2016-10-05 北京数码视讯科技股份有限公司 Key transmission system, method and apparatus for integrated circuit card
CN106056017A (en) * 2016-04-29 2016-10-26 珠海保税区星汉智能卡股份有限公司 Intelligent card COS encrypting and downloading system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060101334A1 (en) * 2004-10-21 2006-05-11 Trend Micro, Inc. Controlling hostile electronic mail content
CN101641677A (en) * 2005-04-14 2010-02-03 晟碟以色列有限公司 Content delivery system
CN101150707A (en) * 2006-09-19 2008-03-26 中兴通讯股份有限公司 A method for realizing secure multimedia broadcast
CN101309271A (en) * 2008-07-09 2008-11-19 大唐微电子技术有限公司 User recognition modular service publishing method and system based on wireless communication
CN102033764A (en) * 2010-11-30 2011-04-27 公安部第三研究所 COS (Class of Service) firmware upgrading method of TF (T-Flash) card
CN102647706A (en) * 2012-01-18 2012-08-22 中国联合网络通信集团有限公司 Method and device for updating file content of intelligent card
CN105991276A (en) * 2015-01-27 2016-10-05 北京数码视讯科技股份有限公司 Key transmission system, method and apparatus for integrated circuit card
CN106056017A (en) * 2016-04-29 2016-10-26 珠海保税区星汉智能卡股份有限公司 Intelligent card COS encrypting and downloading system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113033221A (en) * 2021-03-29 2021-06-25 金邦达有限公司 Smart card issuing method, computer device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106487511A (en) Identity identifying method and device
CN107925572A (en) Secure binding of the software application to communicator
CN106527673A (en) Method and apparatus for binding wearable device, and electronic payment method and apparatus
CN102523095B (en) User digital certificate remote update method with intelligent card protection function
CN102930435A (en) Authentication method and system for mobile payment
CN101815292B (en) Device and method for protecting data of mobile terminal
CN106100851B (en) Password management system, intelligent wristwatch and its cipher management method
AU8545398A (en) Method for managing a secure terminal
CN104410968A (en) Portable universal integrated circuit card (UICC) subscriber terminal equipment and identity authentication system thereof
CN109379360A (en) Auditing method, electronic device and computer readable storage medium
CN110177001A (en) A kind of NFC circle deposit method, system and storage medium based on soft certificate
CN109617678A (en) Intelligent lock system and password store method, device, equipment, computer media
CN106971113A (en) A kind of method and device for transmitting smart card script
JP2002216081A (en) Method for controlling ic card data browsing, information terminal equipment, computer program and server
CN104980913B (en) Protect the method and terminal device of data information security in terminal device
CN110555693B (en) System and method for realizing two-dimension code safety by using SIM card
CN105989477A (en) Data interaction method
CN109345255A (en) Noninductive method of payment, noninductive payment mechanism and bank's background system
CN108809925A (en) POS terminal data encryption and transmission method, terminal device and storage medium
CN105989475A (en) Data interaction method
CN105991530A (en) Data interaction system
CN105991527A (en) Data interaction system
US20220335420A1 (en) Memory management in a transaction processing device
CN105991543B (en) Data interactive method
CN116684111A (en) Two-dimensional code identity authentication method, device and system

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170721