CN112835836B - Method and device for information interaction between host and smart card - Google Patents

Method and device for information interaction between host and smart card Download PDF

Info

Publication number
CN112835836B
CN112835836B CN202110123164.3A CN202110123164A CN112835836B CN 112835836 B CN112835836 B CN 112835836B CN 202110123164 A CN202110123164 A CN 202110123164A CN 112835836 B CN112835836 B CN 112835836B
Authority
CN
China
Prior art keywords
ccid
service
host
instruction
response
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
CN202110123164.3A
Other languages
Chinese (zh)
Other versions
CN112835836A (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.)
Zhengzhou Xinda Jiean Information Technology Co Ltd
Original Assignee
Zhengzhou Xinda Jiean Information 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 Zhengzhou Xinda Jiean Information Technology Co Ltd filed Critical Zhengzhou Xinda Jiean Information Technology Co Ltd
Priority to CN202110123164.3A priority Critical patent/CN112835836B/en
Publication of CN112835836A publication Critical patent/CN112835836A/en
Application granted granted Critical
Publication of CN112835836B publication Critical patent/CN112835836B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Abstract

The invention provides a method and a device for information interaction between a host and a smart card. The operating system of the host is a Linux system, and the method comprises the following steps: step 1: the host calls a service request interface to generate service request information, and then calls an APDU command interface to package the service request information to generate an APDU service command; step 2: the host calls a CCID command interface to package the APDU service command to generate a CCID service command; and step 3: the host calls an ioctl function according to a set calling mode to send the CCID service instruction to the smart card, receives a CCID response instruction which is returned by the smart card and is related to the CCID service instruction, and analyzes the CCID response instruction to obtain service response information; the calling mode comprises the following steps: synchronous calling mode and asynchronous calling mode. The invention can access the intelligent card of CCID protocol under Linux platform, realize data communication and improve service processing speed.

Description

