CN104657144B - A kind of method for realizing intelligent card data tracking - Google Patents

A kind of method for realizing intelligent card data tracking Download PDF

Info

Publication number
CN104657144B
CN104657144B CN201510100239.0A CN201510100239A CN104657144B CN 104657144 B CN104657144 B CN 104657144B CN 201510100239 A CN201510100239 A CN 201510100239A CN 104657144 B CN104657144 B CN 104657144B
Authority
CN
China
Prior art keywords
intelligent card
interface
storehouse
real
interface storehouse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510100239.0A
Other languages
Chinese (zh)
Other versions
CN104657144A (en
Inventor
张六
张六一
张汉就
郑爱华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201510100239.0A priority Critical patent/CN104657144B/en
Publication of CN104657144A publication Critical patent/CN104657144A/en
Application granted granted Critical
Publication of CN104657144B publication Critical patent/CN104657144B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a kind of method for realizing intelligent card data tracking, it includes:The type for the intelligent card read/write device that analysis application program of intelligent card can use, so that it is determined that " the real interface storehouse " of intelligent card read/write device, according to " real interface storehouse " exploitation " proxy interface storehouse ", by the output of the information such as input, output parameter and function return value while " proxy interface storehouse " interacts with " real interface storehouse ", so as to reach the purpose that data tracking is carried out to smart card, the using effect of smart card tracker is realized.The present invention can largely reduce product development cost, be easy to product promotion to use.

Description

A kind of method for realizing intelligent card data tracking
Technical field
The present invention relates to technical field of intelligent card, and in particular to be a kind of new method for realizing smart card tracking.
Background technology
Smart card is also known as " integrated circuit card ", and English name is " Integrated Circuit Card " or " Smart Card”.At present, the application of smart card is more and more extensive.When the smart card application software pair that one runs in computer system When the operation of smart card goes wrong, in order to investigate the convenience of problem, usually using hardware device, (such as oscillograph, smart card track Instrument etc.) to the method for smart card progress data tracking.
Method one:Carry out the tracking of smart card electric signal using oscillograph so as to analyze and solve smart card and other equipment it Between interaction problems.
Method two:It is tracked using smart card hardware tracker so as to analyze and solve between smart card and other equipment Interaction problems.
Shortcoming:
Method one:Although oscillograph is professional, mostly very heavy, the line between other equipment is also very complicated.Tracking Be more original electric signal, problem analysis is comparatively laborious and time-consuming.
Method two:Hardware tracker is compact again also or a hardware device to be not only inconvenient to carry using it, but also Need to carry out physical connection with computer, smart card and read write line.The sometimes loose contact between hardware device can also give with Track result interferes, and uses inconvenience.
PC/SC specifications are that the PC/SC working groups of Microsoft's smart card manufacturer composition famous with some propose, there is provided A standard, open DLL (API) based on WINDOWS platform.Therefore, the smart card of PC/SC specifications is met Read write line has good versatility, and most of smart card application softwares can be grasped using the read write line for meeting PC/SC specifications Make smart card.
The content of the invention
In view of described in background technology, it is an object of the invention to provide a kind of method of new intelligent card data tracking, Cost is cheap, does not use hardware device additionally, and can reach the using effect as hardware tracker.
The purpose of the present invention is achieved through the following technical solutions:
A kind of method for realizing smart card tracking, it comprises the following steps:
Study certain application program of intelligent card;
The type for the intelligent card read/write device that the application program of intelligent card can use is analyzed, judges the smart card reader Whether device belongs to the intelligent card read/write device for meeting PC/SC specifications;
If judged result is yes, the then entitled winscard.dll of file in " real interface storehouse ";
If judged result is no, continue to judge whether the intelligent card read/write device is provided with dynamic base or similar dynamic base form Application and development interface API and interface function statement;
If judged result is yes, then application and development interface API is exactly " real interface storehouse ";
A dynamic base is developed according to " real interface storehouse ", is referred to as in " proxy interface storehouse ", filename and " real interface Storehouse " is identical, and which includes with " real interface storehouse " identical interface function state, " proxy interface storehouse " callings " very While homonymous interfaces function in real interface library ", will input, output parameter and function return value etc. be output to one it is specific File is as tracking result;
In catalogue by described in where " proxy interface storehouse " deposit application program of intelligent card.
According to the above method, the application program of intelligent card is run, tracking result is just automatically logged into specific file So as to reach the purpose of intelligent card data tracking.For example tracking performs APDU interface function and can obtain the APDU of input and refer to Order, the intelligent card state word and response of output, just as the same effect of use hardware tracker.
Input, output parameter and the function return value are typically exactly that the APDU in Application Protocol Data Unit is instructed, rung It should be worth, the content such as status word.
If it is determined that the intelligent card read/write device does not provide the application and development interface API and interface function sound of dynamic base form It is bright, or the interface API provided is not the form of dynamic base or similar dynamic base, then does not meet the precondition of the present invention.
Therefore, using the method for the present invention, have the advantage that:
(1) do not increase the using effect that smart card tracker can be achieved in any hardware device and physical connection in addition, keep away The various problems using the carrying caused by hardware device, connection etc. are exempted from.
(2) tracking result is generated in real time, and tracking object is had no effect, avoids and is set using hardware such as hardware trackers The standby data delay phenomenon occurred and the interference problem to tracking object.
(3) exploitation and manufacturing cost of the smart card tracker without hardware device realized of the present invention, only software development into This, cost is cheap, it is easy to promotes.
Brief description of the drawings
Fig. 1 is the system principle diagram of the embodiment of the present invention;
Fig. 2 is the workflow diagram of the embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
The present embodiment provides a kind of new method for realizing smart card tracking, does not use any hardware device additionally, just It can reach at present using the same technique effect of smart card hardware tracker.
Refer to shown in Fig. 1 and Fig. 2, the method for the present embodiment comprises the following steps:
Study certain application program of intelligent card;
The type for the intelligent card read/write device that the application program of intelligent card can use is analyzed, judges the smart card reader Whether device belongs to the intelligent card read/write device for meeting PC/SC specifications;
If judged result is yes, the then entitled winscard.dll of file in " real interface storehouse ";
If judged result is no, continue to judge whether the intelligent card read/write device is provided with dynamic base or similar dynamic base form Application and development interface API and interface function statement;
If judged result is yes, then application and development interface API is exactly " real interface storehouse ";If it is determined that the smart card is read Application and development interface API and interface function statement that device does not provide dynamic base form are write, or the interface API provided is not State storehouse or the form of similar dynamic base, then the precondition of the present invention is not met;
A dynamic base is developed according to " real interface storehouse ", is referred to as in " proxy interface storehouse ", filename and " real interface Storehouse " is identical, and which includes with " real interface storehouse " identical interface function state, " proxy interface storehouse " callings " very While homonymous interfaces function in real interface library ", will input, output parameter and function return value etc. be output to one it is specific File is as tracking result;The input/output argument and function return value are typically exactly in Application Protocol Data Unit (APDU) APDU instructions, response, the content such as status word;Therefore the purpose of intelligent card data tracking is can reach, realizes hardware tracker Using effect;
In catalogue by described in where " proxy interface storehouse " deposit application program of intelligent card.
With the above method, run application program of intelligent card, tracking result be just automatically logged into specific file so as to Reach the purpose of intelligent card data tracking, realize the using effect of hardware tracker.For example tracking performs APDU interface function The APDU instructions of input, the intelligent card state word and response of output, just as the same using hardware tracker can be obtained Effect.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.

Claims (3)

  1. A kind of 1. method for realizing intelligent card data tracking, it is characterised in that:It comprises the following steps:
    The type for the intelligent card read/write device that certain application program of intelligent card can use is analyzed, whether judges the intelligent card read/write device Belong to the intelligent card read/write device for meeting PC/SC specifications;
    If judged result is yes, the then entitled winscard.dll of the file in real interface storehouse;
    If judged result is no, continue to judge the application and development the interface whether intelligent card read/write device is provided with dynamic base form API and interface function statement;
    If judged result is yes, then application and development interface API is exactly real interface storehouse;
    A dynamic base, referred to as proxy interface storehouse are developed according to real interface storehouse, filename is identical with real interface storehouse, and Which includes being stated with real interface storehouse identical interface function, that is called in proxy interface storehouse in real interface storehouse of the same name connects While mouthful function, input, output parameter and function return value etc. are output to a specific file as tracking result;
    The proxy interface stock is entered in the catalogue where application program of intelligent card.
  2. 2. the method according to claim 1 for realizing intelligent card data tracking, it is characterised in that:
    The input, output parameter and function return value be typically exactly APDU instructions in Application Protocol Data Unit, response, The contents such as status word.
  3. 3. the method according to claim 1 for realizing intelligent card data tracking, it is characterised in that:If it is determined that the smart card Read write line does not provide application and development interface API and the interface function statement of dynamic base form, or the interface API provided is not Dynamic base form, then the precondition of the present invention is not met.
CN201510100239.0A 2015-03-06 2015-03-06 A kind of method for realizing intelligent card data tracking Active CN104657144B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510100239.0A CN104657144B (en) 2015-03-06 2015-03-06 A kind of method for realizing intelligent card data tracking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510100239.0A CN104657144B (en) 2015-03-06 2015-03-06 A kind of method for realizing intelligent card data tracking

Publications (2)

Publication Number Publication Date
CN104657144A CN104657144A (en) 2015-05-27
CN104657144B true CN104657144B (en) 2018-02-13

Family

ID=53248330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510100239.0A Active CN104657144B (en) 2015-03-06 2015-03-06 A kind of method for realizing intelligent card data tracking

Country Status (1)

Country Link
CN (1) CN104657144B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101126793A (en) * 2007-09-18 2008-02-20 东信和平智能卡股份有限公司 Intelligent card test system and method
CN101192141A (en) * 2006-11-20 2008-06-04 北京书生国际信息技术有限公司 Method for packaging UOML into application program interface
CN102495797A (en) * 2011-11-25 2012-06-13 大唐微电子技术有限公司 Smart card testing device and method
CN102520272A (en) * 2011-11-24 2012-06-27 大唐微电子技术有限公司 Test system of power down protection function of smart card and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8061594B2 (en) * 2005-08-12 2011-11-22 Pharmasmart Llc Deactivatable/reactivatable smart card recording apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192141A (en) * 2006-11-20 2008-06-04 北京书生国际信息技术有限公司 Method for packaging UOML into application program interface
CN101126793A (en) * 2007-09-18 2008-02-20 东信和平智能卡股份有限公司 Intelligent card test system and method
CN102520272A (en) * 2011-11-24 2012-06-27 大唐微电子技术有限公司 Test system of power down protection function of smart card and method
CN102495797A (en) * 2011-11-25 2012-06-13 大唐微电子技术有限公司 Smart card testing device and method

Also Published As

Publication number Publication date
CN104657144A (en) 2015-05-27

Similar Documents

Publication Publication Date Title
AU2021290403B2 (en) Mobile application based account aggregation
WO2017025056A1 (en) Method and system for realizing data tracking by means of software development kit
CN107924679A (en) Delayed binding during inputting understanding processing in response selects
CN107390983B (en) Service instruction execution method, client and storage medium
CN101506801A (en) Enabling web analytics for interactive web applications
US20070130119A1 (en) User/process runtime system trace
US11550698B2 (en) Providing additional stack trace information for time-based sampling in asynchronous execution environments
NZ531861A (en) Method and system for characterization of online behavior
CN102902621A (en) Application performance measurement and reporting
US20120143677A1 (en) Discoverability Using Behavioral Data
US10360140B2 (en) Production sampling for determining code coverage
US20110088045A1 (en) Linking transactions
CN108111364B (en) Service system testing method and device
CN107766106B (en) The method and apparatus for generating configuration file
US20110087722A1 (en) Stitching transactions
WO2020015112A1 (en) Product function recommendation method, terminal device and computer-readable storage medium
CN104657144B (en) A kind of method for realizing intelligent card data tracking
KR101611433B1 (en) Performance testing method, performance testing apparatus performing the same and storage media sotring the same
US9117013B2 (en) Combining monitoring techniques
KR101584225B1 (en) Method, system and recording medium for providing recommended words on messenger
CN109992614B (en) Data acquisition method, device and server
CN103309681B (en) A kind of open platform client software operational approach and device thereof
US11281475B2 (en) Reusable asset performance estimation
US20110087458A1 (en) Processing transaction timestamps
CN112181407A (en) Service implementation processing method, device, system, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant