CN101354752B - Method and system for transporting information of smart card module - Google Patents

Method and system for transporting information of smart card module Download PDF

Info

Publication number
CN101354752B
CN101354752B CN 200810222260 CN200810222260A CN101354752B CN 101354752 B CN101354752 B CN 101354752B CN 200810222260 CN200810222260 CN 200810222260 CN 200810222260 A CN200810222260 A CN 200810222260A CN 101354752 B CN101354752 B CN 101354752B
Authority
CN
China
Prior art keywords
high speed
speed data
data transfer
smart card
bus
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.)
Expired - Fee Related
Application number
CN 200810222260
Other languages
Chinese (zh)
Other versions
CN101354752A (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.)
Petevio Institute Of Technology Co ltd
Original Assignee
Potevio Institute of 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 Potevio Institute of Technology Co Ltd filed Critical Potevio Institute of Technology Co Ltd
Priority to CN 200810222260 priority Critical patent/CN101354752B/en
Publication of CN101354752A publication Critical patent/CN101354752A/en
Application granted granted Critical
Publication of CN101354752B publication Critical patent/CN101354752B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The invention discloses a method for transmitting information by an intelligent card module and a system thereof. The method comprises the following steps: a high-speed data transmission bus is pre-arranged on the intelligent card module; according to a received command message sent by an external controller module, if the received command message is determined to be from the high-speed data transmission bus, or the received command message is carried with marker information transmitted by high-speed data; and command response information is transmitted by the set high-speed data transmission bus. The method and the system improve the transmission speed rate of the intelligent card module, are convenient for users to apply business with high speed and large data quantity, and are favorable for the users to use and expand new business.

Description