Method and device for information interaction between host and smart card
Technical Field
The invention relates to the technical field of data communication, in particular to a method and a device for information interaction between a host and a smart card.
Background
The CCID (chip card interface device) provides a function of realizing mutual communication between the intelligent card read-write equipment and a host or other embedded hosts. APDUs (application protocol data units) are the communication formats of applications inside the card and applications outside the card. At present, the smart card of the CCID protocol can be directly accessed through an API (application program interface) under a Windows platform, but the smart card of the CCID protocol cannot be directly accessed under a Linux platform, data communication cannot be carried out with the smart card, and the problem of low service processing speed exists.
Disclosure of Invention
Aiming at the problems that a CCID protocol smart card cannot be accessed under a Linux platform and the service processing speed is low, the invention provides the method and the device for information interaction between the host and the smart card, so that the CCID protocol smart card can be accessed under the Linux platform, data communication is realized, and the service processing speed can be improved.
The invention provides a method for information interaction between a host and a smart card, wherein an operating system of the host is a Linux system, and the method comprises the following steps:
step 1: the host calls a service request interface to generate service request information, and then calls an APDU command interface to package the service request information to generate an APDU service command;
step 2: the host calls a CCID command interface to package the APDU service command to generate a CCID service command;
and step 3: the host calls an ioctl function according to a set calling mode to send the CCID service instruction to the smart card, receives a CCID response instruction which is returned by the smart card and is related to the CCID service instruction, and analyzes the CCID response instruction to obtain service response information; the calling mode comprises the following steps: synchronous calling mode and asynchronous calling mode.
Further, step 3 specifically includes:
when a synchronous calling mode is adopted, the host firstly sends the CCID service instruction to the intelligent card by calling an ioctl function, then calls the ioctl function and keeps a waiting state until a CCID response instruction returned by the intelligent card is received, and continues to process subsequent related service information after analyzing the CCID response instruction to obtain service response information;
when an asynchronous calling mode is adopted, the host firstly sends the CCID service instruction to the intelligent card by calling an ioctl function, then immediately returns to continuously process subsequent related service information, receives instruction completion information, then calls the ioctl function to receive a CCID response instruction returned by the intelligent card, and then analyzes the CCID response instruction to obtain service response information.
Furthermore, after the intelligent card receives the CCID service instruction sent by the host, the intelligent card firstly analyzes the CCID service instruction, then performs related service processing to generate service response information, and then packages the service response information to generate the CCID response instruction and sends the CCID response instruction to the host.
Further, in step 3, the parsing, by the host, of the CCID response instruction specifically includes: and the host calls a CCID command interface to analyze the CCID response command to obtain an APDU response command, and then calls an APDU command interface to analyze the APDU response command to obtain service response information.
Furthermore, the operations of generating the APDU service command and the CCID service command by the host package, analyzing the CCID response command and the APDU response command by the host, and sending the CCID service command to the smart card and receiving the CCID response command returned by the smart card by the host are performed in the user space of the host.
Further, before generating the service request information, the method further includes: the host computer performs enumeration and connection opening operations on the smart card; after obtaining the service response information, the method further comprises: the host computer performs a disconnection closing operation on the smart card.
In another aspect, the present invention provides an apparatus for information interaction between a host and a smart card, including: the intelligent card comprises a host and an intelligent card, wherein the operating system of the host is a Linux system; the host comprises a service request interface module, an APDU instruction interface module, a CCID instruction interface module and a calling module;
the host is used for calling a service request interface module to generate service request information and then calling an APDU command interface module to package the service request information to generate an APDU service command; the APDU service instruction is also used for calling a CCID instruction interface module to package the APDU service instruction to generate a CCID service instruction; the intelligent card is used for sending the CCID service instruction to the intelligent card by calling an ioctl function through a calling module according to a set calling mode, receiving a CCID response instruction which is returned by the intelligent card and is related to the CCID service instruction, and analyzing the CCID response instruction to obtain service response information; the calling mode comprises the following steps: synchronous calling mode and asynchronous calling mode.
Further, the calling module comprises: a synchronous calling submodule and an asynchronous calling submodule;
correspondingly, the host is specifically configured to, when a synchronous calling mode is adopted, call an ioctl function to send the CCID service instruction to the smart card through the synchronous calling sub-module, then call the ioctl function and keep a waiting state until a CCID response instruction returned by the smart card is received, and continue to process subsequent related service information after the CCID response instruction is analyzed to obtain service response information; and the number of the first and second groups,
specifically, when an asynchronous calling mode is adopted, the ioctl function is called by the asynchronous calling sub-module to send the CCID service instruction to the smart card, then subsequent related service information is immediately returned and continuously processed, after instruction completion information is received, the ioctl function is called to receive a CCID response instruction returned by the smart card, and then the CCID response instruction is analyzed to obtain service response information.
Furthermore, the intelligent card comprises a CCID read-write module and a service processing module;
the CCID read-write module is used for analyzing the CCID service instruction after the intelligent card receives the CCID service instruction sent by the host; packaging the service response information returned by the service processing module to generate a CCID response instruction and then sending the CCID response instruction to the host;
and the service processing module is used for processing related services to generate service response information and returning the service response information to the CCID read-write module.
Further, the host is configured to analyze the CCID response instruction to obtain service response information, and specifically includes: the host is used for calling the CCID command interface module to analyze the CCID response command to obtain an APDU response command, and then the APDU command interface module analyzes the APDU response command to obtain service response information.
The invention has the beneficial effects that:
the method and the device for information interaction between the host and the smart card carry out data communication between the Linux host and the smart card of the CCID protocol in a synchronous calling mode and an asynchronous calling mode, and a caller selects the synchronous calling mode or the asynchronous calling mode according to the requirement of the caller's own service request: the method has no strict relation on the time sequence of the service request, has high requirement on the processing efficiency of the service request, and can adopt an asynchronous calling mode under the condition that the next service is continuously processed while one service is processed, thereby reducing the user state blocking time and greatly improving the processing speed of the service; for the condition that the service request process is strictly controlled, a synchronous calling mode can be selected, the service process can be controlled, abnormal information can be easily obtained and processed, and the uncontrollable accident condition is avoided. By setting two calling modes to call the ioctl function, the intelligent card of the CCID protocol can be accessed under the Linux platform, data communication is achieved, and the service processing speed can be improved.
Drawings
Fig. 1 is a schematic flowchart illustrating a method for information interaction between a host and a smart card according to an embodiment of the present invention;
fig. 2 is a second schematic flowchart of a method for information interaction between a host and a smart card according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for information interaction between a host and a smart card according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
As shown in fig. 1, an embodiment of the present invention provides a method for information interaction between a host and a smart card, where an operating system of the host is a Linux system, the host establishes a communication connection with the smart card, and the method for information interaction between the host and the smart card includes:
s101: the host calls a service request interface to generate service request information, and then calls an APDU command interface to package the service request information to generate an APDU service command;
s102: the host calls a CCID command interface to package the APDU service command to generate a CCID service command;
s103: the host calls an ioctl function according to a set calling mode to send the CCID service instruction to the smart card, receives a CCID response instruction which is returned by the smart card and is related to the CCID service instruction, and analyzes the CCID response instruction to obtain service response information; the calling mode comprises the following steps: synchronous calling mode and asynchronous calling mode.
Specifically, the synchronous call is to wait for the completion of the execution of the previous service request and return a response message before the next service request program continues to execute; an asynchronous call is a call that returns immediately after being called so that other operations can be performed while the last service request was processed.
The method for information interaction between the host and the smart card provided by the embodiment of the invention carries out data communication between the Linux host and the smart card of the CCID protocol in a synchronous calling mode and an asynchronous calling mode, and a caller selects the synchronous calling mode or the asynchronous calling mode according to the requirement of the caller's own service request: for example, there is no strict relation in time sequence for the service request, but there is a high requirement for the service request processing efficiency, and an asynchronous call mode can be adopted when a service needs to be processed while the next service continues to be processed, so that the user state blocking time can be reduced, and the service processing speed can be greatly improved; for example, for the case that the service request process is strictly controlled, a synchronous calling mode can be selected, the service flow can be controlled, abnormal information can be easily obtained and processed, and the uncontrollable accident situation is avoided.
Example 2
On the basis of the above embodiment, in order to better implement information interaction between the host and the smart card, as shown in fig. 2, the embodiment of the present invention further defines a synchronous call mode and an asynchronous call mode, and specifically includes:
when a synchronous calling mode is adopted, the host firstly sends the CCID service instruction to the intelligent card by calling an ioctl function, then calls the ioctl function and keeps a waiting state until a CCID response instruction returned by the intelligent card is received, and continues to process subsequent related service information after analyzing the CCID response instruction to obtain service response information;
when an asynchronous calling mode is adopted, the host firstly sends the CCID service instruction to the intelligent card by calling an ioctl function, then immediately returns to continuously process subsequent related service information, receives instruction completion information, then calls the ioctl function to receive a CCID response instruction returned by the intelligent card, and then analyzes the CCID response instruction to obtain service response information.
Specifically, no matter the host sends the CCID service instruction in a synchronous call mode or an asynchronous call mode, after receiving the CCID service instruction sent by the host, the smart card needs to generate a CCID response instruction related to the CCID service instruction in the following manner to return to the host, which specifically includes:
after the intelligent card receives the CCID service instruction sent by the host, the intelligent card firstly analyzes the CCID service instruction, then carries out related service processing to generate service response information, and then packages the service response information to generate the CCID response instruction and sends the CCID response instruction to the host.
It should be noted that, in the synchronous calling process, after the user mode calls the ioctl function to send a service instruction, the ioctl function is called to wait for receiving response information returned by the smart card; in the process of waiting for receiving the response information, the caller host is in a blocking state, and the caller host must wait until the ioctl function call returns, and then can continue the subsequent behavior, that is, after receiving the response information, the caller host can perform the subsequent operation. In the asynchronous calling process, after the user mode calls the ioctl function to send a service instruction, the ioctl function is called to receive response information returned by the smart card and immediately return the response information; in the process of waiting for receiving the response information, the caller host is in a non-blocking state, the ioctl function call returns immediately, the caller host can continue subsequent operations, after the kernel state receives the response information, a signal (namely instruction completion information) is sent, and the caller host receives the response information from the kernel state.
Specifically, no matter the host receives the CCID response command in the synchronous call mode or the asynchronous call mode, after the host receives the CCID response command, the host may analyze the CCID response command in the following manner, specifically:
and the host calls a CCID command interface to analyze the CCID response command to obtain an APDU response command, and then calls an APDU command interface to analyze the APDU response command to obtain service response information.
In the embodiment of the invention, the operation of generating the APDU service instruction and the CCID service instruction by the host encapsulation, the operation of analyzing the CCID response instruction and the APDU response instruction by the host, and the operation of sending the CCID service instruction to the smart card and receiving the CCID response instruction returned by the smart card by the host are carried out in the user space of the host.
It should be noted that the APDU service command generally includes a command type, a command code, a command parameter, and length information of transmission command data; the APDU response instruction typically includes response data and a response status code; the CCID service command is usually added with data length information including a message type, a transmission data block, timeout waiting time, and an APDU service command on the basis of the APDU service command; the CCID response command typically adds a data block, extra byte length information of the message, on the basis of the APDU response command.
In practical application, there is a case that a plurality of smart cards are in communication connection with a host, so to implement the interaction between the host and a target smart card, before the host calls a service request interface to generate service request information, the method further includes the following steps: the host performs enumeration and connection open operations on the smart card. Correspondingly, after the service information of the current smart card is completed, the method further comprises the following steps: after the service response information of the target intelligent card is obtained, the host carries out disconnection and closing operation on the target intelligent card so as to facilitate information interaction between the host and other intelligent cards.
Example 3
As shown in fig. 3, an embodiment of the present invention further provides an apparatus for information interaction between a host and a smart card, including: the intelligent card comprises a host and an intelligent card, wherein the operating system of the host is a Linux system, and the host comprises a service request interface module, an APDU (application protocol data Unit) instruction interface module, a CCID (communication center identification) instruction interface module and a calling module; wherein, the calling module comprises: a synchronous call submodule and an asynchronous call submodule. The intelligent card comprises a CCID read-write module and a service processing module; wherein:
the host is used for calling a service request interface module to generate service request information and then calling an APDU command interface module to package the service request information to generate an APDU service command; the APDU service instruction is also used for calling a CCID instruction interface module to package the APDU service instruction to generate a CCID service instruction; the intelligent card is used for sending the CCID service instruction to the intelligent card by calling an ioctl function through a calling module according to a set calling mode, receiving a CCID response instruction which is returned by the intelligent card and is related to the CCID service instruction, and analyzing the CCID response instruction to obtain service response information; the calling mode comprises the following steps: synchronous calling mode and asynchronous calling mode.
Specifically, when a synchronous calling mode is adopted, the host calls the ioctl function through the synchronous calling sub-module to send the CCID service instruction to the smart card, then calls the ioctl function and keeps a waiting state until a CCID response instruction returned by the smart card is received, and after the CCID response instruction is analyzed to obtain service response information, subsequent related service information is continuously processed.
When an asynchronous calling mode is adopted, the host calls the ioctl function through the asynchronous calling sub-module to send the CCID service instruction to the smart card, then immediately returns to continuously process subsequent related service information, calls the ioctl function to receive a CCID response instruction returned by the smart card after instruction completion information is received, and then analyzes the CCID response instruction to obtain service response information.
Specifically, the CCID read-write module is configured to, after the smart card receives the CCID service instruction sent by the host, parse the CCID service instruction; packaging the service response information returned by the service processing module to generate a CCID response instruction and then sending the CCID response instruction to the host;
and the service processing module is used for processing related services to generate service response information and returning the service response information to the CCID read-write module.
As an implementable embodiment, the host is configured to parse the CCID response instruction to obtain service response information, and specifically includes: the host is used for calling the CCID command interface module to analyze the CCID response command to obtain an APDU response command, and then the APDU command interface module analyzes the APDU response command to obtain service response information.
Specifically, the operations of generating the APDU service command and the CCID service command by the host package, analyzing the CCID response command and the APDU response command, and sending the CCID service command to the smart card and receiving the CCID response command returned by the smart card by the host are all performed in the user space of the host.
It should be noted that, in addition to the processing of the instruction service by the user space, the host also includes a kernel space that calls the USB driver and sends the service instruction to the smart card.
Specifically, before generating the service request information, the host further includes: the host computer performs enumeration and connection opening operations on the smart card; after obtaining the service response information, the host further includes: the host computer performs a disconnection closing operation on the smart card.
It should be noted that the apparatus for information interaction between a host and a smart card provided in the embodiments of the present invention is for implementing the above method embodiments, and specific reference may be made to the above method embodiments for functions thereof, which are not described herein again.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for information interaction between a host and a smart card is characterized in that an operating system of the host is a Linux system, and the method comprises the following steps:
step 1: the host calls a service request interface to generate service request information, and then calls an APDU command interface to package the service request information to generate an APDU service command;
step 2: the host calls a CCID command interface to package the APDU service command to generate a CCID service command;
and step 3: the host calls an ioctl function according to a set calling mode to send the CCID service instruction to the smart card, receives a CCID response instruction which is returned by the smart card and is related to the CCID service instruction, and analyzes the CCID response instruction to obtain service response information; the calling mode comprises the following steps: a synchronous calling mode and an asynchronous calling mode;
the step 3 specifically comprises the following steps:
when a synchronous calling mode is adopted, the host firstly sends the CCID service instruction to the intelligent card by calling an ioctl function, then calls the ioctl function and keeps a waiting state until a CCID response instruction returned by the intelligent card is received, and continues to process subsequent related service information after analyzing the CCID response instruction to obtain service response information;
when an asynchronous calling mode is adopted, the host firstly sends the CCID service instruction to the intelligent card by calling an ioctl function, then immediately returns to continuously process subsequent related service information, receives instruction completion information, then calls the ioctl function to receive a CCID response instruction returned by the intelligent card, and then analyzes the CCID response instruction to obtain service response information.
2. The method according to claim 1, wherein after the smart card receives the CCID service command sent by the host, the smart card parses the CCID service command, performs related service processing to generate service response information, encapsulates the service response information to generate the CCID response command, and sends the CCID response command to the host.
3. The method according to claim 1, wherein in step 3, the host parsing the CCID response command specifically includes: and the host calls a CCID command interface to analyze the CCID response command to obtain an APDU response command, and then calls an APDU command interface to analyze the APDU response command to obtain service response information.
4. The method of claim 3, wherein the operations of the host encapsulating and generating the APDU service command and the CCID service command, the operations of the host parsing the CCID response command and the APDU response command, and the operations of the host sending the CCID service command to the smart card and receiving the CCID response command returned by the smart card are all performed in a user space of the host.
5. The method of claim 1, prior to generating the service request message, further comprising: the host computer performs enumeration and connection opening operations on the smart card; after obtaining the service response information, the method further comprises: the host computer performs a disconnection closing operation on the smart card.
6. An apparatus for information interaction between a host and a smart card, comprising: the intelligent card comprises a host and an intelligent card, wherein the operating system of the host is a Linux system; the host comprises a service request interface module, an APDU instruction interface module, a CCID instruction interface module and a calling module;
the host is used for calling a service request interface module to generate service request information and then calling an APDU command interface module to package the service request information to generate an APDU service command; the APDU service instruction is also used for calling a CCID instruction interface module to package the APDU service instruction to generate a CCID service instruction; the intelligent card is used for sending the CCID service instruction to the intelligent card by calling an ioctl function through a calling module according to a set calling mode, receiving a CCID response instruction which is returned by the intelligent card and is related to the CCID service instruction, and analyzing the CCID response instruction to obtain service response information; the calling mode comprises the following steps: a synchronous calling mode and an asynchronous calling mode;
the calling module comprises: a synchronous calling submodule and an asynchronous calling submodule;
correspondingly, the host is specifically configured to, when a synchronous calling mode is adopted, call an ioctl function to send the CCID service instruction to the smart card through the synchronous calling sub-module, then call the ioctl function and keep a waiting state until a CCID response instruction returned by the smart card is received, and continue to process subsequent related service information after the CCID response instruction is analyzed to obtain service response information; and the number of the first and second groups,
specifically, when an asynchronous calling mode is adopted, the ioctl function is called by the asynchronous calling sub-module to send the CCID service instruction to the smart card, then subsequent related service information is immediately returned and continuously processed, after instruction completion information is received, the ioctl function is called to receive a CCID response instruction returned by the smart card, and then the CCID response instruction is analyzed to obtain service response information.
7. The device of claim 6, wherein the smart card comprises a CCID read-write module and a service processing module;
the CCID read-write module is used for analyzing the CCID service instruction after the intelligent card receives the CCID service instruction sent by the host; packaging the service response information returned by the service processing module to generate a CCID response instruction and then sending the CCID response instruction to the host;
and the service processing module is used for processing related services to generate service response information and returning the service response information to the CCID read-write module.
8. The apparatus according to claim 6, wherein the host is configured to parse the CCID response command to obtain the service response information, and specifically includes:
and the host is used for calling the CCID command interface module to analyze the CCID response command to obtain an APDU response command, and then analyzing the APDU response command through the APDU command interface module to obtain service response information.
CN202110123164.3A 2021-01-29 2021-01-29 Method and device for information interaction between host and smart card Active CN112835836B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110123164.3A CN112835836B (en) 2021-01-29 2021-01-29 Method and device for information interaction between host and smart card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110123164.3A CN112835836B (en) 2021-01-29 2021-01-29 Method and device for information interaction between host and smart card

