CN1928779A - Interface device for SIM card and USIM card - Google Patents

Interface device for SIM card and USIM card Download PDF

Info

Publication number
CN1928779A
CN1928779A CN 200510098703 CN200510098703A CN1928779A CN 1928779 A CN1928779 A CN 1928779A CN 200510098703 CN200510098703 CN 200510098703 CN 200510098703 A CN200510098703 A CN 200510098703A CN 1928779 A CN1928779 A CN 1928779A
Authority
CN
China
Prior art keywords
card
module
signal
interface
interface arrangement
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.)
Granted
Application number
CN 200510098703
Other languages
Chinese (zh)
Other versions
CN100589067C (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.)
Sanechips Technology Co Ltd
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200510098703A priority Critical patent/CN100589067C/en
Publication of CN1928779A publication Critical patent/CN1928779A/en
Application granted granted Critical
Publication of CN100589067C publication Critical patent/CN100589067C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The disclosed interface device for SIM and USIM comprises: a bus interface module, a register module, an interruption-handling module, a clock generation module, a state machine module, a transmit-receive module, a card detection module, and a power supply module. Wherein, there are bus clock signal (pclk), bus chip-selection signal (p_cs), bus address line (paddr), and card power on-off control signal (sc_pwctrl). This invention expands SIM card from 2G times to the 3G times as USIM card, reduces cost and consumption, and prolongs mobilephone standby time.

Description