A kind of method and system of transporting information of smart card module
Technical field
The present invention relates to communication information transmission technology, particularly a kind of method and system of transporting information of smart card module.
Background technology
Intelligent memory card (SSC, Smart Storage Chip) be that System on Chip/SoC (SOC has been merged in a new generation, System-On-Chip), central processing unit (CPU, Center Process Unit), Chip Operating System, the data storage, safety certification, radio-frequency (RF) identification (RFID, Radio Frequency Identification), the product of the technology such as mobile payment, has mass data storage, data encrypting and deciphering, authenticating user identification, remote payment and the scene several functions such as swipe the card is widely used in financial mobile payment, post and telecommunications, value-added telecom services, the broadcasting and TV mobile digital TV, medical treatment, the fields such as insurance.
Smart card module is the important component part of intelligent memory card, be connected with outside controller module such as single-chip microcomputer, nonshared control unit etc. by being arranged on intelligent card interface on the smart card module, that meet smart card host-host protocol standard, realization information (order and data) is mutual.Be divided into contact smart card modules and contact type intelligent card module, wherein, the contact type intelligent card module does not belong to the present invention category is discussed, and does not repeat them here.Contact smart card modules is by meeting smart card contact host-host protocol, for example, ISO (International Standards Organization) (ISO, International Standard Organization)/intelligent card interface of International Electrotechnical Commission (IEC, International Electrotechnics Committee) 7816 standards is connected with outside controller module.
Fig. 1 is the intelligent card interface structural representation of smart card contact host-host protocol normalized definition, and the intelligent card interface on the contact smart card modules comprises eight contacts, is respectively C1~C8 contact, the function of C1~C8 contact is as shown in table 1, referring to Fig. 1 and table 1, wherein
The C1 contact is supply voltage (V Cc) signalling contact, provide working power to smart card module;
The C2 contact is (RST, the Reset) signalling contact that resets, and the RST reset signal provides effective sequential by the control module of outside;
The C3 contact is clock (CLK, Clock) signalling contact, and the CLK clock signal is provided by the software of crystal oscillator or setting, and crystal oscillator can be provided by software or the hardware of control module;
The C5 contact is ground connection (GND, Ground) signalling contact, is used for ground connection;
The C6 contact is program voltage (V Pp) signalling contact;
The C7 contact is I/O (I/O, Input/Output) data-signal contact, realizes communication with controller module, namely carries out command transfer and exchanges data;
C4, C8 contact are for keeping (N.C) signalling contact.
Table 1
The contact numbering Function The contact numbering Function
C1 V cc(supply voltage) C5 GND ()
C2 RST (reset signal) C6 V pp(program voltage)
C3 CLK (clock) C7 I/O (data)
C4 Keep C8 Keep
The smart card contact host-host protocol standard that intelligent card interface on the contact smart card modules is followed is the asynchronous serial host-host protocol, the speed that data are transmitted at the I/O signal wire depends on the value of CLK, transmission rate value is CLK/372 bits per second (bps on the typical I/O signal wire of protocol definition, bit persecond), maximum can reach CLK/8bps.
By above-mentioned contact smart card modules as seen, use the smart card module signal wire that meets smart card host-host protocol standard, because the restriction of agreement itself, the transfer rate of signal wire is low.
Take the asynchronous serial host-host protocol as example, the CLK signal frequency of setting is 3.57MHz~4MHz, and the transmission required time of 1 bit is 372 clk cycle~8 clk cycles on the I/O signal wire of protocol definition.
If the CLK signal frequency is 3.57MHz, transmitting the required time of 1 bit is 372 clk cycles, and then transmission rate value is CLK/372bps, i.e. 9600bps; If the CLK signal frequency is 4MHz, transmit 1 bit required the time adjust to 8 clk cycles, then the transfer rate maximum can be CLK/8bps, i.e. 500Kbps.Thereby, when if the user passes through the large-data operation of intelligent memory card module application high speed, no matter be that transfer rate is 9600bps or 500Kbps, all can not satisfy the demand of the growing high speed large-data operation of user, low transfer rate is unfavorable for that the user uses and the expansion of new mobile service.
Summary of the invention
In view of this, a fundamental purpose of the present invention is to provide a kind of method and system of transporting information of smart card module, improves the smart card module transfer rate, makes things convenient for the user to use the high speed large-data operation.
For achieving the above object, the invention provides a kind of method of transporting information of smart card module, the high speed data transfer bus interface of following High Speed Data Transfer Protocol of expansion is set at smart card module in advance, to be connected with the peripheral control unit module, the method also comprises by the high speed data transfer bus:
According to the command information from the transmission of peripheral control unit module that receives, if determine the identification information that carries high speed data transfer in the command information that receives, by the high speed data transfer bus transfer command response message that arranges.
The command information from the transmission of peripheral control unit module that described basis receives, determine the command information that receives and specifically comprise from the high speed data transfer bus:
Between smart card module and controller module, control line is set;
Controller module judges whether the current command information needs to carry out high speed data transfer, if necessary, the control line state is set for effective;
Controller module sends command information by the high speed data transfer bus;
Smart card module monitors the control line state for effectively, receives command information from the high speed data transfer bus.
Described step by the high speed data transfer bus transfer command response message that arranges specifically comprises:
Smart card module is to controller module return command response message;
After the return command response message, controller module judges whether next command information needs to carry out high speed data transfer, if necessary, then continues to send described next command information by the high speed data transfer bus; Smart card module receives described next command information, by command response message corresponding to next command information of high speed data transfer bus transfer.
Described method further comprises:
Controller module determines not need to carry out high speed data transfer, upgrades the control line state, and it is invalid that the control line state is set.
The command information from the transmission of peripheral control unit module that described basis receives, determine the command information that receives and specifically comprise from the high speed data transfer bus:
The mode of operation register of sign smart card module interface transmission mode is set in smart card module;
Controller module judges whether to carry out high speed data transfer, if necessary, arranges to be designated in the mode of operation register of smart card module and adopts the high speed data transfer bus to transmit;
Controller module sends command information by the high speed data transfer bus to smart card module;
Identify in the smart card module read work mode register, determine to be designated and adopt the high speed data transfer bus to transmit, receive command information by the high speed data transfer bus, and by high speed data transfer bus return command response message.
Described method further comprises:
Controller module is determined not need to carry out high speed data transfer, arranges to be designated in the mode of operation register of smart card module to adopt smart card host-host protocol bus to transmit.
The command information from the transmission of peripheral control unit module that described basis receives, determine the identification information that carries high speed data transfer in the command information that receives and specifically comprise:
In the order of smart card host-host protocol definition, increase the order of using the high speed data transfer bus and the default transport bus that smart card module is set;
Controller module judges whether to carry out high speed data transfer, if necessary, sends the command information that comprises the high speed data transfer identification information to smart card module by the default transport bus;
Smart card module receives the command information that comprises the high speed data transfer identification information, switches to the high speed data transfer bus.
Described high speed data transfer bus comprises a kind of or combination in any in parallel bus, UART Universal Asynchronous Receiver Transmitter bus, Serial Extension IC bus, serial peripheral equipment interface bus and the controller local area network's bus.
A kind of system of transporting information of smart card module, comprise controller module and smart card module, controller module links to each other by smart card host-host protocol bus with smart card module, the high speed data transfer bus interface of following High Speed Data Transfer Protocol of expansion is set at smart card module in advance, described controller module also links to each other by the high speed data transfer bus with smart card module
Controller module is used for definite command information and need to carries out high speed data transfer, carries the identification information of high speed data transfer in command information;
Smart card module is used for according to the command information that receives, if determine the identification information that carries high speed data transfer in the command information that receives, by high speed data transfer bus transfer command response message.
Described controller module further links to each other by control line with smart card module,
Controller module is used for judging whether the current command information needs to carry out high speed data transfer, if necessary, the control line state is set sends command information by the high speed data transfer bus to described smart card module after effectively;
Smart card module is used for monitoring the control line state for effectively, receives command information from the high speed data transfer bus.
As seen from the above technical solutions, the method and system of a kind of transporting information of smart card module provided by the invention, by the high speed data transfer bus is set with expansion smart card module interface at smart card module, smart card module receives the command information that sends from the peripheral control unit module, receive the identification information that command information or command information comprise high speed data transfer if determine from the high speed data transfer bus, by the high speed data transfer bus transfer command response message that arranges, thereby improved the smart card module transfer rate, made things convenient for the user to use the high speed large-data operation, be conducive to the expansion of user's use and new business, also expanded the application of smart card module simultaneously.Further, controller module can switch between smart card host-host protocol bus and high speed data transfer bus in the control information transmission, has adapted to the different demands of user.
Description of drawings
Fig. 1 is the intelligent card interface structural representation of smart card contact host-host protocol normalized definition;
Fig. 2 is the method flow synoptic diagram of transporting information of smart card module of the present invention;
Fig. 3 is hardware controls signal designation switching mode schematic flow sheet of the present invention;
Fig. 4 is mode of operation register identification switching mode schematic flow sheet of the present invention;
Fig. 5 is order control switching mode schematic flow sheet of the present invention;
Fig. 6 is the schematic flow sheet that the present invention uses parallel port bus transfer smart card module information;
Fig. 7 is the system architecture synoptic diagram of transporting information of smart card module of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
The method and system of transporting information of smart card module provided by the invention, by increasing the high speed data transfer bus at smart card module, controller module is by the operation of the total line traffic control smart card module of high speed data transfer, so that the transfer rate of command response message reaches the supported maximal value of controller module on the smart card module, thereby improved the smart card module transfer rate.
Because inner at existing intelligent memory card, smart card module exists with the form of nude film (die), the controller module of outside is not defined fixed interface, thereby, can be by the Interface realization high-speed transfer of expansion to controller module.Namely before smart card module is encapsulated as the form of intelligent memory card, increase the high speed data transfer bus interface, by the high speed data transfer bus to be connected with controller module.
The high speed data transfer bus can be parallel bus, UART Universal Asynchronous Receiver Transmitter (UART, UniversalAsynchronous Receiver Transmitter) bus, Serial Extension integrated circuit (I 2C, Inter-Integrated circuit) bus, Serial Peripheral Interface (SPI, Serial PeripheralInterface) the bus, (CAN of controller local area network, Controller Area Network) bus etc. specifically adopts the high speed data transfer bus of which kind of type to depend on the controller module that is connected with smart card module.For instance, if controller module is supported the UART bus, then adopt the UART bus interface to connect controller module and smart card module; If controller module is supported spi bus and parallel bus, then adopt spi bus or parallel bus interface to connect controller module and smart card module.
Fig. 2 is the method flow synoptic diagram of transporting information of smart card module of the present invention, and referring to Fig. 2, this flow process comprises:
Step 201 arranges the high speed data transfer bus at smart card module in advance;
In this step, expand in advance the smart card module interface: connecting smart card module interface and controller module by the high speed data transfer bus that arranges, the smart card module interface of expansion is followed High Speed Data Transfer Protocol, can be to realize by changing existing smart card host-host protocol standard, also can be directly to realize with High Speed Data Transfer Protocol.
Step 202, according to the command information from the transmission of peripheral control unit module that receives, if determine the command information that receives from the high speed data transfer bus, perhaps, carry the identification information of high speed data transfer in the command information that receives, by the high speed data transfer bus transfer command response message that arranges.
In this step, according to business the requirement of transfer rate is determined whether to adopt high speed data transfer bus transfer information by controller module, the business of, small data quantity not high for transmission rate request, can adopt smart card host-host protocol bus transfer information, and business high for transmission rate request, big data quantity, then adopt high speed data transfer bus transfer information, after controller module determines to adopt high speed data transfer bus transfer information, by switching the mode of bus, make smart card module pass through high speed data transfer bus transfer command response message.Smart card module receives command information, determine to receive the identification information that command information or command information comprise high speed data transfer from the high speed data transfer bus, processed by application program, on respective bus, carry out communication with controller module by transport layer again.The flow process of communication and the operating process of existing smart card module are similar, do not repeat them here.
So far, this flow process finishes.
After smart card module arranges the high speed data transfer bus, between smart card module and controller module, there are smart card host-host protocol bus and high speed data transfer bus, in the process of communication, for the not high business of transmission rate request, can adopt smart card host-host protocol bus transfer information, and for the high business of transmission rate request, then adopt high speed data transfer bus transfer information, thereby, need to relate to communication and between smart card host-host protocol bus and high speed data transfer bus, switch, the present invention proposes three kinds of switching modes: hardware controls signal designation switching mode, mode of operation register identification switching mode, and order control switching mode.
Fig. 3 is hardware controls signal designation switching mode schematic flow sheet of the present invention, and referring to Fig. 3, this flow process comprises:
Step 301 is expanded the smart card module interface in advance, between the smart card module Interface and Controler module of expansion high speed data transfer bus and control line is set;
In this step, the smart card module interface of expansion is followed High Speed Data Transfer Protocol, control line connects controller module and smart card module, the signal of control line is controlled by controller module, adopt one-way transmission mode, export smart card module to by controller module, smart card module is in receiving end Monitoring and Controlling line states.
The high speed data transfer bus that arranges can be parallel bus, UART bus, I 2C bus, spi bus, CAN bus etc., the bus type that the controller module that specifically adopts the high speed data transfer bus of which kind of type to depend on to be connected with smart card module is supported.
Step 302, controller module judge whether to carry out high speed data transfer, if necessary, the control line state are set for effective;
In this step, the control line state that sets in advance is invalid, adopts existing smart card host-host protocol bus to carry out communication between smart card module and the controller module.Controller module determines whether to adopt high speed data transfer bus transfer information according to business to the requirement of transfer rate, the business of, small data quantity not high for transmission rate request, determine to adopt smart card host-host protocol bus transfer information, it is invalid that the control line state then is set, and controller module and smart card module carry out the transmission of information according to existing procedure by smart card host-host protocol bus; For the business of transmission rate request height, big data quantity, then determine to adopt high speed data transfer bus transfer information, the control line state is set for effective.
In the practical application, the state that control line is set can be to realize by the high and low level signal that control line is set, and when not needing to carry out high speed data transfer, arranges that signal level is low level on the control line, and it is invalid to identify; And when needs carry out high speed data transfer, arranging that signal level is high level on the control line, sign is effectively.Certainly, also can be to realize by alternate manner, for example, it is invalid for effective, high level sign control line state that low level sign control line state is set.
In the present embodiment, controller module also can arrange the control line state of acquiescence for effectively, namely no matter whether need to carry out high speed data transfer, all adopt high speed data transfer bus transfer information, the control line state is set for effectively, to improve transfer rate, reduces the transmission time.
Step 303, controller module sends command information by high speed data transfer bus or smart card host-host protocol bus;
In this step, controller module is determined to adopt the data transmission bus of which kind of type to carry out communication, then sends command information at corresponding data transmission bus.
It is effective or invalid that step 304, smart card module monitor the control line state, receives command information from the respective data transfer bus, carries out corresponding the processing according to command information;
In this step, smart card module Monitoring and Controlling line level signal if the control line state is invalid, is passed through smart card host-host protocol bus transfer command response message according to existing procedure; If the control line state is effectively, then receives command information from high speed data transfer bus or smart card host-host protocol bus, and pass through this high speed data transfer bus to controller module return command response message.
In the practical application, smart card module further judged when control line keeps sign high speed data transfer bus effective before the return command response message, by the high speed data transfer bus return command response message selected to controller module.
Step 305, controller module are finished with behind smart card module mutual, upgrade the control line state.
In this step, controller module receives the command response message that smart card sends, and also needs follow-up data interaction operation if controller module is judged, then continues to carry out data interaction with the bus of selecting, until finish alternately.That is, if determine that next command information also needs to carry out high speed data transfer, then continue the retentive control line states for effectively, carry out high speed data transfer, send next command information by the high speed data transfer bus; Smart card module receives next command information, by command response message corresponding to next command information of high speed data transfer bus transfer; If determine that next command information does not need to carry out high speed data transfer, it is invalid that the control line state is set, controller module control line state be set to invalid after, controller module and smart card module carry out the transmission of information by smart card host-host protocol bus, this transfer process and existing procedure are similar, do not repeat them here.
Fig. 4 is mode of operation register identification switching mode schematic flow sheet of the present invention, and referring to Fig. 4, this flow process comprises:
Step 401 is expanded the smart card module interface in advance, between the smart card module Interface and Controler module of expansion the high speed data transfer bus is set and the mode of operation register that identifies smart card module interface transmission mode is set in smart card module;
In this step, mode of operation register-stored smart card module transmission mode sign, be that smart card module is to adopt smart card host-host protocol bus to carry out the sign of communication or the sign that employing high speed data transfer bus is carried out communication, can give tacit consent to smart card module and adopt smart card host-host protocol bus to carry out communication.
Step 402, controller module judge whether to carry out high speed data transfer, if necessary, arrange to be designated in the mode of operation register and adopt the high speed data transfer bus to transmit;
In this step, controller module determines whether to adopt high speed data transfer bus transfer information according to business to requirement and the business datum amount of transfer rate, if transmission rate request is not high, the business datum amount is less, then processes by existing procedure; If transmission rate request is high, the business datum amount is large, then sending to arrange to be designated in the mode of operation register to smart card module by high speed data transfer bus or smart card host-host protocol bus adopts the high speed data transfer bus to carry out the configuration information of communication, smart card module receives and arranges in the mode of operation register and identifies, and returns to controller module response message is set.
Comprise successful information be set if response message is set, then follow-up in, controller module adopts the high speed data transfer bus to carry out communication.
Comprise setup failed information if response message is set, then follow-up in, controller module adopts smart card host-host protocol bus to carry out communication.
In the practical application, can with a bit identification smart card module transmission mode, for example, adopt smart card host-host protocol bus to carry out communication with " 0 " sign; Adopt the high speed data transfer bus to carry out communication with " 1 " sign.Certainly, for adopting multiple high speed data transfer bus to carry out the smart card module of communication, can carry out respective identification by increasing mode of operation register bit position.
Step 403, controller module sends command information to smart card module;
In this step, controller module can send command information by high speed data transfer bus or smart card host-host protocol bus.
Step 404, identify in the smart card module read work mode register, determine to be designated and adopt the high speed data transfer bus to transmit, receive command information by the high speed data transfer bus, and by high speed data transfer bus return command response message, performing data transmission;
In this step, after controller module is received replying of smart card, if also need follow-up data interaction operation, then continue to carry out data interaction with the bus of selecting, until finish alternately.
Step 405, controller module are finished with behind smart card module mutual, upgrade in the smart card module mode of operation register identifying.
In this step, controller module receives the command response message that smart card module sends, judge whether next command information needs to carry out high speed data transfer, if the data that need to transmit need to adopt the high speed data transfer bus to transmit next time, then re-execute step 403; If the data that need to transmit do not need to adopt the high speed data transfer bus to transmit next time, or, do not have data to transmit, then adopt smart card host-host protocol bus to carry out communication by being designated in the smart card module mode of operation register with arranging alternately of smart card module.
Fig. 5 is order control switching mode schematic flow sheet of the present invention, and referring to Fig. 5, this flow process comprises:
Step 501, expand in advance the smart card module interface: between the smart card module Interface and Controler module of expansion, the high speed data transfer bus is set, and in the order of smart card host-host protocol definition, increase the order of using the high speed data transfer bus and the default transport bus that smart card module is set;
In this step, the smart card module default transport bus of setting can be smart card host-host protocol bus, also can be the high speed data transfer bus.In the present embodiment, the smart card module default transport bus of setting is smart card host-host protocol bus.
Step 502, controller module judge whether to carry out high speed data transfer, if necessary, send the command information that comprises the high speed data transfer identification information to smart card module;
In this step, controller module judges whether to carry out high speed data transfer, if do not need, carries out communication by smart card host-host protocol bus; If necessary, controller module can send the command information that comprises the high speed data transfer identification information by the default data transfer bus.In the present embodiment, controller module sends the command information that comprises the high speed data transfer identification information by smart card host-host protocol bus.
Step 503, smart card module receives the command information that comprises the high speed data transfer identification information, by high speed data transfer bus return command response message, performing data transmission;
This step is similar with step 404.
Step 504, controller module are finished with behind smart card module mutual, upgrade the smart card module transmission mode by order.
In this step, controller module is finished with behind smart card module mutual, and judge needs the data transmitted next time, if need to adopt the high speed data transfer bus to transmit, then continues by high speed data transfer bus performing data transmission; If the data that need to transmit do not need to adopt the high speed data transfer bus to transmit next time, or, do not need to carry out data transmission, then send to smart card module by the high speed data transfer bus and return smart card module default transport bus line command, smart card module receives and returns smart card module default transport bus line command, reuses smart card module default transport bus and carries out data transmission.
In the above-mentioned example, to describe handoff procedure with the data phase unit of being treated to, can certainly be take command and response as unit or describe handoff procedure take order or response as unit separately, take hardware controls signal designation switching mode as example, arranging of control line can arrange before a secondary data is processed, and no longer switches in whole data handling procedure; Also can order-reply right front and back to be switched at each; Can also before and after every subcommand, the transmission of replying, switch.Mode of operation register identification switching mode and order control switching mode are similar therewith.Do not repeat them here.
In the practical application, can be that in any way applied in any combination of switching mode is controlled in hardware controls signal designation switching mode, mode of operation register identification switching mode and order.
Below be example with the smart card module that is connected with safe digital card (SD, the Secure Digital Card) condition receiving card of interface, the method and system of transporting information of smart card module of the present invention are further described.
Smart card module is packaged in the intelligent storage card with the form of die, with the parallel bus of the smart card module interface setting of expansion respectively with the SD controller module with 8 common I/O lines be connected, and status signal lines be set be used for switch the smart card module transfer bus.
Fig. 6 is the schematic flow sheet that the present invention uses parallel port bus transfer smart card module information, and referring to Fig. 6, this flow process comprises:
Step 601, expand in advance the smart card module interface: between the smart card module Interface and Controler module of expansion, the high speed data transfer bus is set, and in the order of smart card host-host protocol definition, increase the order of using the high speed data transfer bus and the default transport bus that smart card module is set;
In this step, in the ISO/IEC7816-4 agreement, increase the order of using the high speed data transfer bus.
Step 602 arranges status signal lines between smart card module and controller module;
In this step, status signal lines comprises four kinds of signals, and these four kinds of signals are respectively: Int_IN signal, IN_Ready signal, Int_OUT signal and OUT_Ready signal, and for the transmitting-receiving of control command when switching to parallel bus and data.And with the I/O data line low 2 as I/O (CIO, the Card I/O) signal wire of the card of ISO/IEC7816 definition and (CRST, the Card Reset) signal wire that resets of card, other I/O data line simulation UART bus or I 2The C bus, the CLK of CLK signal wire transmission keeps the clock of ISO/IEC7816 definition.During normal the use, controller module and smart card module are by the ISO/IEC7816-3 protocol communication.
Step 603, controller module judge whether to carry out high speed data transfer, if necessary, send command information, smart card module return command response message to smart card module;
In this step, when smart card module is applied to the Conditional Access of Digital Television card, controller module judges whether data need control word (CW, Control Word) control, or, the Large Volume Data that whether has descrambling if so, sends the command information that comprises use high speed data transfer bus to smart card module.
Send command information to smart card module, smart card module return command response message specifically comprises: controller module sends status signal lines Int_IN signal effective information, and the notice smart card module has command information to send; Smart card module monitors status signal lines Int_IN signal effective information, then responds the IN_Ready signal message; Controller module sends command information by the I/O data line to smart card module, if controller module needs smart card module return command response message, sends Int_OUT signal effective information; Smart card module receives command information and Int_OUT signal effective information, carry out respective handling, be ready to the return command response message, then send OUT_Ready signal effective information to controller module, send command response message by the I/O data line to controller simultaneously.
Step 604, smart card module and controller module are by the parallel bus performing data transmission;
In this step, parallel bus is except the CIO signal wire of ISO/IEC7816 definition and other I/O data line the CRST signal wire.
Step 605, after data transmission was complete, controller module recovered the right to use to the ISO/IEC7816 bus, namely carried out subsequent data transmission by the smart card host-host protocol bus of acquiescence.
In the present embodiment, owing to adopt the parallel bus the transmission of data, wherein parallel bus once can transmit 8bit or 16bit, its transfer rate can reach 10Mbps, the speed that is much higher than the CIO of smart card host-host protocol (ISO/IEC7816-3 agreement) definition, greatly improved the smart card module transfer rate, made things convenient for the user to use the high speed large-data operation, present embodiment has been obtained good effect in the digital TV field condition receiving card.
Fig. 7 is the system architecture synoptic diagram of transporting information of smart card module of the present invention, referring to Fig. 7, this system comprises controller module 701 and smart card module 702, controller module 701 links to each other by smart card host-host protocol bus with smart card module 702, controller module 701 also links to each other by the high speed data transfer bus with smart card module 702
Controller module 701 is used for definite command information and need to carries out high speed data transfer, sends command informations by high speed data bus to smart card module 702, perhaps, carries the identification information of high speed data transfer in command information;
Smart card module 702, be used for according to the command information that receives, if determine the command information that receives from the high speed data transfer bus, perhaps, carry the identification information of high speed data transfer in the command information that receives, by high speed data transfer bus transfer command response message.
In the practical application, controller module 701 further links to each other by control line with smart card module 702,
Controller module 701 is used for judging whether the current command information needs to carry out high speed data transfer, if necessary, the control line state is set sends command information by the high speed data transfer bus to smart card module 702 after effectively;
Smart card module 702 is used for monitoring the control line state for effectively, receives command information from the high speed data transfer bus.
In the practical application, the mode of operation register of sign smart card module interface transmission mode also can be set and in the order of smart card host-host protocol definition in smart card module, increase the order of using the high speed data transfer bus and the default transport bus that smart card module is set, do not repeat them here.
As seen from the above-described embodiment, the method and system of a kind of transporting information of smart card module provided by the invention, by the high speed data transfer bus is set with expansion smart card module interface at smart card module, when controller module determines to adopt high speed data transfer bus transfer information according to business to the requirement of transfer rate, operation by the total line traffic control smart card module of high speed data transfer that arranges, so that on the smart card module order or data transfer speed reach the supported maximal value of controller module, thereby improved the smart card module transfer rate, made things convenient for the user to use the high speed large-data operation, be conducive to the expansion of user's use and new business, also expanded the application of smart card module simultaneously.Further, controller module can require and business datum amount size according to service transmission rate, and the control information transmission is switched between smart card host-host protocol bus and high speed data transfer bus, has adapted to the different demands of user.
More than lift preferred embodiment; the purpose, technical solutions and advantages of the present invention are further described; institute is understood that; the above only is preferred embodiment of the present invention; not in order to limit the present invention; within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. the method for a transporting information of smart card module, it is characterized in that, the high speed data transfer bus interface of following High Speed Data Transfer Protocol of expansion is set at smart card module in advance, and to be connected with the peripheral control unit module, the method also comprises by the high speed data transfer bus:
According to the command information that sends from the peripheral control unit module that receives, if determine the command information that receives from the high speed data transfer bus, by the high speed data transfer bus transfer command response message that arranges;
The command information from the transmission of peripheral control unit module that described basis receives, determine the command information that receives and specifically comprise from the high speed data transfer bus:
Between smart card module and controller module, control line is set;
Controller module judges whether the current command information needs to carry out high speed data transfer, if necessary, the control line state is set for effective;
Controller module sends command information by the high speed data transfer bus;
Smart card module monitors the control line state for effectively, receives command information from the high speed data transfer bus.
2. the method for claim 1 is characterized in that, described step by the high speed data transfer bus transfer command response message that arranges specifically comprises:
Smart card module is to controller module return command response message;
After the return command response message, controller module judges whether next command information needs to carry out high speed data transfer, if necessary, then continues to send described next command information by the high speed data transfer bus; Smart card module receives described next command information, by command response message corresponding to next command information of high speed data transfer bus transfer.
3. method as claimed in claim 2 is characterized in that, described method further comprises:
Controller module determines not need to carry out high speed data transfer, upgrades the control line state, and it is invalid that the control line state is set.
4. the method for a transporting information of smart card module, it is characterized in that, the high speed data transfer bus interface of following High Speed Data Transfer Protocol of expansion is set at smart card module in advance, and to be connected with the peripheral control unit module, the method also comprises by the high speed data transfer bus:
According to the command information that sends from the peripheral control unit module that receives, if determine the command information that receives from the high speed data transfer bus, by the high speed data transfer bus transfer command response message that arranges;
The command information from the transmission of peripheral control unit module that described basis receives, determine the command information that receives and specifically comprise from the high speed data transfer bus:
The mode of operation register of sign smart card module interface transmission mode is set in smart card module;
Controller module judges whether to carry out high speed data transfer, if necessary, arranges to be designated in the mode of operation register of smart card module and adopts the high speed data transfer bus to transmit;
Controller module sends command information by the high speed data transfer bus to smart card module;
Identify in the smart card module read work mode register, determine to be designated and adopt the high speed data transfer bus to transmit, receive command information by the high speed data transfer bus, and by high speed data transfer bus return command response message.
5. method as claimed in claim 4 is characterized in that, described method further comprises:
Controller module is determined not need to carry out high speed data transfer, arranges to be designated in the mode of operation register of smart card module to adopt smart card host-host protocol bus to transmit.
6. method as claimed in claim 4, it is characterized in that described high speed data transfer bus comprises a kind of or combination in any in parallel bus, UART Universal Asynchronous Receiver Transmitter bus, Serial Extension IC bus, serial peripheral equipment interface bus and the controller local area network's bus.
7. the system of a transporting information of smart card module, comprise controller module and smart card module, controller module links to each other by smart card host-host protocol bus with smart card module, it is characterized in that, the high speed data transfer bus interface of following High Speed Data Transfer Protocol of expansion is set at smart card module in advance, described controller module also links to each other by high speed data transfer bus and control line with smart card module
Controller module need to carry out high speed data transfer for definite command information, the control line state is set passes through the high speed data transfer bus to described smart card module transmission command information after effectively;
Smart card module is used for monitoring the control line state for effectively, receives command information from the high speed data transfer bus, by high speed data transfer bus transfer command response message.
CN 200810222260 2008-09-12 2008-09-12 Method and system for transporting information of smart card module Expired - Fee Related CN101354752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810222260 CN101354752B (en) 2008-09-12 2008-09-12 Method and system for transporting information of smart card module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810222260 CN101354752B (en) 2008-09-12 2008-09-12 Method and system for transporting information of smart card module