Publications (2)

Publication Number Publication Date
CN112835836A CN112835836A (en) 2021-05-25
CN112835836B true CN112835836B (en) 2022-04-08

Family

ID=75932349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110123164.3A Active CN112835836B (en) 2021-01-29 2021-01-29 Method and device for information interaction between host and smart card

Country Status (1)

Country Link
CN (1) CN112835836B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013464A (en) * 2007-01-24 2007-08-08 北京飞天诚信科技有限公司 Method for information interaction between host computer and smart card
CN101262498A (en) * 2008-04-22 2008-09-10 华为技术有限公司 A distributed message call method and device
CN101493900A (en) * 2009-03-02 2009-07-29 北京飞天诚信科技有限公司 Smart card operation method and system
SG188658A1 (en) * 2010-09-26 2013-04-30 Beijing Watch Data Sys Co Ltd Smart chip and method for smart chip data communications
CN104486440A (en) * 2014-12-25 2015-04-01 浪潮电子信息产业股份有限公司 Cloud computing management software interaction method based on message bus
CN107315944A (en) * 2017-06-20 2017-11-03 飞天诚信科技股份有限公司 A kind of intelligent cipher key equipment and its method of work
CN107784243A (en) * 2017-09-30 2018-03-09 飞天诚信科技股份有限公司 A kind of method and device that reader device communication is realized in Android system
CN111857993A (en) * 2020-06-24 2020-10-30 烽火通信科技股份有限公司 Method for calling user mode function in kernel mode

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8504565B2 (en) * 2004-09-09 2013-08-06 William M. Pitts Full text search capabilities integrated into distributed file systems— incrementally indexing files
CN103678215B (en) * 2013-12-09 2016-04-06 飞天诚信科技股份有限公司 A kind of method of work of intelligent card reader

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013464A (en) * 2007-01-24 2007-08-08 北京飞天诚信科技有限公司 Method for information interaction between host computer and smart card
CN101262498A (en) * 2008-04-22 2008-09-10 华为技术有限公司 A distributed message call method and device
CN101493900A (en) * 2009-03-02 2009-07-29 北京飞天诚信科技有限公司 Smart card operation method and system
SG188658A1 (en) * 2010-09-26 2013-04-30 Beijing Watch Data Sys Co Ltd Smart chip and method for smart chip data communications
CN104486440A (en) * 2014-12-25 2015-04-01 浪潮电子信息产业股份有限公司 Cloud computing management software interaction method based on message bus
CN107315944A (en) * 2017-06-20 2017-11-03 飞天诚信科技股份有限公司 A kind of intelligent cipher key equipment and its method of work
CN107784243A (en) * 2017-09-30 2018-03-09 飞天诚信科技股份有限公司 A kind of method and device that reader device communication is realized in Android system
CN111857993A (en) * 2020-06-24 2020-10-30 烽火通信科技股份有限公司 Method for calling user mode function in kernel mode

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于CCID的多功能智能卡读写器的设计与实现》;张贝;《中国优秀硕士学位论文全文数据库(信息科技辑)》;20131215;第I135-383页 *