A kind of interface arrangement that is used for SIM card and usim card
Technical field
The present invention relates to the interface arrangement in a kind of field of mobile communication, the SIM card of in particular a kind of GSM/GPRS portable terminal, WCDMA portable terminal, the interface arrangement of usim card.
Background technology
On the development history of mobile communication, the 2G epoch have realized that the machine, the card that are significant separate, client of one SIM card unique identification, one SIM card can insert in any GSM mobile handset and use, SIM card can safe storage user personal information, and the user has only by SIM card could obtain Internet resources and enjoy network service; In the 3G on the horizon epoch, in order to adapt to multiple services demand, to be extensive use of usim card and replace SIM card, the function of usim card is more powerful, it not only supports the function of SIM card definition, it also supports various colourful non-telecommunications to use or telecommunication value-added application, and each application can follow industry standard separately, for example: stored value card, e-credit, electronic bill etc.
SIM card still be usim card all be a kind of smart card, SIM card is used in the 2G moving communicating field, usim card week is at the 3G moving communicating field, the prerequisite of portable terminal operate as normal is, must there be an interface arrangement that card and terminal are coupled together, this scale ability and terminal are carried out interactively communication, and the user just can enjoy Internet resources, and therefore " SIM card/usim card interface arrangement " is the key that the user obtains the 2G/3G service.
Mainly there is following several shortcoming in the technology of at present relevant SIM card/usim card interface arrangement:
Be that the SIM card interface can not be used for the usim card interface on the one hand, vice versa, thereby promptly the versatility difference increases the mobile phone development cost.The SIM card interface arrangement adopts the byte host-host protocol usually at present, 1 byte of each transmission, the interface voltage that the SIM card interface arrangement provides is 5v or 3.3v, and usim card can adopt the character block host-host protocol, can transmit a plurality of bytes 1 time, interface voltage can be selected 3.3v or 1.8v, because the difference of host-host protocol, present SIM card interface arrangement can not be used for usim card.
Be the energy consumption height on the other hand, because the information interchange between mobile phone and the card is step, when not having information interchange, should make card be in power save mode, present SIM card interface arrangement is not also accomplished.
Present SIM card interface can only adopt byte mode transmission data, the requirement that transmission efficiency is low, can not satisfy 3G fully, when repeatedly error of transmission having occurred between interface arrangement and the card in addition, present SIM card interface can only carry out the activation manipulation of sequence again with the cold reset way, the time that the recovery way of this mistake needs is longer, does not reach the purpose of fast quick-recovery mistake.
Therefore, there is defective in prior art, and awaits improving and development.
Summary of the invention
The object of the present invention is to provide a kind of interface arrangement that is used for SIM card and usim card, above-mentioned shortcoming at prior art, can be according to the residing network condition of mobile phone, can with the SIM card interface of 2G or the usim card interface of 3G, when interface was in the SIM card working method, interface arrangement was selected the byte transmission mode, when interface is in the usim card working method, select the transmission mode of byte or character block, the load mode efficient height of character block has satisfied the multiservice requirement of 3G fully.
Technical scheme of the present invention comprises:
A kind of interface arrangement that is used for SIM card and usim card wherein, comprising: bus interface module, register module, interruption processing module, clock generating module, state machine module, reception and sending module, card detection module, supply module;
Described interface arrangement is connected a side with the microprocessor of terminal, comprise: bus clock signal pclk, bus chip selection signal p_cs, bus address line padr, bus are write read control signal pwr_rd, bus write data signal pwdata, bus reading data signal prdata, reset signal prst, clock signal fclk; And dma operation request signal nreq_dma, dma operation end signal nend_dma; Interrupt request singal nirq and fast interrupt request line nfrq at a slow speed, wherein to write read control signal pwr_rd be that high level is represented write operation to bus, for low level is represented read operation; Signal reset signal prst, dma operation request signal nreq_dma, dma operation end signal nend_dma low level are effective;
The side that described interface arrangement is connected with SIM/USIM card or draw-in groove, comprise: card power supply opening/closing control signal sc_pwctrl, card reset signal sc_rst, card clock signal sc_clk, card receiving and transmitting data signals sc_io, through described supply module, other level signal of the same level of real work voltage output according to card, wherein blocking receiving and transmitting data signals sc_io is bidirectional signal line, and card reset signal sc_rst low level is effective.
Described device, wherein, the signal that described interface arrangement is connected with draw-in groove is card detection signal sc_cd, is used for test card whether in draw-in groove.
Described device, wherein, described interface arrangement partly is put into digital circuit in the digital baseband chip in the mobile phone nest plate and realizes that described digital circuit partly comprises bus interface module, register module, time processing module, interruption processing module, state machine module, transmission and receiver module, the card detection module in the interface arrangement; Artificial circuit part is put into power management module realizes that described artificial circuit part comprises the supply module in the interface arrangement.
Described device, wherein, described supply module is arranged in the Analog Baseband chip and realizes.
Described device, wherein, described bus interface module is used to finish between the microprocessor of interface arrangement and terminal and carries out exchanges data, comprise the store information of reading SIM card/usim card and from the order of issuing SIM card/usim card, control, the data message of application layer, and drive software is by the working method of the described interface arrangement of this interface configuration and the duty of monitoring interface arrangement.
Described device, wherein, described bus interface module comprises register interface, DMA interface, three parts of interrupt interface, and the microprocessor of described terminal carries out write operation, read operation by described register interface to the register in the described register module; Described DMA interface provides an efficient data load mode for interface arrangement, selects dma mode to carry out data from the data in the transceiver module buffer memory and transmits; Link to each other from the look-at-me of interface arrangement interruptable controller by the microprocessor of described interrupt interface and described terminal.
Described device, wherein, described register module comprises the register of keeping the interface arrangement operate as normal, comprise command register, status register, configuration register, interruption status/mask register, have card start-up/card work to cease and desist order, block cold reset/hot reset order, card clock suspension/recovery order in the described command register; The indication of forwards/reverse agreement state, FIFO sky/full state indication, the indication of card testing result state are arranged in the described status register; Character transmission/character block transmission configuration is arranged in the described configuration register, interface manually/configuration of interface automated manner, the configuration of card clock frequency, the configuration of rate factor DI/FI, transmission/reception deploy content; Have in described interruption status/mask register with card and detect relevant quick interruption and the interruption at a slow speed that is sent completely/finishes receiving.
Described device, wherein, described clock generating module is used to SIM card/usim card and interface arrangement that suitable clock is provided, and its clock is carried out frequency division handle.
Described device, wherein, described time processing module is used to produce the required timer of described interface arrangement, comprises that card insertion/taking-up timer, required timer, the data of reset answer send/receive required timer, clock suspension/recovery timer.
Described device, wherein, described interruption processing module is used for interrupting fast and interrupting at a slow speed; Described quick interruption is that card detects interruption through the output of nfrq signal wire; The described interruption at a slow speed through the output of nirq signal wire comprises being sent completely, finishing receiving, receiving mistake, receive time-out operation.
Described device, wherein, described card detection module is used to detect SIM card/usim card whether in draw-in groove, after card is inserted in the draw-in groove, described interface arrangement detects card and exists, and this information disappeared to tremble handle the back and notify the software of described interface arrangement with the form of quick interruption, software activates the card upper contact in proper order; If card takes out in draw-in groove, described interface arrangement detects card and does not exist, and reports in the mode of quick interruption, and produces the alarm signal that card takes out, and disconnects power supply, clock, the data-signal of card simultaneously.
Described device, wherein, described state machine module is used for the activation and the release of control card, the reset answer process of control card and protocol transmission process, the clock suspension of control card and rejuvenation, the cold reset of control card, hot reset process.
Described device, wherein, described interface arrangement is supported the clock suspension function, when not having data transmission between card and the portable terminal, described interface arrangement suspends the clock of card.
Adopt the interface arrangement that is used for SIM card and usim card of the present invention, the SIM card interface that promptly can be used for the 2G epoch also can be used for the usim card interface in 3G epoch simultaneously, reduced the research and development expense of mobile phone nest plate, when not having message exchange, interface arrangement can suspend the clock in the card, reduce power consumption like this, prolonged the stand-by time of mobile phone; Interface arrangement of the present invention not only provides the character transmission mode, also can provide the character block transmission mode, improve the data transmission efficiency between card and the interface arrangement, interface arrangement also provides the warm reset function, when unusual error of transmission appears in card, utilize the warm reset duty of quick-recovery card soon.
Description of drawings
Fig. 1 is SIM card of the present invention/usim card interface arrangement synoptic diagram;
Fig. 2 is the application example synoptic diagram of interface arrangement of the present invention in the mobile phone nest plate;
Fig. 3 is an interface arrangement drive software example schematic of the present invention;
Fig. 4 is the clock generating module theory diagram of interface arrangement of the present invention;
Fig. 5 is the state machine module state transition diagram of interface arrangement of the present invention.
Embodiment
Below in conjunction with accompanying drawing, will carry out comparatively detailed explanation to each preferred embodiment of the present invention.
The interface arrangement that is used for SIM card and usim card of the present invention, as shown in Figure 1, the interface arrangement, SIM/USIM card, draw-in groove three's physical connection relation and the annexation between the interface arrangement internal module that have shown card, wherein Ka interface arrangement by bus interface module, register module, interruption processing module, clock generating module, state machine module, reception and sending module, card exist detect and disappear tremble module, supply module totally 8 partly form.
As shown in Figure 1, the input of interface arrangement of the present invention, output signal annexation are as follows:
The left signal of described interface arrangement mainly is connected with microprocessor, main signal comprises that bus clock signal (pclk), bus chip selection signal (p_cs), bus address line (paddr), bus write read control signal (pwr_rd), bus write data signal (pwdata), bus reading data signal (prdata), reset signal (prst), clock signal (fclk); Also have dma operation request signal (nreq_dma), dma operation end signal (nend_dma); And interrupt request singal (nirq) and fast interrupt request line (nfrq) at a slow speed, wherein pwr_rd is that high level is represented write operation, for low level is represented read operation, signal Prst, nreq_dma, nend_dma, low level are effective.
The right side singal of described interface arrangement mainly is connected with SIM/USIM card or draw-in groove, the signal that links to each other with card mainly comprises card power supply opening/closing control signal (sc_pwctrl), card reset signal (sc_rst), card clock signal (sc_clk), card receiving and transmitting data signals (sc_io), wherein these signals that are connected with card all will be through the supply module in the interface arrangement, real work voltage 5v/3.3v/1.8v according to card, other level signal of the same level of output, wherein said data-signal sc_io is a bidirectional signal line, and signal sc_rst low level is effective.
The signal that the right of described interface arrangement is connected with draw-in groove is card detection signal sc_cd, is used for test card whether in draw-in groove.
Be the application example of interface arrangement of the present invention in the mobile phone nest plate as shown in Figure 2, common mobile phone nest plate is made up of digital baseband chip, Analog Baseband chip, transmission and received RF chip, power management chip etc., interface arrangement of the present invention is when realizing, at first carrying out module splits, digital circuit partly is put in the digital baseband chip realizes, comprise bus interface module, register module, time processing module, interruption processing module, state machine module, transmission and receiver module, card detection module etc. in the interface arrangement; Artificial circuit part is put into power management module realizes, comprise the supply module in the interface arrangement, realize that such scheme also is feasible if supply module is put in the Analog Baseband chip.
Be the drive software structure of interface arrangement of the present invention as shown in Figure 3, layer interface is an interface hardware under the software of described interface arrangement, high-level interface is a protocol layer software, drive software operates on the operating system, be divided into " interface Interrupt Process " and " interface driving task " two parts, the function that drive software is realized is to receive data, control information from protocol layer, and send to card with the form of character or character block, be from the clamping breath of collecting mail on the other hand, and resolve these information and report protocol layer software.
The identification of the SIM card of interface arrangement of the present invention and usim card type is also finished under software control in addition, interface software at first selects a kind of Card Type to carry out reset answer and agreement communication, card also can feed back correct information to interface arrangement if selection is correct, otherwise then select remaining Card Type to carry out the agreement communication again, in case the type of interface arrangement identification card release, the type of just automatic registration card, and use the agreement communication of having chosen Card Type in the communication afterwards, till card takes out from draw-in groove.
As shown in Figure 2, the major function of the internal module of interface arrangement of the present invention and mutual relationship are as follows:
Described bus interface module is mainly used in to finish and carries out exchanges data between interface arrangement and the microprocessor, comprises the store information of reading SIM card/usim card and from the order of issuing SIM card/usim card, control, the data message of application layer, drive software also can be by the working method of this interface configuration interface arrangement of the present invention and the duty of monitoring interface arrangement in addition.
Described bus interface module comprises register interface, DMA interface, three parts of interrupt interface, and microprocessor can carry out write operation, read operation to the register in the register module by register interface; DMA interface provides a kind of efficient data load mode for interface arrangement, can select dma mode to carry out data from the data in the transceiver module buffer memory and transmit; Link to each other from the look-at-me of interface arrangement interruptable controller by interrupt interface and CPU.
Described register module mainly comprises the register of keeping the interface arrangement operate as normal, these registers have command register, status register, configuration register, interruption status/mask register etc., wherein have card start-up/card work to cease and desist order, block cold reset/hot reset order, card clock suspension/recovery order in the command register; The indication of forwards/reverse agreement state, FIFO sky/full state indication, the indication of card testing result state etc. are arranged in the status register; Character transmission/character block transmission configuration is arranged in the configuration register, interface manually/configuration of interface automated manner, the configuration of card clock frequency, the configuration of rate factor DI/FI, contents such as transmission/reception configuration; The quick interruption relevant with the card detection arranged in interruption status/mask register and be sent completely/finish receiving etc. interrupted at a slow speed.
As shown in Figure 4, described clock generating module is mainly SIM card/usim card and interface arrangement provides suitable clock, when interface arrangement is in the SIM working method, and FCLK=13Mhz; When interface arrangement is in the USIM working method, FCLK=15.36Mhz; At first FCLK being carried out frequency division handles, dividing method has four kinds to select MCLK=FCLK, MCLK=FCLK/2, MCLK=FCLK/4, MCLK=FCLK/8, the MCLK that obtains is the major clock of interface arrangement, card clock SC_CLK is the clock that equates with the MCLK frequency, and can carry out the control of opening/closing separately, ETU_CLK is adopted in the transmission of interface arrangement and reception, it is that MCLK waits until through the baud rate frequency divider, Frequency Dividing Factor commonly used has DI/FI=1/372,2/372,4/372,8/512,16/512, also support the DI that ISO/IEC7816-3 defines, FI institute might situation.
Described time processing module mainly produces the required timing unit of interface arrangement, and these timers comprise that card insertion/taking-up timer, required timer, the data of reset answer send/receive required timer, clock suspension/recovery timer.
Described interruption processing module is mainly handled two type of interrupt, interrupt fast and interrupt at a slow speed, interrupt fast through the output of nfrq signal wire, interrupt at a slow speed through the output of nirq signal wire, quick interrupt source in the interface arrangement then has only one, be that card detects interruption, when card is put in the draw-in groove or card takes out in the draw-in groove and all produces interruption fast, interrupt source at a slow speed in the interface arrangement comprises and is sent completely, finishes receiving, receives mistake, receive time-out etc., all these at a slow speed interrupt source be unified in the output of nirq signal wire after handling through " interruption processing module ".
The major function of described card detection module is to detect SIM card/usim card whether in draw-in groove, after card is inserted in the draw-in groove, interface arrangement detects card and exists, and this information disappeared to tremble handle the software of back with the form notification interface device of quick interruption, software activates the card upper contact in proper order, finish user's registration by interface arrangement after the card operate as normal, network registry success back user just can enjoy Internet resources; In case card takes out in draw-in groove, interface arrangement detects card and has not existed, and also the mode with quick interruption reports, and produces card taking-up alarm signal, disconnects power supply, clock, the data-signal of card simultaneously.
The input clock of described card detection module is clk_32khz, input signal is sc_cd, output is quick interruption, for fear of producing erroneous judgement, be necessary to exist incident, card taking-up incident to disappear and tremble processing to card, method is to adopt card insertion/taking-up timer, in the timer official hour, the incident that is consecutively detected takes place, and then judgement incident is set up, and timing is the number of cycles of configurable clock clk_32khz.
Described state machine module is the core of whole interface arrangement, interface arrangement utilizes state machine module to come the activation and the release of control card, reset answer process of control card (ATR process) and protocol transmission process (PPS process), the clock suspension of control card and rejuvenation, the cold reset of control card, hot reset process.
Control to card in state machine module has manual mode and two kinds of control modes of automatic mode, under manual mode, interface arrangement software is the timing unit in processing module service time not, required timer is provided by microprocessor, and the interface arrangement software directly interface signal line of control card is finished the activation and the releasing operation of sequence, comprise the power supply (sc_pwctrl control), the card that open and close card reset control (sc_rst control), open and close and block clock (sc_clk control), selection transmission accepting state (sc_io control).
As shown in Figure 5, automatic mode of the present invention is the state machine that comprises 16 states, the time that jump condition between the state executes from the order in the command register or this status function, each state was all finished specific function in the state machine, is described in detail as follows respectively to condition:
Idle condition: do not have SIM card/usim card in the draw-in groove this moment, the contact of Connection Card be not activated be interface arrangement and card to be connected signal condition as follows:
Interface output line SC_CLK=0
Interface output line SC_RST=0
Interface output line SC_PWCTRL=0
Interface output line SC_IO=0
Interface incoming line SC_CD=0
The card power-up state: detect card this moment and exist, beginning activates the contact in proper order, and the power supply of at first opening card is SC_PWCTRL=1.
The IO line is in accepting state: this state is configured to accepting state to bidirectional signal line SC_IO, is ready to receive data from blocking.
Open clock status: this state is opened the clock of card, promptly occurs periodic clock on the SC_CLK signal wire.
Be reset to high state: stop the cold reset to card, promptly SC_RST becomes high level by low level.
The reset answer waiting status: interface arrangement receives from first Bit data on the card, and method is an interface arrangement continuous sampling SC_IO line, if the start bit of detecting shows that then card can carry out data transmission, transfers to next state.
Forward and inverse detection state: receive from first 8 bit byte in the card, if content is 0x3B then is judged to be direct convention, if content is 0x03 then is judged to be Backward Agreement that stipulated form determines that rear port device and card just can carry out normal information interchange.
Data send accepting state: this state is that interface arrangement and SIM card/usim card carry out the normal information exchange status, and interface arrangement can send message to card, also can receive from the information in the card, otherwise also be the same concerning card.
The clock suspension state: in order to reduce power consumption, prolongs standby time, when not having message to transmit, interface arrangement can suspend the clock of card, promptly disposes SC_CLK=0.
Clock recovery state: when having message to transmit, recover the clock of card.
The hot reset state: the information interchange between interface arrangement and card repeatedly occurs when unusual, and interface arrangement can be initiated the hot reset process, forces to stick into resetting of capable duty, transfers to the reset answer waiting status after the hot reset state is finished.
Cease and desist order or the reset answer failure if receive, interface arrangement of the present invention connects the order releasing contact, relates to following state:
Be reset to low state: make signal wire SC_RST=0.
Close clock status: close the card clock and make SC_CLK=0.
The IO line is in transmit status: make signal wire SC_IO=0,
The transmission of interface arrangement of the present invention and receiver module comprise transmission and receive two parts, each part all has a buffer memory FIFO who is used for store data, the data that receive from card can be stored in to receive among the FIFO and keep in, the data that interface arrangement need send also can be put into to send among the FIFO and deposit, when data traffic is big, can adopt the mode of DMA to carry out reporting and issuing of data by bus interface module.
The transmission of described data and reception have SIM card, two kinds of working methods of usim card, when being in the SIM card working method, adopt 8 bit byte load modes, only transmit 1 byte between interface arrangement and the card at every turn, receiving end carries out parity checking to the byte that receives, if find mistake then need transmitting terminal to resend this byte; When the usim card working method, can select byte or character block load mode, the byte load mode and the SIM card of usim card are the same, when the character block load mode, can transmit a plurality of 8 bit bytes between interface arrangement and the card, verification mode adopts block check at every turn.
The supply module of interface arrangement of the present invention can be according to the voltage kind of card support, for interface signal line provides the appropriate level signal, can select 5V or 3.3v in the SIM card working method, select 3.3v or 1.8v when the usim card working method, the selection of voltage kind is by signal wire vcc_mode[1:0] realize, work as vcc_mode[1:0]=00, select 5V, vcc_mode[1:0]=01,3.3v selected, vcc_mode[1:0]=10,1.8v selected.
The above embodiment of the present invention at hardware aspect numeral, simulation separate processes, its advantage be realize simple, cost is low, clear layer aspect software is utilized operating system, can handle simultaneously a plurality of tasks, real-time good, stablize.
SIM card and the usim card interface arrangement of being used for of the present invention supported the clock suspension function, and when not having data transmission between card and the portable terminal, described interface arrangement will suspend the clock of card, so just can conserve energy, and the stand-by time that effectively prolongs mobile phone; Automatically whether test card in the mobile phone draw-in groove, when unusual contact occurring when bad, produces alarm signal.
In addition, the interface arrangement of the present invention also voltage level of support card is variable, can select 5V/3.3V or 3.3v/1.8v, supports transmission factor Di/Fi=1/372 flexibly, and 2/372,4/372,8/512,16/512 etc., support card cold reset, hot reset operation.
Should be understood that above-mentioned description at specific embodiment is comparatively detailed, can not therefore think the restriction to scope of patent protection of the present invention, scope of patent protection of the present invention should be as the criterion with claims.

