CN101751365B - Improved ISO7816 interface device and data transmission processing method thereof - Google Patents

Improved ISO7816 interface device and data transmission processing method thereof Download PDF

Info

Publication number
CN101751365B
CN101751365B CN2008101783412A CN200810178341A CN101751365B CN 101751365 B CN101751365 B CN 101751365B CN 2008101783412 A CN2008101783412 A CN 2008101783412A CN 200810178341 A CN200810178341 A CN 200810178341A CN 101751365 B CN101751365 B CN 101751365B
Authority
CN
China
Prior art keywords
data
mobile communication
communication terminal
serial
iso7816 interface
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
CN2008101783412A
Other languages
Chinese (zh)
Other versions
CN101751365A (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.)
SK Telecom China Holdings Co Ltd
Original Assignee
SK Telecom China Holdings 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 SK Telecom China Holdings Co Ltd filed Critical SK Telecom China Holdings Co Ltd
Priority to CN2008101783412A priority Critical patent/CN101751365B/en
Publication of CN101751365A publication Critical patent/CN101751365A/en
Application granted granted Critical
Publication of CN101751365B publication Critical patent/CN101751365B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Information Transfer Systems (AREA)

Abstract

The invention relates to an improved ISO7816 interface device and a data transmission processing method thereof. An ISO7816 interface device in a mobile communication terminal also comprises a serial/parallel conversion device and a clock frequency conversion device, wherein the serial/parallel conversion device is connected among an ISO7816 interface controller and two buffers for converting serial data output by an ISO7816 interface controller into four-digit parallel data; after buffered by the buffer, the four-digit parallel data is output to an intelligent card in parallel by interface pins C4, C6-C8; four-digit parallel data which is parallel by the interface pins C4, C6-C8, is received by the intelligent card and is buffered by the buffer is converted into serial data to be transmitted to the ISO7816 interface controller; the clock frequency conversion device is used for converting input clock frequency F so as to provide F or 4 (M+1) F clock frequency for the ISO7816 interfacecontroller, provide (M+1) F and 4 (M+1) F clock frequency for the serial/ parallel conversion device and provide F or (M+1) F clock frequency for an interface pin C3, wherein F is 1-5 MHZ, and the parameter M is any one integer of 0-15.

Description