Publications (2)

Publication Number Publication Date
CN101354752A CN101354752A (en) 2009-01-28
CN101354752B true CN101354752B (en) 2013-01-30

Family

ID=40307557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810222260 Expired - Fee Related CN101354752B (en) 2008-09-12 2008-09-12 Method and system for transporting information of smart card module

Country Status (1)

Country Link
CN (1) CN101354752B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102122362B (en) * 2010-01-07 2013-12-11 北京华虹集成电路设计有限责任公司 Method for improving communication rate of contact-type intelligent card
CN102567776B (en) * 2011-12-27 2015-07-22 广州中大微电子有限公司 Double-interface intelligent card capable of quickly implementing mode selection and implementing method
CN105787408B (en) * 2016-02-03 2018-04-03 飞天诚信科技股份有限公司 A kind of card reader and its method of work for supporting high-speed data communications
CN106197799A (en) * 2016-07-08 2016-12-07 柳州杰诺瑞汽车电器系统制造有限公司 Bearing displacement point pressure detection method

Also Published As

Publication number Publication date
CN101354752A (en) 2009-01-28

Similar Documents

Publication Publication Date Title
CN101751361B (en) Switchover method for controlling data transmission interface in mobile terminal and terminal equipment
KR101160566B1 (en) Joint IC Card And Wireless Transceiver Module For Mobile Communication Equipment
US7685328B2 (en) Generic universal serial bus device operable at low and full speed and adapted for use in a smart card device
CN101484873B (en) Simultaneous interface use
CN202435400U (en) Equipment for managing information exchange
CN101859395A (en) Information transmission realization method and system, main control equipment and intelligent card
US20070170256A1 (en) Reset circuit, data carrier and communication device
CN101354752B (en) Method and system for transporting information of smart card module
CN101515814A (en) Enhanced near field communication device and realization method thereof
CN104798010A (en) Serial storage protocol compatible frame conversion, at least in part
CN104216761A (en) Method for using shared device in device capable of operating two operation systems
CN109842428A (en) A kind of WiFi chip and adaptive approach
US20120266212A1 (en) Apparatus and method for authenticating smart card
CN103414497A (en) Methods and appliances for forwarding communication between electronic appliances
CN101730295A (en) Coordination processing method for application collision of radio frequency SIM card interface
CN103581157A (en) Embedded device and control method for carrying out data communication based on same
CN109934314A (en) A kind of method for reading data and system of electric power Internet of Things electronic tag
US9252843B2 (en) Method and apparatus for data transmission
CN101257683B (en) Method for signaling interaction of electric communication smart card with external non-contact card
CN101848559A (en) Realization system for information transmission and smart card
US11487910B2 (en) Terminal and communication method
CN101582112B (en) Smart card conversion device and use method thereof
US11294833B2 (en) Exchange of data within a dynamic transponder, and corresponding transponder
CN102122362B (en) Method for improving communication rate of contact-type intelligent card
US20240171357A1 (en) Transmission Rate Determining Method and Communication Apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: CHINA POTEVIO CO., LTD.

Free format text: FORMER OWNER: PUTIAN IT TECH INST CO., LTD.

Effective date: 20130927

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20130927

Address after: 100080, No. two, 2 street, Zhongguancun science and Technology Park, Beijing, Haidian District

Patentee after: CHINA POTEVIO CO.,LTD.

Address before: 100080 Beijing, Haidian, North Street, No. two, No. 6, No.

Patentee before: PETEVIO INSTITUTE OF TECHNOLOGY Co.,Ltd.

ASS Succession or assignment of patent right

Owner name: PUTIAN IT TECH INST CO., LTD.

Free format text: FORMER OWNER: CHINA POTEVIO CO., LTD.

Effective date: 20131204

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20131204

Address after: 100080 Beijing, Haidian, North Street, No. two, No. 6, No.

Patentee after: PETEVIO INSTITUTE OF TECHNOLOGY Co.,Ltd.

Address before: 100080, No. two, 2 street, Zhongguancun science and Technology Park, Beijing, Haidian District

Patentee before: CHINA POTEVIO CO.,LTD.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130130

Termination date: 20210912

CF01 Termination of patent right due to non-payment of annual fee