Claims (13)

1, a kind of interface arrangement that is used for SIM card and usim card is characterized in that, comprising: bus interface module, register module, interruption processing module, clock generating module, state machine module, reception and sending module, card detection module, supply module;
Described interface arrangement is connected a side with the microprocessor of terminal, comprise: bus clock signal (pclk), bus chip selection signal (p_cs), bus address line (paddr), bus are write read control signal (pwr_rd), bus write data signal (pwdata), bus reading data signal (prdata), reset signal (prst), clock signal (fclk); And dma operation request signal (nreq_dma), dma operation end signal (nend_dma); Interrupt request singal (nirq) and fast interrupt request line (nfrq) at a slow speed, wherein bus is write read control signal (pwr_rd) and is represented write operation for high level, for low level is represented read operation; Signal reset signal (prst), dma operation request signal (nreq_dma), dma operation end signal (nend_dma) low level are effective;
The side that described interface arrangement is connected with SIM/USIM card or draw-in groove, comprise: card power supply opening/closing control signal (sc_pwctrl), card reset signal (sc_rst), card clock signal (sc_clk), card receiving and transmitting data signals (sc_io), through described supply module, other level signal of the same level of real work voltage output according to card, wherein blocking receiving and transmitting data signals (sc_io) is bidirectional signal line, and card reset signal (sc_rst) low level is effective.
2, device according to claim 1 is characterized in that, the signal that described interface arrangement is connected with draw-in groove is card detection signal (sc_cd), is used for test card whether in draw-in groove.
3, device according to claim 1, it is characterized in that, described interface arrangement partly is put into digital circuit in the digital baseband chip in the mobile phone nest plate and realizes that described digital circuit partly comprises bus interface module, register module, time processing module, interruption processing module, state machine module, transmission and receiver module, the card detection module in the interface arrangement; Artificial circuit part is put into power management module realizes that described artificial circuit part comprises the supply module in the interface arrangement.
4, device according to claim 3 is characterized in that, described supply module is arranged in the Analog Baseband chip and realizes.
5, device according to claim 1, it is characterized in that, described bus interface module is used to finish between the microprocessor of interface arrangement and terminal and carries out exchanges data, comprise the store information of reading SIM card/usim card and from the order of issuing SIM card/usim card, control, the data message of application layer, and drive software is by the working method of the described interface arrangement of this interface configuration and the duty of monitoring interface arrangement.
6, device according to claim 5, it is characterized in that, described bus interface module comprises register interface, DMA interface, three parts of interrupt interface, and the microprocessor of described terminal carries out write operation, read operation by described register interface to the register in the described register module; Described DMA interface provides an efficient data load mode for interface arrangement, selects dma mode to carry out data from the data in the transceiver module buffer memory and transmits; Link to each other from the look-at-me of interface arrangement interruptable controller by the microprocessor of described interrupt interface and described terminal.
7, device according to claim 1, it is characterized in that, described register module comprises the register of keeping the interface arrangement operate as normal, comprise command register, status register, configuration register, interruption status/mask register, have card start-up/card work to cease and desist order, block cold reset/hot reset order, card clock suspension/recovery order in the described command register; The indication of forwards/reverse agreement state, FIFO sky/full state indication, the indication of card testing result state are arranged in the described status register; Character transmission/character block transmission configuration is arranged in the described configuration register, interface manually/configuration of interface automated manner, the configuration of card clock frequency, the configuration of rate factor DI/FI, transmission/reception deploy content; Have in described interruption status/mask register with card and detect relevant quick interruption and the interruption at a slow speed that is sent completely/finishes receiving.
8, device according to claim 1 is characterized in that, described clock generating module is used to SIM card/usim card and interface arrangement that suitable clock is provided, and its clock is carried out frequency division handle.
9, device according to claim 3, it is characterized in that, described time processing module is used to produce the required timer of described interface arrangement, comprises that card insertion/taking-up timer, required timer, the data of reset answer send/receive required timer, clock suspension/recovery timer.
10, device according to claim 1 is characterized in that, described interruption processing module is used for interrupting fast and interrupting at a slow speed; Described quick interruption is that card detects interruption through the output of nfrq signal wire; The described interruption at a slow speed through the output of nirq signal wire comprises being sent completely, finishing receiving, receiving mistake, receive time-out operation.
11, device according to claim 1, it is characterized in that, described card detection module is used to detect SIM card/usim card whether in draw-in groove, after card is inserted in the draw-in groove, described interface arrangement detects card and exists, and this information disappeared to tremble handle the back and notify the software of described interface arrangement with the form of quick interruption, software activates the card upper contact in proper order; If card takes out in draw-in groove, described interface arrangement detects card and does not exist, and reports in the mode of quick interruption, and produces the alarm signal that card takes out, and disconnects power supply, clock, the data-signal of card simultaneously.
12, device according to claim 1, it is characterized in that described state machine module is used for the activation and the release of control card, the reset answer process of control card and protocol transmission process, the clock suspension of control card and rejuvenation, the cold reset of control card, hot reset process.
13, device according to claim 1 is characterized in that, described interface arrangement is supported the clock suspension function, and when not having data transmission between card and the portable terminal, described interface arrangement suspends the clock of card.
CN200510098703A 2005-09-05 2005-09-05 Interface device for SIM card and USIM card Expired - Fee Related CN100589067C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200510098703A CN100589067C (en) 2005-09-05 2005-09-05 Interface device for SIM card and USIM card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200510098703A CN100589067C (en) 2005-09-05 2005-09-05 Interface device for SIM card and USIM card