Modified IS07816 interface arrangement and data transmission processing method thereof
Technical field
The present invention relates to moving communicating field, relate to the ISO7816 interface arrangement in mobile communication terminal and the used smart card thereof especially, and data transmission processing method between the two.
Background technology
In the prior art, as shown in Figure 1, the ISO7816 interface arrangement in the existing mobile communication terminal (for example mobile phone) includes ISO7816 interface controller (10); The reseting interface pin C2 that links to each other with the reset terminal RST of said ISO7816 interface controller (10); Data input/output interface pin C7; It links to each other with the data input pin IN of ISO7816 interface controller (10) through first impact damper (11); Data output end OUT with said ISO7816 interface controller (10) links to each other through second impact damper (12), and wherein second impact damper (12) also receives the enable signal EN from said ISO7816 interface controller (10); Keep not interface pin C4, C6 and the C8 of usefulness; And the clock interface pin C3 that links to each other with the clock end CK of said ISO7816 interface controller (10).
As shown in Figure 2, the interior ISO7816 interface arrangement of smart card used in the mobile communication terminal in the prior art (for example mobile phone) includes ISO7816 interface controller (20); The reseting interface pin C2 that links to each other with the reset terminal RST of said ISO7816 interface controller (20); Data input/output interface pin C7; It links to each other with the data input pin IN of ISO7816 interface controller (20) through the 3rd impact damper (21); Data output end OUT with said ISO7816 interface controller (20) links to each other through the 4th impact damper (22), and wherein the 4th impact damper (22) also receives the enable signal EN from said ISO7816 interface controller (20); Keep not interface pin C4, C6 and the C8 of usefulness; And the clock interface pin C3 that links to each other with the clock end CK of said ISO7816 interface controller (20).
As shown in Figure 3, eight interface pin C1-C8 that use in the ISO7816 interface arrangement that uses in the prior art are respectively power supply (VCC) interface pin C1, (RST) the interface pin C2 that resets, clock (CLK) interface pin C3, keep usefulness not interface pin C4, ground connection (GND) interface pin C5, keep interface pin C6, data I/O (I/O) the interface pin C7 of usefulness not and keep the not interface pin C8 of usefulness.
Data transmission processing method between existing mobile communication terminal (for example mobile phone) and the used smart card thereof includes: the mobile communication terminal power-up initializing that smart card is housed; Mobile communication terminal automatically resets and responds the ATR processing; Carry out the transmission of data between mobile communication terminal and the smart card; And end data transmission.Wherein in the transmitting step of data; When mobile communication terminal is written to smart card with data; ISO7816 interface arrangement in the said mobile communication terminal through the processor in the control chip in ISO interface controller (the 20) → smart card of I/O (I/O) interface pin C7 → smart card in the ISO7816 interface arrangement in the smart card of interface controller (10) → I/O (I/O) the interface pin C7 → coupled of himself, realizes that mobile communication terminal is written to smart card with data with a bit serial data transmission; Perhaps when mobile communication terminal during from the smart card reading of data; Processor in the control chip in the said smart card is after the steering order that receives from mobile communication terminal; One bit serial data transmission through the processor in ISO7816 interface controller (the 10) → mobile communication terminal in I/O (I/O) interface pin C7 → mobile communication terminal in the ISO7816 interface arrangement in the mobile communication terminal of interface controller (20) → I/O (I/O) the interface pin C7 → coupled of himself, is realized that mobile communication terminal is from the smart card reading of data.
Because the input clock frequency of the data transmission of the ISO7816 interface arrangement in existing mobile communication terminal and the used smart card thereof is 1-5MHZ; And can only be through single serial line interface pin C7 transmission data; Cause the speed of the data transmission between mobile communication terminal and the smart card lower; Therefore, smart card all more as the instrument of an identification, is used to store a small amount of critical data for a long time.
Along with popularizing and development of mobile communication, the capacity of smartcard internal storer does not more and more satisfy user's demand.And the development of IC designing technique also makes the raising of smart card capacity become possibility, carries out the transition to the MB magnitude from the KB magnitude at present, high-end smart card even the GB magnitude occurred.Because the storer in the control chip of smart card is difficult to accomplish very high capacity,, increase the active volume of smart card so visit the outer bigger external memory storage of capacity of control chip through the external storage controller in the control chip usually.And external memory storage and the smart card control chip form through system in package (SIP) is packaged together.
In order to solve the too low problem of ISO7816 interface arrangement transmission speed, the smart card with large capacity of new mobile communication terminal of releasing and use thereof is equipped with USB interface device or MMC interface arrangement toward contact.Although such improvement has been arranged, smart card with large capacity does not obtain the approval in market, promotes difficult.Trace it to its cause, still main because the reason of power consumption.Increase the significantly lifting that USB interface or MMC interface all will cause rolling up of power consumption and block the complexity of interior software and hardware; Also cause simultaneously the increase of the infrastructure cost of mobile communication terminal and used smart card thereof, this is that manufacturer and user are unacceptable.
Summary of the invention
The object of the present invention is to provide ISO7816 interface arrangement in the smart card of a kind of follow-on mobile communication terminal and use thereof; And data transmission processing method between the two; Under the prerequisite of the infrastructure cost that does not increase mobile communication terminal and smart card, significantly improved the data throughput of ISO7816 interface.
According to a first aspect of the invention, the ISO7816 interface arrangement in a kind of mobile communication terminal is provided, has included the ISO7816 interface controller; The reseting interface pin C2 that links to each other with the reset terminal of said ISO7816 interface controller; Data input/output interface pin C7; It links to each other with the data input pin of ISO7816 interface controller through first impact damper; And link to each other with the data output end of said ISO7816 interface controller through second impact damper, wherein second impact damper also receives the enable signal from said ISO7816 interface controller; Interface pin C4, C6 and C8; And the clock interface pin C3 that links to each other with the clock end of said ISO7816 interface controller, it is characterized in that:
Said interface pin C4, C6 and C8 and C7 are connected to the input end of said first impact damper and the output terminal of said second impact damper concurrently;
ISO7816 interface arrangement in the said mobile communication terminal also includes:
Serial/parallel conversion equipment; Be connected between said ISO7816 interface controller and said first impact damper and said second impact damper; Be used for when said mobile communication terminal is written to the smart card that mobile communication terminal uses with data; One bit serial data-switching of ISO7816 interface controller output is become four bit parallel data, then through after said second buffer buffers, via the parallel smart card that uses in the said mobile communication terminal of exporting to of said interface pin C4, C6, C7 and C8; Or when the smart card reading of data that said mobile communication terminal uses from said portable terminal terminal; To also become bit serial data by what the parallel smart card that in said mobile communication terminal, uses of said interface pin C4, C6, C7 and C8 received, be transferred to said ISO7816 interface controller through four bit parallel data-switching after said first impact damper (11) buffering;
The clock frequency conversion equipment; Link to each other with said ISO7816 interface controller, serial/parallel conversion equipment and said interface pin C3 respectively; Be used to change the clock frequency F of input,, (M+1) F and 4 (M+1) be provided the clock frequency of F to said serial/parallel conversion equipment F or 4 (M+1) to be provided the clock frequency of F to said ISO7816 interface controller; And F or (M+1) clock frequency of F are provided to said interface pin C3, wherein F representes the arbitrary frequency values in the 1-5MHz scope; Parameter M is the parameter that the smart card that in said mobile communication terminal, uses of said ISO7816 interface controller receives, and expression is the arbitrary round values among the 0-15 to the multiple of the lifting of outside input clock frequency F,
Wherein, the ISO7816 interface arrangement in the said mobile communication terminal also includes:
Parameter M register links to each other with said clock frequency conversion equipment with said ISO7816 interface controller respectively, is used to store the said parameter M that receives from said ISO7816 interface controller and provide said parameter M to said clock frequency conversion equipment; With
Parameter S el register; Link to each other with said ISO7816 interface controller, said serial/parallel conversion equipment and said clock frequency conversion equipment respectively; Be used to store the said parameter S el that receives from said ISO7816 interface controller and provide said parameter S el to said serial/parallel conversion equipment and said clock frequency conversion equipment
Wherein said parameter S el is that said ISO7816 interface controller receives from said smart card; Include numeral 0 or 1; Numeral 0 expression only supports an ISO7816 interface arrangement of standard and numeral 1 to express support for a said ISO7816 interface arrangement of the present invention.
In one embodiment of this invention, M=0, then frequency range (M+1) F is 1~5MHz, M=1; Then frequency range (M+1) F is 2~10MHz, M=2, and then frequency range (M+1) F is 3~15MHz; By that analogy, M=15, then frequency range (M+1) F is 16~80MHz.
In one embodiment of this invention; Said serial/parallel conversion equipment includes: serial/parallel converter, be used to carry out the mutual conversion between bit serial data and the four bit parallel data, and said serial/parallel converter has the input end of the serial data that receives said ISO7816 interface controller output; Receive the CKP end of clock frequency of (M+1) F of said clock frequency conversion equipment output; Receive the CKS end of clock frequency of 4 (M+1) F of said clock frequency conversion equipment output, export the output terminal of four bit parallel data, receive the input end of four bit parallel data and the output terminal of output serial data; First multiplexer; Be used for according to parameter S el from said parameter S el register; To from the serial data of said ISO7816 interface controller output, three ground connection data and carry out from four bit parallel data of the output terminal output of said serial/parallel converter multiplexed, four bit parallel data of forming from the serial data of said ISO7816 interface controller output and three ground connection data with output or give said second impact damper from four bit parallel data of the output terminal of said serial/parallel converter; And second multiplexer; Be used for according to parameter S el from said parameter S el register; To from the serial data of the output terminal of said serial/parallel converter output with carry out multiplexed from the serial data of passing through said first buffer buffers of said interface pin C7; Give said ISO7816 interface controller with output from the serial data of the output terminal output of said serial/parallel converter or from the serial data of said interface pin C7; Wherein first impact damper is four digit buffers; Be used for four bit parallel data from said interface pin C4, C6, C7 and C8 are cushioned, export to the said input end of said serial/parallel converter and only will export to second multiplexer from the data after the buffering of said interface pin C7 with four bit parallel data after will cushioning; Said second impact damper is four digit buffers; Be used for receiving respectively four bit parallel data of said first multiplexer output and the enable signal of exporting from said ISO7816 interface controller, to export to said interface pin C4, C6, C7 and C8 respectively behind the four bit parallel data bufferings that will receive.
In one embodiment of this invention; In the Sel parameter is 0 o'clock; When said mobile communication terminal is written to the smart card that uses in the said mobile communication terminal with data; Said first multiplexer output is from serial data and three four bit parallel data that the ground connection data are formed of said ISO7816 interface controller output; Perhaps when the smart card reading of data that said mobile communication terminal uses from said mobile communication terminal, said second multiplexer output is from the serial data of said interface pin C7; In the Sel parameter is 1 o'clock; When said mobile communication terminal is written to the smart card that uses in the said mobile communication terminal with data; Said first multiplexer output is from four bit parallel data of the output terminal of said serial/parallel converter; Perhaps when the smart card reading of data that said mobile communication terminal uses from said mobile communication terminal, said second multiplexer output is from the serial data of the output terminal of said serial/parallel converter.
In one embodiment of this invention; Said clock frequency conversion equipment includes: 4 (M+1) frequency multiplier; Be used for according to the parameter M from said parameter M register, the clock frequency F that the outside is imported carries out 4 (M+1) frequency multiplication, and exports to the CKS end of said serial/parallel converter; 4 frequency dividers are used for clock frequency 4 (M+1) F of said 4 (M+1) frequency multiplier output is carried out 4 frequency divisions, with the clock frequency of output (M+1) F, and export to the CKP end of said serial/parallel converter; The 3rd multiplexer; Be used for according to parameter S el from said parameter S el register; To the clock frequency F of outside input with carry out multiplexedly from clock frequency (M+1) F of said 4 frequency dividers, give said clock interface pin C3 with the clock frequency F that exports outside input or from clock frequency (M+1) F of 4 frequency dividers; And the 4th multiplexer; Be used for according to parameter S el from said parameter S el register; To the clock frequency F of outside input with carry out multiplexedly from clock frequency 4 (M+1) F of said 4 (M+1) frequency multiplier output, give said ISO7816 interface controller with the clock frequency F that exports outside input or from clock frequency 4 (M+1) F of said 4 (M+1) frequency multiplier output.
In one embodiment of this invention, when parameter S el was 0, the clock frequency F of the outside input of the 3rd multiplexer output gave said clock interface pin C3, and the clock frequency F of the outside input of the 4th multiplexer output gives said ISO7816 interface controller; When parameter S el is 1; The output of the 3rd multiplexer is given the clock interface pin C3 in the ISO7816 interface arrangement in the said mobile communication terminal from clock frequency (M+1) F of 4 frequency dividers, and the output of the 4th multiplexer is given said ISO7816 interface controller from clock frequency 4 (M+1) F of said 4 (M+1) frequency multiplier output.
According to a further aspect in the invention, the 2nd ISO7816 interface arrangement in the smart card that uses in a kind of mobile communication terminal is provided, has included the ISO7816 interface controller; The reseting interface pin C2 that links to each other with the reset terminal of said ISO7816 interface controller; Data input/output interface pin C7; It links to each other with the data input pin of ISO7816 interface controller through the 3rd impact damper; And link to each other with the data output end of said ISO7816 interface controller through the 4th impact damper, wherein the 4th impact damper also receives the enable signal from said ISO7816 interface controller; Interface pin C4, C6 and C8; And the clock interface pin C3 that links to each other with the clock end of said ISO7816 interface controller, it is characterized in that:
Said interface pin C4, C6 and C8 and C7 are connected to the input end of said the 3rd impact damper and the output terminal of said the 4th impact damper concurrently;
The 2nd ISO7816 interface arrangement in the said smart card also includes:
Serial/parallel conversion equipment; Be connected between said ISO7816 interface controller and said the 3rd impact damper and said the 4th impact damper; Be used at said mobile communication terminal during from smart card reading of data that said mobile communication terminal uses; One bit serial data-switching of ISO7816 interface controller output is become four bit parallel data,, walk abreast via said interface pin C4, C6, C7 and C8 respectively and export to said mobile communication terminal then through after said the 4th buffer buffers; Or when said mobile communication terminal is written to the smart card that uses in the said mobile communication terminal with data; To also become bit serial data from what said mobile communication terminal received by said interface pin C4, C6, C7 and C8 are parallel, be transferred to said ISO7816 interface controller through four bit parallel data-switching after said the 3rd impact damper (21) buffering;
The clock frequency conversion equipment; Link to each other with said ISO7816 interface controller, serial/parallel conversion equipment and said clock interface pin C3 respectively, be used to change by clock interface pin C3, being 0 o'clock at parameter S el from the clock frequency F of said mobile communication terminal input or (M+1) F; To said ISO7816 interface controller F or (M+1) clock frequency of F are provided; Or be 1 o'clock at parameter S el, to said ISO7816 interface controller 4F or 4 (M+1) is provided the clock frequency of F, and is 0 o'clock at parameter S el; To said serial/parallel conversion equipment F or (M+1) clock frequency of F are provided; Or be 1 o'clock at parameter S el, to said serial/parallel conversion equipment 4F or 4 (M+1) is provided the clock frequency of F, wherein F representes the arbitrary frequency values in the 1-5MHZ scope;
Parameter M register; Link to each other with said ISO7816 interface controller; Be used to store the parameter M of setting and provide said parameter M, thereby offer said mobile communication terminal via interface pin C7 through said ISO7816 interface controller to said ISO7816 interface controller; With
Parameter S el register; Link to each other with said ISO7816 interface controller, said serial/parallel conversion equipment and said clock frequency conversion equipment respectively; Be used to store the parameter S el of setting and offer said ISO7816 interface controller, said serial/parallel conversion equipment and said clock frequency conversion equipment, and offer said mobile communication terminal via interface pin C7 through said ISO7816 interface controller;
Wherein said parameter S el includes numeral 0 or 1, and numeral 0 expression only supports the ISO7816 interface arrangement of standard and numeral 1 to express support for said ISO7816 interface arrangement of the present invention; Parameter M representes the multiple to the lifting of outside input clock frequency F, is the arbitrary round values among the 0-15.
In one embodiment of this invention, M=0, then frequency range (M+1) F is 1~5MHz, M=1; Then frequency range (M+1) F is 2~10MHz, M=2, and then frequency range (M+1) F is 3~15MHz; By that analogy, M=15, then frequency range (M+1) F is 16~80MHz.
In one embodiment of this invention; Said serial/parallel conversion equipment comprises: serial/parallel converter; Be used to carry out the mutual conversion between bit serial data and the four bit parallel data; Said serial/parallel converter has the input end of the serial data that receives said ISO7816 interface controller output, receives the F of said clock frequency conversion equipment output or (M+1) the CKP end of the clock frequency of F, receives the CKS end of clock frequency of 4F or 4 (M+1) F of said clock frequency conversion equipment output; Export the output terminal of four bit parallel data, receive the input end of four bit parallel data and the output terminal of output serial data; The 5th multiplexer; Be used for according to said parameter S el; To from the serial data of said ISO7816 interface controller output, three ground connection data and carry out from four bit parallel data of the output terminal of said serial/parallel converter multiplexed, four bit parallel data of forming from the serial data of said ISO7816 interface controller output and three ground connection data with output or give said the 4th impact damper from four bit parallel data of the output terminal output of said serial/parallel converter; And the 6th multiplexer; Be used for according to said parameter S el; To from the serial data of the output terminal of said serial/parallel converter with carry out multiplexed from the serial data after the 3rd buffer buffers of said interface pin C7; Give said ISO7816 interface controller with output from the serial data of said output terminal from said serial/parallel converter or from the serial data of said interface pin C7; Wherein the 3rd impact damper is four digit buffers; Be used for four bit parallel data from said interface pin C4, C6, C7 and C8 are cushioned, export to the said input end of said serial/parallel converter and only will export to the 6th multiplexer from the data after the buffering of said interface pin C7 with four bit parallel data after will cushioning; The 4th impact damper is four digit buffers; Be used for receiving respectively four bit parallel data of said the 5th multiplexer output and the enable signal of exporting from said ISO7816 interface controller, to export to said interface pin C4, C6, C7 and C8 behind the data buffering with reception.
In one embodiment of this invention; In the Sel parameter is 0 o'clock; When the smart card reading of data that said mobile communication terminal uses from said mobile communication terminal, said the 5th multiplexer output is by serial data and three four bit parallel data that the ground connection data are formed from said ISO7816 interface controller output; Perhaps when said mobile communication terminal was written to the smart card that uses in the said mobile communication terminal with data, said the 6th multiplexer output was from the serial input data of said interface pin C7; In the Sel parameter is 1 o'clock, and when the smart card reading of data that said mobile communication terminal uses from said mobile communication terminal, said the 5th multiplexer output is from four bit parallel data of the output terminal output of said serial/parallel converter; Perhaps when said mobile communication terminal was written to the smart card that uses in the said mobile communication terminal with data, said the 6th multiplexer output was from the serial data of the output terminal output of said serial/parallel converter.
In one embodiment of this invention; Said clock frequency conversion equipment comprises: 4 frequency multipliers; Be used for the clock F of docking port pin C3 input or (M+1) the F frequency carry out 4 frequencys multiplication, with when the parameter S el=0, provide clock frequency F or (M+1) F give the CKP end of said serial/parallel converter; And when parameter S el=1, the CKS end that provides clock frequency 4F or 4 (M+1) F to give serial/parallel converter; The 7th multiplexer; Be used for according to said parameter S el; The clock F of docking port pin C3 input or (M+1) F and carry out multiplexed from clock frequency 4F or 4 (M+1) F of 4 frequency multipliers (241); With when the parameter S el=0; The clock F of output interface pin C3 input or (M+1) F give the said ISO7816 interface controller in the smart card that uses in the said mobile communication terminal, or when parameter S el=1, output is given the said ISO7816 interface controller in the smart card that uses in the said mobile communication terminal from clock frequency 4F or 4 (M+1) F of 4 frequency multipliers.
According to a further aspect in the invention; Data transmission processing method between the 2nd ISO7816 interface arrangement in the smart card that uses in an ISO7816 interface arrangement and the above-mentioned mobile communication terminal in a kind of above-mentioned mobile communication terminal is provided, has included following steps:
(1) the said mobile communication terminal power-up initializing of said smart card is housed;
(2) said mobile communication terminal automatically resets and responds the ATR processing;
(3) smart card that uses in the said mobile communication terminal is stored two registers that the parameter S el that sets and M send to respectively in the ISO7816 interface arrangement in the said mobile communication terminal; Wherein said parameter S el includes numeral 0 and 1; Wherein an ISO7816 interface arrangement and the 2nd ISO7816 interface arrangement of existing standard only supported in numeral 0 expression, and numeral 1 expresses support for a said ISO7816 interface arrangement of the present invention and the 2nd ISO7816 interface arrangement; Said parameter M representes the multiple to the lifting of outside input clock frequency F, is the arbitrary round values among the 0-15;
(4) carry out the transmission of data between the smart card that uses in said mobile communication terminal and the said mobile communication terminal; Comprise that said mobile communication terminal writes data to smart card that uses in the said mobile communication terminal and the smart card reading of data of in said mobile communication terminal, using; Wherein under parameter S el was 0 situation, said data were carried out bit serial transmission through the interface pin C7 in the 2nd ISO7816 interface arrangement in the smart card that uses in interface pin C7 in the ISO7816 interface arrangement in the said mobile communication terminal and the said mobile communication terminal; Be that said data are carried out the transmission of four bit parallels through interface pin C4, C6, C7 and C8 in the 2nd ISO7816 interface arrangement in the smart card that uses in interface pin C4, C6, C7 and C8 in the ISO7816 interface arrangement in the said mobile communication terminal and the said mobile communication terminal under 1 the situation at parameter S el; And
(5) end data transmission.
In one embodiment of this invention, the transfer step of said parameter S el and M (3) includes:
ISO7816 interface controller in the 2nd ISO7816 interface arrangement of the smart card that (301) uses in the said mobile communication terminal is held parameter M and the Sel that reads in the setting of storing respectively in the register in the 2nd ISO7816 interface arrangement via input IN, and exports to the interface pin C7 in the 2nd ISO7816 interface arrangement via output OUT end;
Interface pin C7 in (302) the 2nd ISO7816 interface arrangements passes to the interface pin C7 in the ISO7816 interface arrangement with parameter M and Sel;
(303) the ISO7816 interface controller in the ISO7816 interface arrangement of said mobile communication terminal is through the interface pin C7 in the ISO7816 interface arrangement; Receive said parameter M and Sel via input IN termination, and store via two registers that output OUT end is exported in the ISO7816 interface arrangement.
In one embodiment of this invention, be that when said mobile communication terminal was written to the smart card that uses in the mobile communication terminal with data, the transmitting step of said data (4) comprising under 1 the situation at parameter S el:
(401) processor in the said mobile communication terminal sends bit serial data in the ISO7816 interface arrangement in the said mobile communication terminal serial/parallel conversion equipment through the ISO7816 interface controller in the ISO7816 interface arrangement;
(402) the said serial/parallel conversion equipment in the ISO7816 interface arrangement in the said mobile communication terminal becomes four bit parallel data with this bit serial data-switching, and sends four interface pin C4, C6, C7 and C8 in the ISO7816 interface arrangement in the said mobile communication terminal to;
(403) said four bit parallel data through with said mobile communication terminal in an ISO7816 interface arrangement in four interface pin C4, C6, C7 and C8 with said mobile communication terminal that they link to each other respectively in four interface pin C4, C6, C7 and C8 in the smart card that uses send the serial/parallel conversion equipment in said the 2nd ISO7816 interface arrangement in the smart card that uses in the said mobile communication terminal to;
(404) the said serial/parallel conversion equipment in said the 2nd ISO7816 interface arrangement in the smart card that uses in the said mobile communication terminal becomes bit serial data with said four bit parallel data-switching, and sends the ISO7816 interface controller in said the 2nd ISO7816 interface arrangement in the smart card that uses in the said mobile communication terminal to; And
(405) the said ISO7816 interface controller in the 2nd ISO7816 interface arrangement in the smart card that uses in the said mobile communication terminal sends said bit serial data to the processor in the smart card inner control chip that uses in the said mobile communication terminal, realizes that said mobile communication terminal is written to data the smart card that uses in the said mobile communication terminal.
In one embodiment of this invention, be under 1 the situation at parameter S el, when smart card reading of data that said mobile communication terminal uses from mobile communication terminal, the transmitting step of said data (4) comprising:
(411) processor in the control chip in the smart card that uses in the said mobile communication terminal sends bit serial data in the 2nd ISO7816 interface arrangement in the smart card that uses in the said mobile communication terminal serial/parallel conversion equipment through the ISO7816 interface controller in the 2nd ISO7816 interface arrangement in the smart card that uses in the said mobile communication terminal after the reading command that receives from said mobile communication terminal;
(412) the said serial/parallel conversion equipment in said the 2nd ISO7816 interface arrangement in the smart card that uses in the said mobile communication terminal sends four interface pin C4, C6, C7 and C8 in the 2nd ISO7816 interface arrangement in the smart card that uses in the mobile communication terminal to after a said bit serial data-switching is become four bit parallel data;
(413) said four bit parallel data through four interface pin C4 in the smart card that uses in the mobile communication terminal, C6, C7, C8 with said mobile communication terminal that they link to each other respectively in an ISO7816 interface arrangement in four interface pin C4, C6, C7 and C8 send the serial/parallel conversion equipment in the ISO7816 interface arrangement in the said mobile communication terminal to;
(414) the said serial/parallel conversion equipment in the ISO7816 interface arrangement in the said mobile communication terminal sends the ISO7816 interface controller in the ISO7816 interface arrangement in the said mobile communication terminal to after said four bit parallel data-switching are become bit serial data; And
(415) the said ISO7816 interface controller in the ISO7816 interface arrangement in the said mobile communication terminal is given the processor in the said mobile communication terminal with a said bit serial data transmission, realizes the smart card reading of data that said mobile communication terminal uses from said mobile communication terminal.
Significant beneficial effect below the present invention has realized: through the input/output interface pin C7 in the existing ISO7816 standard of combination use and three interface pin C4 of reservation; C6 and C8; Make the data transmission between the interior ISO7816 interface arrangement of ISO7816 interface arrangement and smart card in the mobile communication terminal undertaken by parallel interface C4, C6, C7 and the C8 that the input/output interface C7 through original serial becomes through 4; And improve the clock frequency of importing during the data transmission simultaneously, thereby reach the effect of the data throughput that significantly improves the ISO7816 interface arrangement.
Others of the present invention and specific embodiment can obtain better understanding through following accompanying drawing.
Description of drawings
Fig. 1 is the block scheme of the structure of the ISO7816 interface arrangement in the existing mobile communication terminal of expression (for example mobile phone);
Fig. 2 is the block diagram of the ISO7816 interface arrangement in the smart card that uses in the existing mobile communication terminal of expression (for example mobile phone);
Fig. 3 is the synoptic diagram of each pin function of the ISO7816 interface of description standard;
Fig. 4 is the block scheme of structure of the ISO7816 interface arrangement in the mobile communication terminal (for example mobile phone) of expression one embodiment of the invention;
Fig. 5 is the block diagram of the ISO7816 interface arrangement in the smart card that uses in the mobile communication terminal (for example mobile phone) of expression one embodiment of the invention;
Fig. 6 explains the synoptic diagram of each pin function of ISO7816 interface of the present invention.
Embodiment
Below provided according to several example embodiment of the present invention, this introduction is merely illustrative, never representes limitation of the present invention, the aspect that it is the most wide in range, and appended from here claim defines.
As can beappreciated from fig. 6; Compare with the ISO7816 interface of standard in the prior art; In the ISO7816 interface arrangement of the present invention, the function of interface pin C1, C2, C3, C5 all has no variation, and interface pin C7 is also still as data transmission terminal; Difference is to keep not in the ISO7816 interface of standard in the prior art, and interface pin C4, C6 and the C8 of usefulness also are used as data transmission interface, thereby it is said that interface pin C4, C6, C7 and C8 have constituted the defeated interface of parallel four figures together.
And, in order to keep the compatibility with the standard ISO 7816 of prior art, adopting in the system of mobile communication terminal and smart card of ISO7816 interface arrangement of the present invention, the process of the process of power-up initializing and ISO7816 regulation is just the same.Reset during ATR handles from dynamic response carrying out, smart card parameter that some are specific sends mobile phone to according to the form of standard code.Reserved a large amount of fields in the ISO7816 standard and be used for expanding, so can utilize these fields to define two parameters such as TC (2) and TD (2):
● Sel: be 1 bit data, include numeral 0 and 1, wherein 1 express support for ISO7816 interface arrangement of the present invention, the ISO7816 interface of the standard of prior art is only supported in 0 expression
● M: be 4 bit data, the multiple that the expression clock frequency promotes.Standard ISO 7816 regulation clock frequency F are 1-5MHz, and therefore, the clock frequency of improved ISO7816 interface arrangement of the present invention promotes and is (M+1)-5 (M+1) MHz; Wherein M is the arbitrary integer among the 0-15; Be that M=0 representes that frequency range is 1~5MHz, M=1 representes that frequency range is 2~10MHz, and M=2 representes 3~15MHz; ..., M=15 representes 16~80MHz.
As shown in Figure 4, show block scheme according to the structure of the ISO7816 interface arrangement 1 in the mobile phone of one embodiment of the invention.Parameter F=5MHz wherein, parameter M=15.ISO7816 interface arrangement in the said mobile communication terminal includes ISO7816 interface controller 10; The reseting interface pin C2 that links to each other with the reset terminal RST of said ISO7816 interface controller 10; Serial/parallel conversion equipment 13 does not link to each other with data output end OUT with the data input pin IN of said ISO7816 interface controller 10 respectively, is used to carry out the mutual conversion between bit serial data and the four bit parallel data; The one or four digit buffer 11, output terminal links to each other with said serial/parallel conversion equipment 13; The two or four digit buffer 12, input end links to each other with said serial/parallel conversion equipment 13; Data transmission interface pin C4, C6, C7 and C8 are simultaneously with parallel linking to each other of output terminal of the input end and the two or four digit buffer 12 of said the one or four digit buffer 11; Clock interface pin C3; Clock frequency conversion equipment 14; Link to each other with said clock interface pin C3 with said ISO7816 interface controller 10, serial/parallel conversion equipment 13 respectively; Be used to change the clock frequency 5MHz of input; So that the clock frequency of 5MHz or 320MHz to be provided to said ISO7816 interface controller 10, to said serial/parallel conversion equipment 11 clock frequency of 80MHz and 320MHz to be provided, and the clock frequency of 5MHz or 80MHz to be provided to said interface pin C3; Parameter M register 31; Link to each other with said clock frequency conversion equipment 14 with the OUT end of said ISO7816 interface controller 10 respectively, be used to store the said parameter M=15 that receives from said ISO7816 interface controller 10 and provide said parameter M=15 to said clock frequency conversion equipment 14; With parameter S el register 32; Link to each other with said clock frequency conversion equipment 14 with the OUT end of said ISO7816 interface controller 10, said serial/parallel conversion equipment 13 respectively; Be used to store the said parameter S el that receives from said ISO7816 interface controller 10 and provide said parameter S el to said serial/parallel conversion equipment 13 and said clock frequency conversion equipment 14; Wherein said serial/parallel conversion equipment 13 is used for when said mobile phone is written to smart card with data; Convert a bit serial data D1a of ISO7816 interface controller 10 outputs to four bit parallel data D2a, D3a, D4a, D5a or 0,0, D1a, 0; Through after said the two or four digit buffer 12 bufferings, export to said smart card then via said interface pin C4, C6, C7 and C8; Or at said mobile phone during from said smart card reading of data; That to receive from said smart card by said interface pin C4, C6, C7 and C8 and through four bit parallel data D2a ', D3a ', D4a ', D5a ' after said the one or four digit buffer 11 bufferings convert to a bit serial data D1a ' or will from interface pin C7 receive cushion by said the one or four digit buffer 11 after serial data D4a ', be transferred to said ISO7816 interface controller 10.Wherein said parameter S el and parameter M are that said ISO7816 interface controller 10 receives from said smart card via interface pin C7; Particularly; ISO7816 interface controller 10 in the ISO7816 interface arrangement of said mobile communication terminal is through interface pin C7; Receive said parameter M and Sel via the IN termination, and export to two registers 31 and 32 respectively via output terminal OUT and store.
Wherein, Said serial/parallel conversion equipment 13 includes: serial/parallel converter 131; Be used to carry out the mutual conversion between bit serial data and the four bit parallel data; Said serial/parallel converter 131 has the input end 131a of the serial data D1a that receives said ISO7816 interface controller 10 outputs; Receive the CKP end of clock frequency of the 80MHz of said clock frequency conversion equipment 14 outputs; Receive the CKS end of clock frequency of the 320MHz of said clock frequency conversion equipment 14 outputs, export the output terminal 131b of four bit parallel data D2a, D3a, D4a, D5a, receive the input end 131c of four bit parallel data D2a ', D3a ', D4a ', D5a ' and the output terminal 131d of output serial data D1a '; First multiplexer 132; Be used for according to parameter S el from said parameter S el register 32; To from the serial data D1a of said ISO7816 interface controller 10 outputs, three ground connection data 0,0,0 with carry out multiplexed from four bit parallel data D2a, D3a, D4a, the D5a of the output terminal 131b output of said serial/parallel converter 131; And it is 0 o'clock in the Sel parameter; To export to said second impact damper 12 from four bit parallel data 0,0, the D1a, 0 that the serial data D1a of said ISO7816 interface controller 10 outputs and three ground connection data 0,0,0 are formed; Or be 1 o'clock in the Sel parameter, will export to said second impact damper 12 from four bit parallel data D2a, D3a, D4a, the D5a of said serial/parallel converter 131; And second multiplexer 133; Be used for according to parameter S el from said parameter S el register 32; To from the serial data D1a ' of the output terminal 131d of said serial/parallel converter 131 output with carry out multiplexed from the serial data D4a ' that said the one or four digit buffer 11 cushions that pass through of said interface pin C7; Being 1 o'clock in the Sel parameter; To export to said ISO7816 interface controller 10 from the serial data D1a ' of said output terminal 131d from said serial/parallel converter 131; Or be 0 o'clock in the Sel parameter, will export to said ISO7816 interface controller 10 from the serial data D4a ' that passes through said the one or four digit buffer 11 bufferings of said interface pin C7.
Wherein the one or four digit buffer 11 is used for four bit parallel data D2a ', D3a ', D4a ', D5a ' from said interface pin C4, C6, C7 and C8 are cushioned, and exports to the said input end 131c of said serial/parallel converter 131 and only will export to second multiplexer 133 from the data D4a ' after the buffering of said interface pin C7 with four bit parallel data D2a ', D3a ', D4a ', D5a ' after will cushioning; Said the two or four digit buffer 12 is used for receiving respectively the four bit parallel data D2a, D3a, D4a, D5a or 0,0, D1a, 0 and from the enable signal of said ISO7816 interface controller 10 outputs of said first multiplexer 132 outputs, with exporting to said interface pin C4, C6, C7 and C8 behind the data buffering that receives.
Wherein under the Sel parameter is 0 situation; When mobile phone is written to smart card with data, four bit parallel data 0,0, D1a, 0 that said first multiplexer 132 output is formed from the serial data D1a of said ISO7816 interface controller 10 outputs and three ground connection data 0,0,0; Perhaps when mobile phone during from the smart card reading of data, 133 outputs of said second multiplexer are from the serial data D4a ' of said interface pin C7.Be that when mobile phone was written to smart card with data, 132 outputs of said first multiplexer were from four bit parallel data D2a, D3a, D4a, the D5a of said serial/parallel converter 131 outputs under 1 the situation in the Sel parameter; Perhaps when mobile phone during from the smart card reading of data, 133 outputs of said second multiplexer are from the serial data D1a ' of the output terminal 131d output of said serial/parallel converter 131.
Wherein, said clock frequency conversion equipment 14 includes: 64 frequency multipliers 141, be used for according to parameter M=15 from said M parameter register 31, and the clock frequency 5MHz that the outside is imported carries out 64 frequencys multiplication, and exports to the CKS end of said serial/parallel converter 131; 4 frequency dividers 142 are used for the clock frequency 320MHz of said 64 frequency multipliers 141 output is carried out 4 frequency divisions, with the clock frequency of output 80MHz, and export to the CKP end of said serial/parallel converter 131; The 3rd multiplexer 143; Be used for according to parameter S el from said parameter S el register 32; To the clock frequency 5MHz of outside input with carry out multiplexedly from the clock frequency 80MHz of said 4 frequency dividers 142, give said clock interface pin C3 with the clock frequency 5MHz that exports outside input or from the clock frequency 80MHz of 4 frequency dividers 142; And the 4th multiplexer 144; Be used for according to parameter S el from said parameter S el register 32; To the clock frequency 5MHz of outside input with carry out multiplexedly from the clock frequency 320MHz of said 64 frequency multipliers 141 outputs, give said ISO7816 interface controller 10 with the clock frequency 5MHz that exports outside input or from the clock frequency 320MHz of said 64 frequency multipliers 141 outputs.Wherein, when parameter S el was 0, the clock frequency 5MHz of the outside input of the 3rd multiplexer 143 outputs gave said clock interface pin C3, and the clock frequency 5MHz of the outside input of the 4th multiplexer 144 outputs gives said ISO7816 interface controller 10.When parameter S el is 1; 143 outputs of the 3rd multiplexer are given said clock interface pin C3 from the clock frequency 80MHz of 4 frequency dividers 142, and 144 outputs of the 4th multiplexer are given said ISO7816 interface controller 10 from the clock frequency 320MHz of said 64 frequency multipliers 141 outputs.
Serial/parallel conversion equipment 13 of the present invention can adopt current commercially available serial/parallel conversion equipment and clock frequency conversion equipment to realize with clock frequency conversion equipment 14.Certainly; Those of ordinary skill in the art can expect easily that serial/parallel conversion equipment of the present invention 13 and clock frequency conversion equipment 14 can have the implementation of multiple equivalence replacement and the simple remodeling of obvious unsubstantiality, just no longer specifically enumerate at this one by one.
As shown in Figure 5, show the block diagram of the ISO7816 interface arrangement 2 in the smart card that uses in the mobile phone according to one embodiment of the invention shown in Figure 4.Store in the smart card that uses in the said mobile phone said setting parameter M=15 and Sel=0 or=1.
ISO7816 interface arrangement in the said smart card includes ISO7816 interface controller 20; The reseting interface pin C2 that links to each other with the reset terminal RST of said ISO7816 interface controller 20; Serial/parallel conversion equipment 23 links to each other with data output end OUT with the data input pin IN of said ISO7816 interface controller 20, is used to carry out the mutual conversion between bit serial data and the four bit parallel data; The three or four digit buffer 21, its output terminal links to each other with said serial/parallel conversion equipment 23; The four or four digit buffer 22, its input end links to each other with said serial/parallel conversion equipment 23; Data transmission interface pin C4, C6, C7 and C8 are simultaneously with parallel linking to each other of output terminal of the input end and the four or four digit buffer 22 of said the three or four digit buffer 21; Clock interface pin C3; Clock frequency conversion equipment 24; Link to each other with said interface pin C3 with said ISO7816 interface controller 20, serial/parallel conversion equipment 23 respectively; Be used to change clock frequency 5MHz or the 80MHz from said mobile phone input by interface pin C3; So that the clock frequency of 5MHz and 320MHz to be provided to said ISO7816 interface controller 20, reach the clock frequency that 5MHz or 80MHz and 20MHz or 320MHz are provided to said serial/parallel conversion equipment 23; Parameter M register 41; Link to each other with the IN end of said ISO7816 interface controller 20; Be used to store the parameter M of setting and provide said parameter M, thereby offer said mobile phone via OUT end, interface pin C7 through said ISO7816 interface controller 20 to said ISO7816 interface controller 20; With parameter S el register 42; Link to each other with said clock frequency conversion equipment 24 with the IN end of said ISO7816 interface controller 20, said serial/parallel conversion equipment 23 respectively; Be used to store the parameter S el of setting and offer said ISO7816 interface controller 20, said serial/parallel conversion equipment 23 and said clock frequency conversion equipment 24, and offer said mobile phone via OUT end, interface pin C7 through said ISO7816 interface controller 20.
Wherein, Said serial/parallel conversion equipment 23 is used at said mobile phone during from said smart card reading of data; Convert a bit serial data D1b of ISO7816 interface controller 20 outputs to four bit parallel data D2b, D3b, D4b, D5b or 0,0, D4b, 0; Through after said the four or four bit parallel impact damper 22 bufferings, export to said mobile phone via said interface pin C4, C6, C7 and C8 respectively then; Or when said mobile phone is written to said smart card with data; That to receive from said mobile phone by said interface pin C4, C6, C7 and C8 and through four bit parallel data D2b ', D3b ', D4b ', D5b ' after said the one or three impact damper 21 bufferings convert to a bit serial data D1b ' or will from interface pin C7 receive cushion by said the three or four digit buffer 21 after serial data D4b ', be transferred to said ISO7816 interface controller 20.
Wherein, Said serial/parallel conversion equipment 23 comprises: serial/parallel converter 231; Be used to carry out the mutual conversion between bit serial data and the four bit parallel data; Said serial/parallel converter 231 has the input end 231a of the serial data D1b that receives said ISO7816 interface controller 20 outputs; Receive the CKP end of clock frequency of 5MHz or the 80MHz of 24 outputs of said clock frequency conversion equipment; Receive the CKS end of clock frequency of 20MHz or the 320MHz of 24 outputs of said clock frequency conversion equipment, export the output terminal 231b of four bit parallel data D2b, D3b, D4b, D5b, receive the input end 231c of four bit parallel data D2b ', D3b ', D4b ', D5b ' and the output terminal 231d of output serial data D1b '; The 5th multiplexer 232; Be used for according to said parameter S el; To from the serial data D1b of said ISO7816 interface controller 20 outputs, three ground connection data 0,0,0 with carry out multiplexed from four bit parallel data D2b, D3b, D4b, the D5b of said serial/parallel converter 231 outputs; Being 0 o'clock at parameter S el; To export to said the 4th impact damper 22 from four bit parallel data 0,0, the D1b, 0 that the serial data D1b of said ISO7816 interface controller 20 and three ground connection data 0,0,0 are formed or be 1 o'clock, will export to said the 4th impact damper 22 from four bit parallel data D2b, D3b, D4b, the D5b of said serial/parallel converter 231 outputs at parameter S el; And the 6th multiplexer 233; Be used for according to said parameter S e1; To from the serial data D1b ' of the output terminal 231d of said serial/parallel converter 231 with carry out multiplexed from the serial data D4b ' after the 3rd impact damper 21 bufferings of said interface pin C7; Being 1 o'clock at parameter S el; To be transferred to said ISO7816 interface controller 20 from the serial data D1b ' of the output terminal 231d of said serial/parallel converter 231, or be 0 o'clock, will be transferred to said ISO7816 interface controller 20 from the serial data D4b ' after the 3rd impact damper 21 bufferings of said interface pin C7 at parameter S el.
Wherein the three or four digit buffer 21 is used for four bit parallel data D2b ', D3b ', D4b ', D5b ' from said interface pin C4, C6, C7 and C8 are cushioned, and exports to the said input end 231c of said serial/parallel converter 231 and only will export to the 6th multiplexer 233 from the data D4b ' after the buffering of said interface pin C7 with four bit parallel data D2b ', D3b ', D4b ', D5b ' after will cushioning; The four or four digit buffer 22 is used for receiving respectively the four bit parallel data D2b, D3b, D4b, D5b or 0,0, D1b, 0 and from the enable signal of said ISO7816 interface controller 20 outputs of said the 5th multiplexer 232 outputs, with exporting to said interface pin C4, C6, C7 and C8 behind the data buffering that receives.
Wherein under the Sel parameter is 0 situation; When mobile phone during from the smart card reading of data, four bit parallel data 0,0, D1b, 0 that 232 outputs of said the 5th multiplexer are formed from the serial data D1b of said ISO7816 interface controller 20 outputs and three ground connection data 0,0,0; Perhaps when mobile phone write data to smart card, 233 outputs of said the 6th multiplexer were from the serial input data D4b ' of said interface pin C7.Be under 1 the situation in the Sel parameter, when mobile phone during from the smart card reading of data, 232 outputs of said the 5th multiplexer are from four bit parallel data D2b, D3b, D4b, the D5b of said serial/parallel converter 231 outputs; Perhaps when mobile phone write data to smart card, 234 outputs of said the 6th multiplexer were from the serial data D1b ' of the output terminal 231d of said serial/parallel converter 231.
Wherein, Said clock frequency conversion equipment 24 comprises: 4 frequency multipliers 241; The clock 5MHz or the 80MHz frequency that are used for docking port pin C3 input are carried out 4 frequencys multiplication; Providing clock frequency 5MHz or 80MHz, and clock frequency 20MHz or 320MHz are provided the CKS end to serial/parallel converter 231 to the CKP of said serial/parallel converter 231 end; The 7th multiplexer 242; Be used for according to said parameter S el; The clock 5MHz of docking port pin C3 input or 80MHz and carry out multiplexedly from the clock frequency 20MHz of 4 frequency multipliers 241 or 320MHz give the said ISO7816 interface controller 20 in the said smart card with the clock 5MHz of output interface pin C3 input or 80MHz or from the clock frequency 20MHz or the 320MHz of 4 frequency multipliers 241.Wherein, when parameter S el is 0, the 7th multiplexer 242 output interface pin C3 input clock frequency 5MHz give the said ISO7816 interface controller 20 in the said smart card; When parameter S el is 1, the 7th multiplexer 242 output interface pin C3 input clock frequency 320MHz give the said ISO7816 interface controller 20 in the said smart card.
Serial/parallel conversion equipment 23 of the present invention can adopt current commercially available serial/parallel conversion equipment and clock frequency conversion equipment to realize with clock frequency conversion equipment 24.Certainly, those of ordinary skill in the art can expect easily that serial/parallel conversion equipment 23 of the present invention and clock frequency conversion equipment 24 can have the implementation of multiple equivalence replacement and obvious remodeling, just no longer specifically enumerate at this one by one.
In another embodiment of the present invention, parameter F=1MHz, parameter M=0,4 (M+1) frequency multiplier 141 that then comprises in the clock frequency conversion equipment 14 is 4 frequency multipliers.As shown in Figure 4 according to the ISO7816 interface arrangement 1 in the mobile phone of the present invention in, under the situation of parameter S el=0, clock frequency conversion equipment 14 provides the CK end of the clock frequency of 1MHz to ISO7816 interface controller 10; The CKS end of the clock frequency of 4MHz to said serial/parallel converter 131 is provided; The CKP end of the clock frequency of 1MHz to said serial/parallel converter 131 is provided; The clock frequency that 1MHz is provided is to said pin C3.Under the situation of parameter S el=1, clock frequency conversion equipment 14 provides the CK end of the clock frequency of 4MHz to ISO7816 interface controller 10; The CKS end of the clock frequency of 4MHz to said serial/parallel converter 131 is provided; The CKP end of the clock frequency of 1MHz to said serial/parallel converter 131 is provided; The clock frequency that 1MHz is provided is to said pin C3.As shown in Figure 5 according to the ISO7816 interface arrangement 2 in the smart card of the present invention in; Under the situation of parameter S el=0; The clock frequency that the C3 pin receives is 1MHz, and clock frequency conversion equipment 24 provides the CK end of the clock frequency of 1MHz to ISO7816 interface controller 20; The CKS end of the clock frequency of 4MHz to said serial/parallel converter 231 is provided; The CKP end of the clock frequency of 1MHz to said serial/parallel converter 231 is provided.Under the situation of parameter S el=1, the clock frequency that the C3 pin receives is 1MHz, and clock frequency conversion equipment 24 provides the CK end of the clock frequency of 4MHz to ISO7816 interface controller 20; The CKS end of the clock frequency of 4MHz to said serial/parallel converter 231 is provided; The CKP end of the clock frequency of 1MHz to said serial/parallel converter 231 is provided.
In another embodiment of the present invention, parameter F=3MHz, parameter M=5,4 (M+1) frequency multiplier 141 that then comprises in the clock frequency conversion equipment 14 is 24 frequency multipliers.As shown in Figure 4 according to the ISO7816 interface arrangement 1 in the mobile phone of the present invention in, under the situation of parameter S el=0, clock frequency conversion equipment 14 provides the CK end of the clock frequency of 3MHz to ISO7816 interface controller 10; The CKS end of the clock frequency of 72MHz to said serial/parallel converter 131 is provided; The CKP end of the clock frequency of 18MHz to said serial/parallel converter 131 is provided; The clock frequency that 3MHz is provided is to said pin C3.Under the situation of parameter S el=1, clock frequency conversion equipment 14 provides the CK end of the clock frequency of 72MHz to ISO7816 interface controller 10; The CKS end of the clock frequency of 72MHz to said serial/parallel converter 131 is provided; The CKP end of the clock frequency of 18MHz to said serial/parallel converter 131 is provided; The clock frequency that 18MHz is provided is to said pin C3.As shown in Figure 5 according to the ISO7816 interface arrangement 2 in the smart card of the present invention in; Under the situation of parameter S el=0; The clock frequency that the C3 pin receives is 3MHz, and clock frequency conversion equipment 24 provides the CK end of the clock frequency of 3MHz to ISO7816 interface controller 20; The CKS end of the clock frequency of 12MHz to said serial/parallel converter 231 is provided; The CKP end of the clock frequency of 3MHz to said serial/parallel converter 231 is provided.Under the situation of parameter S el=1, the clock frequency that the C3 pin receives is 18MHz, and clock frequency conversion equipment 24 provides the CK end of the clock frequency of 72MHz to ISO7816 interface controller 20; The CKS end of the clock frequency of 72MHz to said serial/parallel converter 231 is provided; The CKP end of the clock frequency of 18MHz to said serial/parallel converter 231 is provided.
In one embodiment of this invention, provide ISO7816 interface arrangement and the data transmission processing method between the ISO7816 interface arrangement in the above-mentioned smart card in a kind of above-mentioned mobile phone not shown, included following steps:
1, the said mobile phone power-up initializing of said smart card is housed;
2, said mobile phone automatically resets and responds the ATR processing;
3, said smart card two the parameter S el and the F that will set sends two registers 31 in the said ISO7816 interface arrangement in the said mobile phone respectively to; 32 store; Wherein said parameter S el is a parameter; Include numeral 0 and 1, wherein the ISO7816 interface arrangement of existing standard is only supported in numeral 0 expression, and numeral 1 expresses support for said ISO7816 interface arrangement of the present invention; Said parameter M is four parameters, and the multiple that expression expression clock frequency promotes is the arbitrary round values among the 0-15;
4, carry out the transmission of data between said mobile phone and the said smart card; Comprise that said mobile phone writes data to said smart card and from said smart card reading of data; Wherein under parameter S el was 0 situation, said data were carried out bit serial transmission through interface pin C7 in the ISO7816 interface arrangement in the said mobile phone and the interface pin C7 in the ISO7816 interface arrangement in the said smart card; Be that said data are carried out the transmission of four bit parallels through interface pin C4, C6, C7 and C8 in the ISO7816 interface arrangement in the said mobile phone and interface pin C4, C6, C7 and C8 in the ISO7816 interface arrangement in the said smart card under 1 the situation at parameter S el; And
5, end data transmission.
Wherein, the transfer step 3 of said parameter S el and M includes:
301, the ISO7816 interface controller 20 in the ISO7816 device of said smart card is held parameter M and the Sel that reads in the setting of storing respectively in register 41 and 42 via input IN, and gives interface pin C7 via output OUT output terminal;
302, the ISO7816 interface controller in the ISO7816 interface arrangement of said mobile communication terminal 10 is received said parameter M and Sel through interface pin C7 via input IN termination, and exports to two registers 31 and 32 via output OUT end and store.
Wherein, be that when mobile phone was written to smart card with data, said data transmission step 4 comprised under 1 the situation at parameter S el:
401, the processor in the said mobile phone sends a bit serial data D1a to serial/parallel conversion equipment 13 through the ISO7816 interface controller 10 in the ISO7816 interface arrangement;
402, said serial/parallel conversion equipment 13 converts these bit serial data D1a to four bit parallel data D2a, D3a, D4a, D5a, and sends four interface pin C4, C6, C7 and C8 in the ISO7816 interface arrangement in the said mobile phone to;
403, said four bit parallel data D2a, D3a, D4a, D5a through with said mobile phone in the ISO7816 interface arrangement in four interface pin C4, C6, C7 and C8 with said smart card that they link to each other respectively in four interface pin C4, C6, C7 and C8 send the serial/parallel conversion equipment 23 in the said ISO7816 interface arrangement in the said smart card to;
404, said serial/parallel conversion equipment 23 is that D2b ', D3b ', D4b ', D5b ' convert a bit serial data D1b ' to said four bit parallel data D2a, D3a, D4a, D5a, and sends the ISO7816 interface controller 20 in the said ISO7816 interface arrangement in the said smart card to; And
405, said ISO7816 interface controller 20 sends a said bit serial data D1b ' in the said smart card inner control chip processor, realizes that said mobile phone is written to said smart card with data.
Wherein, be under 1 the situation at parameter S el, when mobile phone during from the smart card reading of data, the transmitting step 4 of said data comprises:
411, the processor in the control chip in the said smart card sends a bit serial data D1b in the ISO7816 interface arrangement in the said smart card serial/parallel conversion equipment 23 through the ISO7816 interface controller 20 in the ISO7816 interface arrangement in the said smart card after the reading command that receives from mobile phone;
412, said serial/parallel conversion equipment 23 sends four interface pin C4, C6, C7 and C8 in the ISO7816 interface arrangement in the smart card to after converting a said bit serial data D1b to four bit parallel data D2b, D3b, D4b, D5b;
413, said four bit parallel data D2b, D3b, D4b, D5b through four interface pin C4 in the smart card, C6, C7, C8 with mobile phone that they link to each other respectively in the ISO7816 interface arrangement in four interface pin C4, C6, C7 and C8 send the serial/parallel conversion equipment 13 in the ISO7816 interface arrangement in the said mobile phone to;
414, said serial/parallel conversion equipment 13 is that D2a ', D3a ', D4a ', D5a ' send the ISO7816 interface controller 10 in the said mobile phone to after converting a bit serial data D1a ' to said four bit parallel data D2b, D3b, D4b, D5b; And
415, said ISO7816 interface controller 10 is transferred to the processor in the said mobile phone with a said bit serial data D1a ', realizes that said mobile phone is from said smart card reading of data.
Wherein, be that when mobile phone was written to smart card with data, the transmitting step 4 of said data comprised under 0 the situation at parameter S el:
421, the processor in the said mobile phone sends a bit serial data D1a to serial/parallel conversion equipment 13 through the ISO7816 interface controller 10 in the ISO7816 interface arrangement;
422, said serial/parallel conversion equipment 13 is combined into four bit parallel data 0,0, D1a, 0 with this bit serial data D1a and three ground connection data 0,0,0; And send in the ISO7816 interface arrangement in the said mobile phone four interface pin C4, C6, C7 and C8 in fact only interface pin C7 receive a said bit serial data D1a, and pin C4, C6 and C8 receive and are sky data 0;
423, the said bit serial data D1a that receives of pin C7 through with said mobile phone in the ISO7816 interface arrangement in interface pin C7 and the said smart card that links to each other with it in the ISO7816 interface arrangement in interface pin C7 send the serial/parallel conversion equipment 23 in the said ISO7816 interface arrangement in the said smart card to;
424, said serial/parallel conversion equipment 23 is that D4b ' sends the ISO7816 interface controller 20 in the said ISO7816 interface arrangement in the said smart card to a said bit serial data D1a; And
425, said ISO7816 interface controller 20 sends a said bit serial data D4b ' in the said smart card inner control chip processor, realizes that said mobile phone is written to said smart card with data.
Wherein, be under 0 the situation at parameter S el, when mobile phone during from the smart card reading of data, the transmitting step 4 of said data comprises:
431, the processor in the control chip in the said smart card sends a bit serial data D1b in the ISO7816 interface arrangement in the said smart card serial/parallel conversion equipment 23 after the steering order that receives from mobile phone;
432, send to behind said serial/parallel conversion equipment 23 four bit parallel data 0,0 that a said bit serial data D1b and three ground connection data 0,0,0 are formed, the D1b, 0 four interface pin C4, C6, C7 and C8 in the smart card (in fact only interface pin C7 receives a said bit serial data D1b, and pin C4, C6 and C8 receive be sky data 0);
433, the said bit serial data D1b that receives of said interface pin C7 through the interface pin C7 in the smart card with mobile phone that it links to each other in the ISO7816 interface arrangement in interface pin C7 send the serial/parallel conversion equipment 13 in the ISO7816 interface arrangement in the said mobile phone to;
434, said serial/parallel conversion equipment 13 is that D4a ' sends the ISO7816 interface controller 10 in the said mobile phone to a said bit serial data D1b; And
435, said ISO7816 interface controller 10 is transferred to the processor in the said mobile phone with a said bit serial data D4a ', realizes that said mobile phone is from said smart card reading of data.
ISO7816 interface arrangement with in the mobile phone is example, and is as shown in Figure 4, and the clock frequency of the clock interface pin C3 output in the mobile phone depends on M and Sel.Two registers 31 in the mobile phone and 32 are respectively applied for stores said parameter M and Sel, and the default value of this two parameter is 0.So behind the power-up initializing, the output clock frequency F of the clock interface pin C3 in the mobile phone is 1-5MHz, 4 in the clock frequency conversion equipment 14 (M+1) frequency multiplier 141 and 4 frequency dividers 142 are not all worked.After the ATR processing that resets from dynamic response, mobile phone has obtained parameter M that sets and Sel that smart card sends.If Sel is 0, the work clock of the ISO7816 interface controller 10 in the mobile phone is F=1-5MHz.If Sel be 1 and M be not equal to 0; Said 4 (M+1) frequency multiplier 141 and 4 frequency dividers 142 in the mobile phone are all started working; The clock frequency that clock interface pin C3 in the mobile phone will export (M+1) F MHz is for example at F=5MHz, and during M=15, clock interface pin C3 will export (15+1) * 5=80MHz.In other words, when Sel was 1, the clock frequency of clock interface pin C3 output was (M+I) F MHz; Data transmission interface pin C4; C6, C7, the frequency of operation of C8 also is (M+I) F MHz; The work clock of the parallel input/output terminal CKP of the serial/parallel conversion equipment 131 in the ISO7816 interface arrangement in the mobile phone is (M+1) F MHz, and the work clock of its serial input/output terminal CKS is 4 (M+I) F MHz.At this moment, the work clock of the ISO7816 interface controller 10 in the mobile phone is 4 (M+1) FMHz.Wherein, preferably, select F=5MHz, thereby realize the frequency multiplication of 20 (M+1) MHz.
Obviously, being not limited in mobile phone at the mobile communication terminal described in the technical scheme of the present invention, can be scrutable other the equivalent alternative of those skilled in the art.And, the IC-card that the smart card described in the technical scheme of the present invention is not limited only to use in the mobile phone, and can be the smart card of other type that is used for the employing ISO7816 interface standard of mobile communication terminal.
Adopt ISO7816 interface arrangement of the present invention; Difference according to configuration; Be under 1 the situation,, can the data throughput of standard ISO7816 interface in the prior art be improved 4~64 times after doubly taking advantage of through 4 (M+1) in the Sel parameter through selecting the arbitrary integer among the M=0-15; On the other hand under the Sel parameter is 0 situation, also kept with prior art in the ISO7816 interface compatibility of standard, and avoided significantly increasing the complicacy of software and hardware to greatest extent.The user, cell phone manufacturer, the operation commercial city can not increase cost for this reason significantly, thereby for further promoting smart card with large capacity possibility is provided.
Although explained, described and pointed out the of the present invention basic novel characteristics that puts on an one of which preferred embodiment; But the those of skill in the art in this technical field will appreciate that; Under the situation that does not deviate from design of the present invention; Can aspect the form and details of illustrated equipment, the present invention be carried out various omissions, substitute and revise.For example, in order to reach identical result, those carry out all combinations of the element and the method step of essentially identical function with essentially identical mode, all fall into scope of the present invention.And; It should further be appreciated that; Normal conditions as design alternative; Can the illustrated and described structure relevant and element with any disclosed form of the present invention or embodiment and/method step, incorporate into any other disclosed or the form or the embodiment that describe or advised.Therefore, the present invention only is intended to from here that the scope of accompanying claims limits.