Also Published As

Publication number Publication date
CN112835836A (en) 2021-05-25

Similar Documents

Publication Publication Date Title
CN108141733B (en) NFC split stack architecture
CN112671760A (en) Socket-based client cross-platform network communication method and related equipment thereof
CN107318098B (en) Terminal control method, SIM card, communication module and terminal
US20130179499A1 (en) Method, apparatus and system for displaying radio frequency identification application information
CN112835836B (en) Method and device for information interaction between host and smart card
US8775709B2 (en) Method for recognizing a card reader with multiple card holders and method for communicating between a host and the card reader and system thereof
US7975057B2 (en) Time management at communication protocol layer for a smart card-type device
US9665414B2 (en) Communication protocol bridge for card computing devices
US20220327339A1 (en) Smart card management device and smart card management method
CN107784243B (en) Method and device for realizing communication of card reader equipment in android system
CN114253634A (en) Intelligent equipment hardware interaction system based on PISA
CN113177202A (en) Data calling method and system, double-chip sales terminal and readable storage medium
CN115941382A (en) Flow control method and device for SPI communication, terminal equipment and storage medium
CN113271336B (en) DPDK-based robot middleware DDS data transmission method, electronic equipment and computer-readable storage medium
CN111709255B (en) CEN/XFS-based concurrent calling method for card reading composite module
CN109104581A (en) A kind of method of wireless screen transmission, system and receive terminal
CN106845974B (en) Method and device for realizing point-to-point communication of near field communication
EP2530995A1 (en) Method and apparatus for implementing network device function of wireless communication terminal
CN113778774A (en) Test data transmission method and device, test method and communication module
US20080126649A1 (en) Low latency mechanism for asynchronously running a code segment on a processor in a remote computer by transmitting a special network packet or datalink frame that causes a hardware interrupt
WO2008104601A2 (en) Method of managing command execution in an electronic token
CN108322616B (en) Data processing method and voice data card
CN113535239B (en) Bottom-layer drive forwarding method and multi-core system based on UEFI implementation
CN110505136B (en) Layered MODBUS communication system and method
KR20040047865A (en) Smartcard uart for minimizing processor demands in a conditional access system

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