Publications (2)

Publication Number Publication Date
CN1928779A true CN1928779A (en) 2007-03-14
CN100589067C CN100589067C (en) 2010-02-10

Family

ID=37858762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200510098703A Expired - Fee Related CN100589067C (en) 2005-09-05 2005-09-05 Interface device for SIM card and USIM card

Country Status (1)

Country Link
CN (1) CN100589067C (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098390A (en) * 2011-03-15 2011-06-15 惠州Tcl移动通信有限公司 Method for recovering subscriber identity module (SIM) of mobile phone in case of data transmission error and mobile phone
CN102123380A (en) * 2011-03-15 2011-07-13 上海艾为电子技术有限公司 Wireless terminal and multi-SIM (subscriber identity module)-card connecting device thereof
CN102201829A (en) * 2010-03-26 2011-09-28 上海摩波彼克半导体有限公司 Circuit structure and method for realizing data parsing of SIM/USIM ((Subscriber Identity Module/Universal Subscriber Identity Module) card in digital baseband communication chip
CN101355764B (en) * 2008-09-12 2012-07-18 中兴通讯股份有限公司 Apparatus and method for providing variable power supply to multi-card in a mobile terminal
CN102710827A (en) * 2012-06-11 2012-10-03 无锡力芯微电子股份有限公司 Method and mobile communication terminal for rapidly responding hot plug of SIM card
CN104135757A (en) * 2014-06-20 2014-11-05 北京创毅视讯科技有限公司 Method and device of reducing power consumption of terminal as well as baseband chip
CN105392129A (en) * 2015-11-03 2016-03-09 Tcl移动通信科技(宁波)有限公司 SIM card quick detection method and mobile terminal
CN101765850B (en) * 2007-11-15 2016-04-06 株式会社理光 Storage card opertaing device and be used for the method for control store card control equipment
WO2018058887A1 (en) * 2016-09-28 2018-04-05 中兴通讯股份有限公司 Power supply control method and device for mobile communication card in mobile terminal, and mobile terminal
CN108012256A (en) * 2016-10-28 2018-05-08 中移(杭州)信息技术有限公司 A kind of communication means and device of dummy general subscriber identification module
CN109283995A (en) * 2018-09-28 2019-01-29 上海移芯通信科技有限公司 A kind of method and system reducing internet-of-things terminal Subscriber Identity Module power consumption
CN114968365A (en) * 2022-07-27 2022-08-30 广州智慧城市发展研究院 Adapter register unit and host adapter circuit comprising same

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765850B (en) * 2007-11-15 2016-04-06 株式会社理光 Storage card opertaing device and be used for the method for control store card control equipment
CN101355764B (en) * 2008-09-12 2012-07-18 中兴通讯股份有限公司 Apparatus and method for providing variable power supply to multi-card in a mobile terminal
CN102201829A (en) * 2010-03-26 2011-09-28 上海摩波彼克半导体有限公司 Circuit structure and method for realizing data parsing of SIM/USIM ((Subscriber Identity Module/Universal Subscriber Identity Module) card in digital baseband communication chip
CN102201829B (en) * 2010-03-26 2013-11-27 上海摩波彼克半导体有限公司 Circuit structure and method for realizing data parsing of SIM/USIM ((Subscriber Identity Module/Universal Subscriber Identity Module) card in digital baseband communication chip
CN102123380A (en) * 2011-03-15 2011-07-13 上海艾为电子技术有限公司 Wireless terminal and multi-SIM (subscriber identity module)-card connecting device thereof
CN102123380B (en) * 2011-03-15 2013-06-05 上海艾为电子技术有限公司 Wireless terminal and multi-SIM (subscriber identity module)-card connecting device thereof
CN102098390A (en) * 2011-03-15 2011-06-15 惠州Tcl移动通信有限公司 Method for recovering subscriber identity module (SIM) of mobile phone in case of data transmission error and mobile phone
CN102710827A (en) * 2012-06-11 2012-10-03 无锡力芯微电子股份有限公司 Method and mobile communication terminal for rapidly responding hot plug of SIM card
CN104135757A (en) * 2014-06-20 2014-11-05 北京创毅视讯科技有限公司 Method and device of reducing power consumption of terminal as well as baseband chip
CN105392129A (en) * 2015-11-03 2016-03-09 Tcl移动通信科技(宁波)有限公司 SIM card quick detection method and mobile terminal
CN105392129B (en) * 2015-11-03 2019-02-26 Tcl移动通信科技(宁波)有限公司 A kind of SIM card rapid detection method and mobile terminal
WO2018058887A1 (en) * 2016-09-28 2018-04-05 中兴通讯股份有限公司 Power supply control method and device for mobile communication card in mobile terminal, and mobile terminal
CN108012256A (en) * 2016-10-28 2018-05-08 中移(杭州)信息技术有限公司 A kind of communication means and device of dummy general subscriber identification module
CN108012256B (en) * 2016-10-28 2021-07-30 中移(杭州)信息技术有限公司 Communication method and device of virtual universal subscriber identity module
CN109283995A (en) * 2018-09-28 2019-01-29 上海移芯通信科技有限公司 A kind of method and system reducing internet-of-things terminal Subscriber Identity Module power consumption
CN114968365A (en) * 2022-07-27 2022-08-30 广州智慧城市发展研究院 Adapter register unit and host adapter circuit comprising same

Also Published As

Publication number Publication date
CN100589067C (en) 2010-02-10

Similar Documents

Publication Publication Date Title
CN1928779A (en) Interface device for SIM card and USIM card
CN1760839A (en) Apparatus, system, and method for facilitating port testing of a multi-port host adapter
CN103888299A (en) Intelligent network monitoring system and working method thereof
CN101080073B (en) A between-module communication circuit and method of dual-mode communication terminal
CN101924667B (en) Modem anomaly detecting and power-off restarting control method based on serial port
CN101221550A (en) Method and chip for serial communication
CN104270740A (en) Slot-sharing T card and SIM card detection method
CN103268262A (en) Method for multiple basebands to access single-user identification card, and processor
CN101673220A (en) Method for improving work parallelism of dual-interface SIM card
CN107750359A (en) Serial line interface with bit-level acknowledgement and error correction
CN1146208C (en) Chip card reader telecommunication terminal
CN1797379A (en) Method of data transmission by using mode of direct memory access
CN102945216A (en) Device and method for saving wireless data
CN101969714A (en) Remote control interface and remote control method of LED driver
CN106023575B (en) Communication method and system of II-type collector
CN115374043A (en) Communication protocol data interaction method based on PCIE
CN2513159Y (en) Micro flashing storage card with serial bus interface
CN104765710B (en) A kind of method of work of the card reader comprising dual processor
CN208367918U (en) A kind of high reliability traffic trip vehicle guidance control system
CN1804821A (en) Control system of multi-channel serial ATA and control card thereof
CN1959741B (en) Communication terminal module with functions of encoding and decoding capabilities, and method for receiving and sending data
CN102201829A (en) Circuit structure and method for realizing data parsing of SIM/USIM ((Subscriber Identity Module/Universal Subscriber Identity Module) card in digital baseband communication chip
CN201111065Y (en) IC card read-write controller based on 51 SCM
CN109165183A (en) Peripheral assembly quickly interconnects atomic operation hardware implementation method, apparatus and system
CN116860672B (en) Digital processing SMBus communication system and method

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
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20151111

Address after: Dameisha Yantian District of Shenzhen City, Guangdong province 518085 Building No. 1

Patentee after: SANECHIPS TECHNOLOGY Co.,Ltd.

Address before: 518057 Nanshan District high tech Industrial Park, Guangdong, South Road, science and technology, ZTE building, legal department

Patentee before: ZTE Corp.

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20070314

Assignee: Xi'an Chris Semiconductor Technology Co.,Ltd.

Assignor: SANECHIPS TECHNOLOGY Co.,Ltd.

Contract record no.: 2019440020036

Denomination of invention: Interface device for SIM card and USIM card

Granted publication date: 20100210

License type: Common License

Record date: 20190619

EE01 Entry into force of recordation of patent licensing contract
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100210

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