Claims (15)

1. the ISO7816 interface arrangement in the mobile communication terminal includes ISO7816 interface controller (10); The reseting interface pin C2 that links to each other with the reset terminal of said ISO7816 interface controller (10); Data input/output interface pin C7; It links to each other with the data input pin of ISO7816 interface controller (10) through first impact damper (11); And link to each other with the data output end of said ISO7816 interface controller (10) through second impact damper (12), wherein second impact damper (12) also receives the enable signal from said ISO7816 interface controller (10); Interface pin C4, C6 and C8; And the clock interface pin C3 that links to each other with the clock end of said ISO7816 interface controller (10), it is characterized in that:
Said interface pin C4, C6 and C8 and C7 are connected to the input end of said first impact damper (11) and the output terminal of said second impact damper (12) concurrently;
ISO7816 interface arrangement in the said mobile communication terminal also includes:
Serial/parallel conversion equipment (13); Be connected between said ISO7816 interface controller (10) and said first impact damper (11) and said second impact damper (12); Be used for when said mobile communication terminal is written to the smart card that mobile communication terminal uses with data; One bit serial data-switching of ISO7816 interface controller (10) output is become four bit parallel data; Then through after said second impact damper (12) buffering, via the parallel smart card that uses in the said mobile communication terminal of exporting to of said interface pin C4, C6, C7 and C8; Or when the smart card reading of data that said mobile communication terminal uses from said mobile communication terminal; To also become bit serial data by what the parallel smart card that in said mobile communication terminal, uses of said interface pin C4, C6, C7 and C8 received, be transferred to said ISO7816 interface controller (10) through four bit parallel data-switching after said first impact damper (11) buffering;
Clock frequency conversion equipment (14); Link to each other with said interface pin C3 with said ISO7816 interface controller (10), serial/parallel conversion equipment (13) respectively; Be used to change the clock frequency F of input; F or 4 (M+1) to be provided the clock frequency of F to said ISO7816 interface controller (10); To said serial/parallel conversion equipment (13) (M+1) F and 4 (M+1) is provided the clock frequency of F, and to said interface pin C3 F or (M+1) clock frequency of F is provided, wherein F representes the arbitrary frequency values in the 1-5MHz scope; Parameter M is the parameter that the smart card that in said mobile communication terminal, uses of said ISO7816 interface controller (10) receives, and expression is the arbitrary round values among the 0-15 to the multiple of the lifting of outside input clock frequency F,
Wherein, the ISO7816 interface arrangement in the said mobile communication terminal also includes:
Parameter M register (31); Link to each other with said clock frequency conversion equipment (14) with said ISO7816 interface controller (10) respectively, be used for storing the said parameter M that receives from said ISO7816 interface controller (10) and providing said parameter M to said clock frequency conversion equipment (14); With
Parameter S el register (32); Link to each other with said ISO7816 interface controller (10), said serial/parallel conversion equipment (13) and said clock frequency conversion equipment (14) respectively; Be used for storing the said parameter S el that receives from said ISO7816 interface controller (10) and providing said parameter S el to said serial/parallel conversion equipment (13) and said clock frequency conversion equipment (14)
Wherein said parameter S el is that said ISO7816 interface controller (10) receives from said smart card; Include numeral 0 or 1; Numeral 0 expression only supports an ISO7816 interface arrangement of standard and numeral 1 to express support for a said ISO7816 interface arrangement of the present invention.
2. the ISO7816 interface arrangement in the mobile communication terminal according to claim 1 is characterized in that M=0; Then frequency range (M+1) F is 1~5MHz, M=1, and then frequency range (M+1) F is 2~10MHz; M=2, then frequency range (M+1) F is 3~15MHz, by that analogy; M=15, then frequency range (M+1) F is 16~80MHz.
3. according to the ISO7816 interface arrangement in each described mobile communication terminal among the claim 1-2, it is characterized in that said serial/parallel conversion equipment (13) includes:
Serial/parallel converter (131); Be used to carry out the mutual conversion between bit serial data and the four bit parallel data; Said serial/parallel converter (131) has the input end (131a) of the serial data that receives said ISO7816 interface controller (10) output; Receive the CKP end of clock frequency of (M+1) F of said clock frequency conversion equipment (14) output; Receive the CKS end of clock frequency of 4 (M+1) F of said clock frequency conversion equipment (14) output, export the output terminal (131b) of four bit parallel data, receive the input end (131c) and the output terminal (131d) of exporting serial data of four bit parallel data;
First multiplexer (132); Be used for according to parameter S el from said parameter S el register (32); To from the serial data of said ISO7816 interface controller (10) output, three ground connection data and carry out from four bit parallel data of output terminal (131b) output of said serial/parallel converter (131) multiplexed, four bit parallel data of forming from the serial data of said ISO7816 interface controller (10) output and three ground connection data with output or give said second impact damper (12) from four bit parallel data of the output terminal (131b) of said serial/parallel converter (131); And
Second multiplexer; (133); Be used for basis from said parameter S el register; (32) parameter S el; To from said serial/parallel converter; (131) output terminal; (131d) serial data of output and from said first impact damper that passes through of said interface pin C7; (11) serial data of buffering is carried out multiplexed; To export from said serial/parallel converter; (131) output terminal; (131d) serial data of output or give said ISO7816 interface controller from the serial data of said interface pin C7; (10)
Wherein first impact damper (11) is four digit buffers; Be used for four bit parallel data from said interface pin C4, C6, C7 and C8 are cushioned, export to the said input end (131c) of said serial/parallel converter (131) and only will export to second multiplexer (133) from the data after the buffering of said interface pin C7 with four bit parallel data after will cushioning;
Said second impact damper (12) is four digit buffers; Be used for receiving respectively four bit parallel data of said first multiplexer (132) output and the enable signal of exporting from said ISO7816 interface controller (10), to export to said interface pin C4, C6, C7 and C8 respectively behind the four bit parallel data bufferings that will receive.
4. the ISO7816 interface arrangement in the mobile communication terminal according to claim 3; It is characterized in that; In the Sel parameter is 0 o'clock; When said mobile communication terminal is written to the smart card that uses in the said mobile communication terminal with data; Said first multiplexer (132) output is from serial data and three four bit parallel data that the ground connection data are formed of said ISO7816 interface controller (10) output, and perhaps when the smart card reading of data that said mobile communication terminal uses from said mobile communication terminal, said second multiplexer (133) output is from the serial data of said interface pin C7;
In the Sel parameter is 1 o'clock; When said mobile communication terminal is written to the smart card that uses in the said mobile communication terminal with data; Said first multiplexer (132) output is from four bit parallel data of the output terminal (131b) of said serial/parallel converter (131); Perhaps when the smart card reading of data that said mobile communication terminal uses from said mobile communication terminal, said second multiplexer (133) output is from the serial data of the output terminal (131d) of said serial/parallel converter (131).
5. the ISO7816 interface arrangement in the mobile communication terminal according to claim 1 is characterized in that, said clock frequency conversion equipment (14) includes:
4 (M+1) frequency multiplier (141) is used for according to the parameter M from said parameter M register (31), and the clock frequency F that the outside is imported carries out 4 (M+1) frequency multiplication, and exports to the CKS end of said serial/parallel converter (131);
4 frequency dividers (142) are used for clock frequency 4 (M+1) F of said 4 (M+1) frequency multiplier (141) output is carried out 4 frequency divisions, with the clock frequency of output (M+1) F, and export to the CKP end of said serial/parallel converter (131);
The 3rd multiplexer (143); Be used for according to parameter S el from said parameter S el register (32); To the clock frequency F of outside input with carry out multiplexedly from clock frequency (M+1) F of said 4 frequency dividers (142), give said clock interface pin C3 with the clock frequency F that exports outside input or from clock frequency (M+1) F of 4 frequency dividers (142); And
The 4th multiplexer (144); Be used for according to parameter S el from said parameter S el register (32); To the clock frequency F of outside input with carry out multiplexedly from clock frequency 4 (M+1) F of said 4 (M+1) frequency multiplier (141) output, give said ISO7816 interface controller (10) with the clock frequency F that exports outside input or from clock frequency 4 (M+1) F of said 4 (M+1) frequency multiplier (141) output.
6. the ISO7816 interface arrangement in the mobile communication terminal according to claim 5; It is characterized in that; When parameter S el is 0; The clock frequency F of the outside input of the 3rd multiplexer (143) output gives said clock interface pin C3, and the clock frequency F of the outside input of the 4th multiplexer (144) output gives said ISO7816 interface controller (10);
When parameter S el is 1; The 3rd multiplexer (143) output is given the clock interface pin C3 in the ISO7816 interface arrangement in the said mobile communication terminal from clock frequency (M+1) F of 4 frequency dividers (142), and the 4th multiplexer (144) output is given said ISO7816 interface controller (10) from clock frequency 4 (M+1) F of said 4 (M+1) frequency multiplier (141) output.
7. the 2nd ISO7816 interface arrangement in the smart card that uses in the mobile communication terminal includes ISO7816 interface controller (20); The reseting interface pin C2 that links to each other with the reset terminal of said ISO7816 interface controller (20); Data input/output interface pin C7; It links to each other with the data input pin of ISO7816 interface controller (20) through the 3rd impact damper (21); And link to each other with the data output end of said ISO7816 interface controller (20) through the 4th impact damper (22), wherein the 4th impact damper (22) also receives the enable signal from said ISO7816 interface controller (20); Interface pin C4, C6 and C8; And the clock interface pin C3 that links to each other with the clock end of said ISO7816 interface controller (20), it is characterized in that:
Said interface pin C4, C6 and C8 and C7 are connected to the input end of said the 3rd impact damper (21) and the output terminal of said the 4th impact damper (22) concurrently;
The 2nd ISO7816 interface arrangement in the said smart card also includes:
Serial/parallel conversion equipment (23); Be connected between said ISO7816 interface controller (20) and said the 3rd impact damper (21) and said the 4th impact damper (22); Be used at said mobile communication terminal during from smart card reading of data that said mobile communication terminal uses; One bit serial data-switching of ISO7816 interface controller (20) output is become four bit parallel data; Through after said the 4th impact damper (22) buffering, walk abreast via said interface pin C4, C6, C7 and C8 respectively and export to said mobile communication terminal then; Or when said mobile communication terminal is written to the smart card that uses in the said mobile communication terminal with data; To also become bit serial data from what said mobile communication terminal received by said interface pin C4, C6, C7 and C8 are parallel, be transferred to said ISO7816 interface controller (20) through four bit parallel data-switching after said the 3rd impact damper (21) buffering;
Clock frequency conversion equipment (24); Link to each other with said ISO7816 interface controller (20), serial/parallel conversion equipment (23) and said clock interface pin C3 respectively, be used to change by clock interface pin C3, being 0 o'clock at parameter S el from the clock frequency F of said mobile communication terminal input or (M+1) F; To said ISO7816 interface controller (20) F or (M+1) clock frequency of F are provided; Or be 1 o'clock at parameter S el, to said ISO7816 interface controller (20) 4F or 4 (M+1) is provided the clock frequency of F, and is 0 o'clock at parameter S el; To said serial/parallel conversion equipment (23) F or (M+1) clock frequency of F are provided; Or be 1 o'clock at parameter S el, to said serial/parallel conversion equipment (23) 4F or 4 (M+1) is provided the clock frequency of F, wherein F representes the arbitrary frequency values in the 1-5MHZ scope;
Parameter M register (41); Link to each other with said ISO7816 interface controller (20); Be used to store the parameter M of setting and provide said parameter M, thereby offer said mobile communication terminal via interface pin C7 through said ISO7816 interface controller (20) to said ISO7816 interface controller (20); With
Parameter S el register (42); Link to each other with said ISO7816 interface controller (20), said serial/parallel conversion equipment (23) and said clock frequency conversion equipment (24) respectively; Be used to store the parameter S el of setting and offer said ISO7816 interface controller (20), said serial/parallel conversion equipment (23) and said clock frequency conversion equipment (24), and offer said mobile communication terminal via interface pin C7 through said ISO7816 interface controller (20);
Wherein said parameter S el includes numeral 0 or 1, and numeral 0 expression only supports the ISO7816 interface arrangement of standard and numeral 1 to express support for said ISO7816 interface arrangement of the present invention; Parameter M representes the multiple to the lifting of outside input clock frequency F, is the arbitrary round values among the 0-15.
8. the 2nd ISO7816 interface arrangement in the smart card according to claim 7 is characterized in that M=0; Then frequency range (M+1) F is 1~5MHz, M=1, and then frequency range (M+1) F is 2~10MHz; M=2, then frequency range (M+1) F is 3~15MHz, by that analogy; M=15, then frequency range (M+1) F is 16~80MHz.
9. the 2nd ISO7816 interface arrangement in the smart card according to claim 7 is characterized in that said serial/parallel conversion equipment (23) comprising:
Serial/parallel converter (231); Be used to carry out the mutual conversion between bit serial data and the four bit parallel data; Said serial/parallel converter (231) has the input end (231a) of the serial data that receives said ISO7816 interface controller (20) output; Receive the F of said clock frequency conversion equipment (24) output or (M+1) the CKP end of the clock frequency of F; Receive the CKS end of clock frequency of 4F or 4 (M+1) F of said clock frequency conversion equipment (24) output, export the output terminal (231b) of four bit parallel data, receive the input end (231c) and the output terminal (231d) of exporting serial data of four bit parallel data;
The 5th multiplexer (232); Be used for according to said parameter S el; To from the serial data of said ISO7816 interface controller (20) output, three ground connection data and carry out from four bit parallel data of the output terminal (231b) of said serial/parallel converter (231) multiplexed, four bit parallel data of forming from the serial data of said ISO7816 interface controller (20) output and three ground connection data with output or give said the 4th impact damper (22) from four bit parallel data of output terminal (231b) output of said serial/parallel converter (231); And
The 6th multiplexer (233); Be used for according to said parameter S el; To from the serial data of the output terminal (231d) of said serial/parallel converter (231) with carry out multiplexed from the serial data after the 3rd impact damper (21) buffering of said interface pin C7; Give said ISO7816 interface controller (20) with output from the serial data of said output terminal (231d) from said serial/parallel converter (231) or from the serial data of said interface pin C7
Wherein the 3rd impact damper (21) is four digit buffers; Be used for four bit parallel data from said interface pin C4, C6, C7 and C8 are cushioned, export to the said input end (231c) of said serial/parallel converter (231) and only will export to the 6th multiplexer (233) from the data after the buffering of said interface pin C7 with four bit parallel data after will cushioning;
The 4th impact damper (22) is four digit buffers; Be used for receiving respectively four bit parallel data of said the 5th multiplexer (232) output and the enable signal of exporting from said ISO7816 interface controller (20), to export to said interface pin C4, C6, C7 and C8 behind the data buffering with reception.
10. the 2nd ISO7816 interface arrangement in the smart card according to claim 9; It is characterized in that; In the Sel parameter is 0 o'clock; When the smart card reading of data that said mobile communication terminal uses from said mobile communication terminal, said the 5th multiplexer (232) output is by serial data and three four bit parallel data that the ground connection data are formed from said ISO7816 interface controller (20) output; Perhaps when said mobile communication terminal was written to the smart card that uses in the said mobile communication terminal with data, said the 6th multiplexer (233) output was from the serial input data of said interface pin C7;
In the Sel parameter is 1 o'clock; When the smart card reading of data that said mobile communication terminal uses from said mobile communication terminal, said the 5th multiplexer (232) output is from four bit parallel data of output terminal (231b) output of said serial/parallel converter (231); Perhaps when said mobile communication terminal was written to the smart card that uses in the said mobile communication terminal with data, said the 6th multiplexer (233) output was from the serial data of output terminal (231d) output of said serial/parallel converter (231).
11. the 2nd ISO7816 interface arrangement in the smart card according to claim 7 is characterized in that said clock frequency conversion equipment (24) comprising:
4 frequency multipliers (241); Be used for the clock F of docking port pin C3 input or (M+1) the F frequency carry out 4 frequencys multiplication; With when the parameter S el=0; Provide clock frequency F or (M+1) F give the CKP end of said serial/parallel converter (231), and when parameter S el=1, the CKS end that provides clock frequency 4F or 4 (M+1) F to give serial/parallel converter (231);
The 7th multiplexer (242); Be used for according to said parameter S el; The clock F of docking port pin C3 input or (M+1) F and carry out multiplexed from clock frequency 4F or 4 (M+1) F of 4 frequency multipliers (241); With when the parameter S el=0; The clock F of output interface pin C3 input or (M+1) F give the said ISO7816 interface controller (20) in the smart card that uses in the said mobile communication terminal, or when parameter S el=1, output is given the said ISO7816 interface controller (20) in the smart card that uses in the said mobile communication terminal from clock frequency 4F or 4 (M+1) F of 4 frequency multipliers (241).
12. the data transmission processing method between the 2nd ISO7816 interface arrangement in the smart card that uses in ISO7816 interface arrangement in the described mobile communication terminal of claim 1 and the described mobile communication terminal of claim 7 includes following steps:
(1) the said mobile communication terminal power-up initializing of said smart card is housed;
(2) said mobile communication terminal automatically resets and responds the ATR processing;
(3) smart card that uses in the said mobile communication terminal sends the parameter S el and the M that set in the ISO7816 interface arrangement in the said mobile communication terminal two registers respectively
(31; 32) store; Wherein said parameter S el includes numeral 0 and 1; Wherein an ISO7816 interface arrangement and the 2nd ISO7816 interface arrangement of existing standard only supported in numeral 0 expression, and numeral 1 expresses support for a said ISO7816 interface arrangement of the present invention and the 2nd ISO7816 interface arrangement; Said parameter M representes the multiple to the lifting of outside input clock frequency F, is the arbitrary round values among the 0-15;
(4) carry out the transmission of data between the smart card that uses in said mobile communication terminal and the said mobile communication terminal; Comprise that said mobile communication terminal writes data to smart card that uses in the said mobile communication terminal and the smart card reading of data of in said mobile communication terminal, using; Wherein under parameter S el was 0 situation, said data were carried out bit serial transmission through the interface pin C7 in the 2nd ISO7816 interface arrangement in the smart card that uses in interface pin C7 in the ISO7816 interface arrangement in the said mobile communication terminal and the said mobile communication terminal; Be that said data are carried out the transmission of four bit parallels through interface pin C4, C6, C7 and C8 in the 2nd ISO7816 interface arrangement in the smart card that uses in interface pin C4, C6, C7 and C8 in the ISO7816 interface arrangement in the said mobile communication terminal and the said mobile communication terminal under 1 the situation at parameter S el; And
(5) end data transmission.
13. data transmission processing method according to claim 12 is characterized in that, the transfer step of said parameter S el and M (3) includes:
ISO7816 interface controller (20) in the 2nd ISO7816 interface arrangement of the smart card that (301) uses in the said mobile communication terminal is held parameter M and the Sel that reads in the setting of storing respectively in the register (41,42) in the 2nd ISO7816 interface arrangement via input IN, and exports to the interface pin C7 in the 2nd ISO7816 interface arrangement via output OUT end;
Interface pin C7 in (302) the 2nd ISO7816 interface arrangements passes to the interface pin C7 in the ISO7816 interface arrangement with parameter M and Sel;
(303) the ISO7816 interface controller (10) in the ISO7816 interface arrangement of said mobile communication terminal is through the interface pin C7 in the ISO7816 interface arrangement; Receive said parameter M and Sel via input IN termination; And store via two registers (31,32) that output OUT end is exported in the ISO7816 interface arrangement.
14. according to claim 12 or 13 described data transmission processing methods; It is characterized in that; Be that when said mobile communication terminal was written to the smart card that uses in the mobile communication terminal with data, the transmitting step of said data (4) comprising under 1 the situation at parameter S el:
(401) processor in the said mobile communication terminal sends bit serial data in the ISO7816 interface arrangement in the said mobile communication terminal serial/parallel conversion equipment (13) through the ISO7816 interface controller (10) in the ISO7816 interface arrangement;
(402) the said serial/parallel conversion equipment (13) in the ISO7816 interface arrangement in the said mobile communication terminal becomes four bit parallel data with this bit serial data-switching, and sends four interface pin C4, C6, C7 and C8 in the ISO7816 interface arrangement in the said mobile communication terminal to;
(403) said four bit parallel data through with said mobile communication terminal in an ISO7816 interface arrangement in four interface pin C4, C6, C7 and C8 with said mobile communication terminal that they link to each other respectively in four interface pin C4, C6, C7 and C8 in the smart card that uses send the serial/parallel conversion equipment (23) in said the 2nd ISO7816 interface arrangement in the smart card that uses in the said mobile communication terminal to;
(404) the said serial/parallel conversion equipment (23) in said the 2nd ISO7816 interface arrangement in the smart card that uses in the said mobile communication terminal becomes bit serial data with said four bit parallel data-switching, and sends the ISO7816 interface controller (20) in said the 2nd ISO7816 interface arrangement in the smart card that uses in the said mobile communication terminal to; And
(405) the said ISO7816 interface controller (20) in the 2nd ISO7816 interface arrangement in the smart card that uses in the said mobile communication terminal sends said bit serial data to the processor in the smart card inner control chip that uses in the said mobile communication terminal, realizes that said mobile communication terminal is written to data the smart card that uses in the said mobile communication terminal.
15. according to claim 12 or 13 described data transmission processing methods; It is characterized in that; Be under 1 the situation at parameter S el, when smart card reading of data that said mobile communication terminal uses from mobile communication terminal, the transmitting step of said data (4) comprising:
(411) processor in the control chip in the smart card that uses in the said mobile communication terminal sends bit serial data in the 2nd ISO7816 interface arrangement in the smart card that uses in the said mobile communication terminal serial/parallel conversion equipment (23) through the ISO7816 interface controller (20) in the 2nd ISO7816 interface arrangement in the smart card that uses in the said mobile communication terminal after the reading command that receives from said mobile communication terminal;
(412) the said serial/parallel conversion equipment (23) in said the 2nd ISO7816 interface arrangement in the smart card that uses in the said mobile communication terminal sends four interface pin C4, C6, C7 and C8 in the 2nd ISO7816 interface arrangement in the smart card that uses in the mobile communication terminal to after a said bit serial data-switching is become four bit parallel data;
(413) said four bit parallel data through four interface pin C4 in the smart card that uses in the mobile communication terminal, C6, C7, C8 with said mobile communication terminal that they link to each other respectively in an ISO7816 interface arrangement in four interface pin C4, C6, C7 and C8 send the serial/parallel conversion equipment (13) in the ISO7816 interface arrangement in the said mobile communication terminal to;
(414) the said serial/parallel conversion equipment (13) in the ISO7816 interface arrangement in the said mobile communication terminal sends the ISO7816 interface controller (10) in the ISO7816 interface arrangement in the said mobile communication terminal to after said four bit parallel data-switching are become bit serial data; And
(415) the said ISO7816 interface controller (10) in the ISO7816 interface arrangement in the said mobile communication terminal is given the processor in the said mobile communication terminal with a said bit serial data transmission, realizes the smart card reading of data that said mobile communication terminal uses from said mobile communication terminal.
CN2008101783412A 2008-11-28 2008-11-28 Improved ISO7816 interface device and data transmission processing method thereof Expired - Fee Related CN101751365B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101783412A CN101751365B (en) 2008-11-28 2008-11-28 Improved ISO7816 interface device and data transmission processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101783412A CN101751365B (en) 2008-11-28 2008-11-28 Improved ISO7816 interface device and data transmission processing method thereof

Publications (2)

Publication Number Publication Date
CN101751365A CN101751365A (en) 2010-06-23
CN101751365B true CN101751365B (en) 2012-08-22

Family

ID=42478359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101783412A Expired - Fee Related CN101751365B (en) 2008-11-28 2008-11-28 Improved ISO7816 interface device and data transmission processing method thereof

Country Status (1)

Country Link
CN (1) CN101751365B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5577932B2 (en) * 2010-08-09 2014-08-27 ソニー株式会社 Transmission circuit and communication system
US8958461B2 (en) * 2011-08-29 2015-02-17 Qualcomm Incorporated System and method for improving channel efficiency in a wireless linkl

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1234093C (en) * 2002-02-20 2005-12-28 O2米克罗公司 Dual mode controller used on IS07816 and USB smart eard

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1234093C (en) * 2002-02-20 2005-12-28 O2米克罗公司 Dual mode controller used on IS07816 and USB smart eard

Also Published As

Publication number Publication date
CN101751365A (en) 2010-06-23

Similar Documents

Publication Publication Date Title
US7233541B2 (en) Storage device
CN100418079C (en) Serial peripheral interface memory device with an accelerated parallel mode
CN1783330B (en) Memory device
US20110072297A1 (en) Spi devices and method for transferring data between the spi devices
WO2006082793A1 (en) SD (Secure Digital) CARD AND HOST CONTROLLER
CN103903644A (en) Composite memory having a bridging device for connecting discrete memory devices to a system
CN105474319A (en) APPARATUSES AND METHODS FOR CONFIGURING I/Os OF MEMORY FOR HYBRID MEMORY MODULES
CN101436171B (en) Modular communication control system
CN101751365B (en) Improved ISO7816 interface device and data transmission processing method thereof
CN101385038B (en) Ic card, terminal with ic card and initializing method thereof
CN106257587A (en) Semiconductor device, semiconductor system and the method operating it
CN101236774A (en) Device and method for single-port memory to realize the multi-port storage function
CN106487362A (en) Semiconductor circuit
CN106776467A (en) For the SPI FLASH control chips of order reception system
CN104135757A (en) Method and device of reducing power consumption of terminal as well as baseband chip
US20070080224A1 (en) Interface converting apparatus
CN1936817A (en) Large-volume storing apparatus based on internal memory body
US20120260010A1 (en) Storage control system and storage control method
CN101488119B (en) Address interpretation method, apparatus and single-board
CN101754448B (en) Dual-core intelligent card for mobile communication and data transmission and processing method thereof
CN104425022B (en) Memory, storage system and memory control methods
US9377957B2 (en) Method and apparatus for latency reduction
CN103136556B (en) A kind of SD equipment complex and reading/writing method thereof
CN103679257B (en) A kind of contactless payment telecommunications integrated circuit card and implementation method
CN107577438B (en) Method and device for dividing storage space of flash memory in field programmable gate array

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120822

Termination date: 20121128