CN102710827B - Method and mobile communication terminal for rapidly responding hot plug of SIM card - Google Patents

Method and mobile communication terminal for rapidly responding hot plug of SIM card Download PDF

Info

Publication number
CN102710827B
CN102710827B CN201210190958.2A CN201210190958A CN102710827B CN 102710827 B CN102710827 B CN 102710827B CN 201210190958 A CN201210190958 A CN 201210190958A CN 102710827 B CN102710827 B CN 102710827B
Authority
CN
China
Prior art keywords
sim card
interface module
interrupt signal
module
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210190958.2A
Other languages
Chinese (zh)
Other versions
CN102710827A (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.)
WUXI CHIPOWN MICROELECTRONICS CO Ltd
Original Assignee
WUXI CHIPOWN MICROELECTRONICS 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 WUXI CHIPOWN MICROELECTRONICS CO Ltd filed Critical WUXI CHIPOWN MICROELECTRONICS CO Ltd
Priority to CN201210190958.2A priority Critical patent/CN102710827B/en
Publication of CN102710827A publication Critical patent/CN102710827A/en
Application granted granted Critical
Publication of CN102710827B publication Critical patent/CN102710827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a method and a mobile communication terminal for rapidly responding hot plug of an SIM card. When the SIM card is extracted, a mechanical switch corresponding to the extracted SIM card is switched off, thus an extraction interruption signal is sent to an SIM card interface module, after the SIM card interface module receives the extraction interruption signal, a communication interface corresponding to the extracted SIM card is firstly switched off, and then a power supply of the extracted SIM card is switched off, then an interruption signal is sent to a base band module, the base band module inquires the state of the SIM card to the SIM card interface module after receiving the interruption signal, and the communication between the base band module and the extracted SIM card is closed after the extracted SIM card is known. Therefore, the rapid and efficient response of the hot plug of the SIM card is realized on the basis of no need of increasing the additional cost, and the security of the SIM card and an interface circuit is effectively protected.

Description

The method of quick response SIM card hot plug and communication terminal
[technology territory]
The present invention relates to moving communicating field, particularly relate to method and communication terminal that one responds SIM card (SubscriberIdentity Module is called for short SIM card) hot plug fast.
[background technology]
A lot of mobile communication terminal (or claiming mobile phone) all supports plurality of SIM cards hot plug at present.Most of design is multiple SIM card mobile telephone is all that the interrupt signal that SIM card holder produces is delivered to mobile phone baseband module when carrying out SIM card hot plug design, is come the operation of SIM card interface module to realize the support to SIM card hot plug by instruction by baseband module.This implementation just can send instruction to SIM card interface module owing to having no progeny in the response of needs baseband module, again by SIM card interface module to blocking operation accordingly, time delay is longer, therefore likely causes the damage of SIM card or SIM card interface module when fast insert-pull SIM card.
[summary of the invention]
An object of the present invention is a kind of method providing quick response SIM card hot plug, and it can respond fast to the hot plug of SIM card, avoids the damage of SIM card or SIM card interface module.
Two of object of the present invention is to provide a kind of mobile communication terminal, and it can respond fast to the hot plug of SIM card, avoids the damage of SIM card or SIM card interface module.
For achieving the above object, according to an aspect of the present invention, the invention provides a kind of communication terminal of quick response SIM card hot plug, it SIM card interface module comprising mechanical switch corresponding to baseband module, one or more SIM card, each SIM card and be connected between SIM card and baseband module, each SIM card is by communication interface and the communication of SIM card interface module, and SIM card interface module is that each SIM card is powered.When a SIM card is pulled out, mechanical switch corresponding to this SIM card of extracting can disconnect, extract interrupt signal to SIM card interface module for consequent one, SIM card interface module receive from mechanical switch extract interrupt signal after, first turn off communication interface corresponding to the SIM card of extracting, the power supply of the SIM card that rear cut-out is extracted, SIM card interface module sends interrupt signal to baseband module subsequently, baseband module then inquires about the state of SIM card to SIM card interface module after receiving the interrupt signal from SIM card interface module, close after learning extracted SIM card with extract the communication of SIM card.
Further, after a SIM card is inserted, the mechanical switch that the SIM card of this insertion is corresponding can be closed, producing one thus inserts in interrupt signal feeding SIM card interface module, SIM card interface module notifies that baseband module has SIM card to insert after receiving the insertion interrupt signal from mechanical switch, is activated inserted SIM card by baseband module.
Further, be provided with SIM card state detection unit in described SIM card interface module and automatically shut down processing unit, this SIM card state detection unit determines the plug state of SIM card by the interrupt signal of mechanical switch corresponding to SIM card, when defining SIM card and extracting, start automatic closing process unit to go to turn off communication interface corresponding to the SIM card of extracting, cut off the power supply of the SIM card of extracting subsequently.
Further, described SIM card state detection unit and the described processing unit that automatically shuts down are by hardware implementing.
According to another aspect of the present invention, the invention provides a kind of method of quick response SIM card hot plug, it is applied to a communication terminal, the SIM card interface module that this communication terminal comprises mechanical switch corresponding to baseband module, one or more SIM card, each SIM card and is connected between SIM card and baseband module, each SIM card is by communication interface and the communication of SIM card interface module, SIM card interface module is that each SIM card is powered, and described method comprises: a SIM card is pulled out; Mechanical switch corresponding to this SIM card of extracting can disconnect, and produces one thus and extracts interrupt signal to SIM card interface module; SIM card interface module receive from mechanical switch extract interrupt signal after, first turn off communication interface corresponding to the SIM card of extracting, the power supply of the SIM card that rear cut-out is extracted, subsequently, SIM card interface module sends interrupt signal to baseband module; Baseband module receives the state to SIM card interface module inquiry SIM card after the interrupt signal from SIM card interface module, close after learning extracted SIM card baseband module 110 with extract the communication of SIM card.
Further, described method also comprises: insert a SIM card; The mechanical switch that the SIM card of this insertion is corresponding can be closed, and produces thus and inserts in interrupt signal feeding SIM card interface module; SIM card interface module notifies that baseband module has SIM card to insert after receiving the insertion interrupt signal from SIM card interface module 120; Baseband module activates inserted SIM card.
Compared with prior art; in the present invention; in advance extracting of SIM card is responded fast by SIM card interface module; inform baseband module more subsequently; and carry out associative operation by baseband module; on the basis without the need to increasing extra cost, achieving SIM card hot plug response rapidly and efficiently like this, effectively protecting the safety of SIM card and interface circuit self.
[accompanying drawing explanation]
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.Wherein:
Fig. 1 is the mobile communication terminal structured flowchart in one embodiment of the quick response SIM card hot plug in the present invention;
Fig. 2 is the method flow chart in one embodiment of the quick response SIM card hot plug in the present invention.
[embodiment]
Detailed description of the present invention carrys out the running of direct or indirect simulation technical solution of the present invention mainly through program, step, logical block, process or other symbolistic descriptions.For thorough understanding the present invention, in ensuing description, set forth a lot of specific detail.And when not having these specific detail, the present invention then may still can realize.Affiliated those of skill in the art use the work that these describe and statement effectively introduces them to the others skilled in the art in affiliated field herein essential.In other words, be object of the present invention of avoiding confusion, due to the method known and program easy understand, therefore they are not described in detail.
Alleged herein " embodiment " or " embodiment " refers to special characteristic, structure or the characteristic that can be contained at least one implementation of the present invention.Different local in this manual " in one embodiment " occurred not all refers to same embodiment, neither be independent or optionally mutually exclusive with other embodiments embodiment.
Fig. 1 is mobile communication terminal 100 structured flowchart in one embodiment of the quick response SIM card hot plug in the present invention.As shown in Figure 1, the described mobile communication terminal 100 SIM card interface module 120 that comprises mechanical switch corresponding to baseband module 110, SIM card, SIM card and be connected between SIM card and baseband module.Illustrate two SIM card in this figure, be respectively SIM card A (being labeled as 130A) and SIM card B (being labeled as 130B), the mechanical switch that SIM card A is corresponding is labeled as 140A, the mechanical switch that SIM card B is corresponding is labeled as 140B, the 3rd SIM can also be had in other example, also can only have a SIM card.In one embodiment, baseband module 110 and SIM card interface module 120 can be all independently chips.
SIM card interface module 120 carries out the communication of clock CLK, reset RST about this SIM card A, inputoutput data IO respectively by communication interface SCLK1, SRST1, SIO1 and SIM card A, is powered to SIM card A by power supply interface VSIM1.SIM card interface module 120 carries out the communication of clock CLK, reset RST about this SIM card B, inputoutput data IO respectively by communication interface SCLK2, SRST2, SIO2 and SIM card B, is powered to SIM card B by power supply interface VSIM2.The electric power management circuit for providing power supply for power supply interface VSIM1 and VSIM2 is provided with, such as low difference voltage regulator (Low Dropout Regulator) in SIM card interface module 120.SIM card interface module 120 carries out the communication of clock SIMCLK, reset SIMRST about each SIM card, input-output data SIMIO by communication interface SIMCLK, SIMRST, SIMIO and baseband module 110.SIM card interface module 120 is carried out relating address ADDR by communication interface ADDR/IRQ, SCL, SDA and baseband module 110, is interrupted the communication of IRQ and data interaction, and wherein SCL is I 2the serial time clock line of C bus, SDA is I 2the serial data line of C bus.Each interface shown in Fig. 1 is all exemplary, in other embodiments, also can be other any interface, as long as can realize corresponding communication function.
As shown in Figure 1, when a SIM card is pulled out, mechanical switch corresponding to this SIM card of extracting can disconnect, and produces an interrupt signal (also can be referred to as to extract interrupt signal) thus, and the interruption that this interrupt signal is sent to SIM card interface module 120 detects on mouth SIMx_DET.SIM card interface module 120 turns off the SIM card of extracting corresponding communication interface SRST, SCLK and SIO successively after interrupt signal being detected, the power supply of the SIM card that final cutting is extracted.After completing turn off process, SIM card interface module 120 sends interrupt signal by communication interface ADDR/IRQ to baseband module 110.Baseband module 110 then passes through I after receiving interrupt signal 2c bus (SDA and SCL) inquires about the state of SIM card to SIM card interface module 120, close after learning extracted SIM card baseband module 110 with extract the communication of SIM card, such baseband module 110 also just no longer carries out communication with the SIM card of extracting, and completes complete SIM card hot drawing thus and goes out process.
After a SIM card is inserted, the mechanical switch that the SIM card of this insertion is corresponding can be closed, and produces an interrupt signal (also can be referred to as to insert interrupt signal) thus, and this interrupt signal is sent in SIM card interface module 120 by by interrupting detecting mouth.SIM card interface module 120 notifies that after receiving this interrupt signal baseband module 110 has SIM card to insert, and is activated inserted SIM card by baseband module 110, completes complete SIM card insertion process thus.
Like this, transfer to SIM card interface module 120 from baseband module 110 in the process of SIM card hot plug, and achieved automatic fast processing by the internal hardware of SIM card interface module 120, avoided the potential damage risk of SIM card and SIM card interface module.
In one embodiment, be provided with SIM card state detection unit 121 in described SIM card interface module 120 and automatically shut down processing unit 122, this SIM card state detection unit 121 detects the plug state of SIM card, it can determine the plug state of SIM card by the interrupt signal of mechanical switch corresponding to SIM card, when defining SIM card and extracting, start automatic closing process unit 122 to go to turn off extracted SIM card corresponding communication interface SRST, SCLK and SIO successively, the power supply of the SIM card that final cutting is extracted.Described SIM card state detection unit 121 and the described processing unit 122 that automatically shuts down by hardware implementing, thus can go out SIM card hot drawing and respond process fast.
Fig. 2 shows method 200 flow chart in one embodiment of the quick response SIM card hot plug in the present invention.The method 200 can be applied in the mobile communication terminal shown in Fig. 1, and the method 200 comprises:
Step 210, extracts a SIM card.
Step 220, mechanical switch corresponding to the SIM card of extracting produces an interrupt signal (also can be referred to as to extract interrupt signal) to SIM card interface module 120.
Step 230, SIM card interface module 120 determines extracted SIM card according to the interrupt signal from mechanical switch, closes communication interface corresponding to the SIM card of extracting subsequently, cuts off the power supply of the SIM card of extracting, and send interrupt signal to baseband module 110.
Step 240, inquires about the state of SIM card to SIM card interface module 120 after baseband module 110 receives the interrupt signal from SIM card interface module 120, close after learning extracted SIM baseband module 110 with extract the communication of SIM card.
Like this, the hot withdrawal process of whole SIM is just completed.
For example, extract SIM card A, mechanical switch 140A produces an interrupt signal, and by interrupting detecting mouth SIM1DET, this interrupt signal is sent to SIM card interface module 120.SIM card interface module 120, after receiving the interrupt signal from mechanical switch 140A, closes the communication interface that the SIM card A that extracts is corresponding, cuts off the power supply of the SIM card A extracted, and sends interrupt signal to baseband module 110.Inquire about the state of SIM card after baseband module 110 receives the interrupt signal from SIM card interface module 120 to SIM card interface module 120, close after learning extracted SIM card A baseband module 110 with extract the communication of SIM card A.
The method 200 of described quick response SIM card hot plug also comprises: insert a SIM card; The mechanical switch that the SIM card of this insertion is corresponding can be closed, and produces interrupt signal (also can be referred to as to insert interrupt signal) thus and sends in SIM card interface module 120; SIM card interface module 120 notifies that after receiving the interrupt signal from SIM card interface module 120 baseband module 110 has SIM card to insert; Baseband module 110 activates inserted SIM card, completes complete SIM card insertion process thus.
Above-mentioned explanation fully discloses the specific embodiment of the present invention.It is pointed out that the scope be familiar with person skilled in art and any change that the specific embodiment of the present invention is done all do not departed to claims of the present invention.Correspondingly, the scope of claim of the present invention is also not limited only to previous embodiment.

Claims (4)

1. one kind responds the communication terminal of SIM card hot plug fast, it SIM card interface module comprising mechanical switch corresponding to baseband module, one or more SIM card, each SIM card and be connected between SIM card and baseband module, each SIM card is by communication interface and the communication of SIM card interface module, SIM card interface module is that each SIM card is powered, it is characterized in that
When a SIM card is pulled out, mechanical switch corresponding to this SIM card of extracting can disconnect, produce one thus and extract interrupt signal to SIM card interface module, SIM card interface module receive from mechanical switch extract interrupt signal after, first turn off communication interface corresponding to the SIM card of extracting, the power supply of the SIM card that rear cut-out is extracted, SIM card interface module sends interrupt signal to baseband module subsequently, baseband module then inquires about the state of SIM card to SIM card interface module after receiving the interrupt signal from SIM card interface module, close after learning extracted SIM card with extract the communication of SIM card,
After a SIM card is inserted, the mechanical switch that the SIM card of this insertion is corresponding can be closed, produce one thus and insert interrupt signal in SIM card interface module, SIM card interface module notifies that baseband module has SIM card to insert after receiving the insertion interrupt signal from mechanical switch, is activated inserted SIM card by baseband module.
2. communication terminal according to claim 1, it is characterized in that: be provided with SIM card state detection unit in described SIM card interface module and automatically shut down processing unit, this SIM card state detection unit determines the plug state of SIM card by the interrupt signal of mechanical switch corresponding to SIM card, when defining SIM card and extracting, start automatic closing process unit to go to turn off communication interface corresponding to the SIM card of extracting, cut off the power supply of the SIM card of extracting subsequently.
3. communication terminal according to claim 2, is characterized in that: described SIM card state detection unit and the described processing unit that automatically shuts down are by hardware implementing.
4. one kind responds the method for SIM card hot plug fast, it is applied to a communication terminal, the SIM card interface module that this communication terminal comprises mechanical switch corresponding to baseband module, one or more SIM card, each SIM card and is connected between SIM card and baseband module, each SIM card is by communication interface and the communication of SIM card interface module, SIM card interface module is that each SIM card is powered, and described method comprises:
One SIM card is pulled out;
Mechanical switch corresponding to this SIM card of extracting can disconnect, and produces one thus and extracts interrupt signal to SIM card interface module;
SIM card interface module receive from mechanical switch extract interrupt signal after, first turn off communication interface corresponding to the SIM card of extracting, the power supply of the SIM card that rear cut-out is extracted, SIM card interface module sends interrupt signal to baseband module subsequently;
Baseband module receives the state to SIM card interface module inquiry SIM card after the interrupt signal from SIM card interface module, close after learning extracted SIM card with extract the communication of SIM card,
Described method also comprises: insert a SIM card; The mechanical switch that the SIM card of this insertion is corresponding can be closed, and produces thus and inserts interrupt signal in SIM card interface module; SIM card interface module notifies that baseband module has SIM card to insert after receiving the insertion interrupt signal from SIM card interface module; Baseband module activates inserted SIM card.
CN201210190958.2A 2012-06-11 2012-06-11 Method and mobile communication terminal for rapidly responding hot plug of SIM card Active CN102710827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210190958.2A CN102710827B (en) 2012-06-11 2012-06-11 Method and mobile communication terminal for rapidly responding hot plug of SIM card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210190958.2A CN102710827B (en) 2012-06-11 2012-06-11 Method and mobile communication terminal for rapidly responding hot plug of SIM card

Publications (2)

Publication Number Publication Date
CN102710827A CN102710827A (en) 2012-10-03
CN102710827B true CN102710827B (en) 2015-04-15

Family

ID=46903370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210190958.2A Active CN102710827B (en) 2012-06-11 2012-06-11 Method and mobile communication terminal for rapidly responding hot plug of SIM card

Country Status (1)

Country Link
CN (1) CN102710827B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945189B (en) * 2012-11-07 2015-11-25 惠州Tcl移动通信有限公司 Mobile terminal and storage card hot-plug method thereof
CN102981917B (en) * 2012-11-14 2017-05-10 惠州Tcl移动通信有限公司 Movable terminal and memory card hot plugging method thereof
CN103094793B (en) * 2013-01-07 2015-11-25 华为终端有限公司 The smart card connecting circuit of electronic equipment and electronic equipment
CN103064816B (en) * 2013-01-07 2016-04-06 华为终端有限公司 SIM card hot plug is protected and SIM card shutdown in place is swiped the card method, terminal
CN104104774A (en) * 2013-04-02 2014-10-15 中兴通讯股份有限公司 SIM card hot plugging method, device and system
CN103809879B (en) * 2014-02-20 2017-01-18 联想(北京)有限公司 Information processing method and electronic equipment
CN105451309B (en) * 2014-06-30 2019-12-27 展讯通信(上海)有限公司 SIM card control system and method
CN104270740B (en) * 2014-09-16 2018-01-19 广东欧珀移动通信有限公司 A kind of detection method of neck T cards and SIM card altogether
CN104243650B (en) * 2014-09-16 2018-05-29 广东欧珀移动通信有限公司 Subscriber identification module card hot plug detection method and device applied to mobile terminal
CN104702784B (en) * 2015-03-05 2017-07-11 惠州Tcl移动通信有限公司 A kind of detection method and system of the hot plug of mobile terminal plurality of SIM cards
CN105071823B (en) * 2015-07-16 2018-11-02 惠州Tcl移动通信有限公司 Mobile terminal containing electric power on off mechanism
KR102601969B1 (en) * 2016-08-12 2023-11-14 삼성전자주식회사 Electronic apparatus and operating method thereof
TWI716085B (en) * 2019-08-22 2021-01-11 瑞祺電通股份有限公司 Wireless backup communication expansion module

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6178520B1 (en) * 1997-07-31 2001-01-23 Lsi Logic Corporation Software recognition of drive removal or insertion in a storage system
CN1272684C (en) * 2002-04-10 2006-08-30 希旺科技股份有限公司 Multi-function electronic peripheral card capable of detecting pluggable card
US7376775B2 (en) * 2003-12-29 2008-05-20 Intel Corporation Apparatus, system, and method to enable transparent memory hot plug/remove
CN100370427C (en) * 2005-08-24 2008-02-20 杭州华三通信技术有限公司 Harddisk hot-swap protection system and method
CN100589067C (en) * 2005-09-05 2010-02-10 中兴通讯股份有限公司 Interface device for SIM card and USIM card
CN101783822A (en) * 2009-12-24 2010-07-21 华为终端有限公司 Method for inserting and drawing user identification card and wireless communication module
CN101902513A (en) * 2010-06-01 2010-12-01 深圳市中兴移动通信有限公司 Mobile terminal and method thereof for realizing hot plug of UIM card
CN201984507U (en) * 2010-11-16 2011-09-21 北京中电华大电子设计有限责任公司 Anti-hot-plug intelligent card contacts

Also Published As

Publication number Publication date
CN102710827A (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN102710827B (en) Method and mobile communication terminal for rapidly responding hot plug of SIM card
CN103092802B (en) Method of communication of card reader and upper computer
CN103326149B (en) Sim card connector and mobile terminal
CN106537286B (en) OTG peripheral equipment, power supply method, terminal and system
CN104133533A (en) Expansion board card system for supporting full-length PCIE
CN104777891A (en) OTG (on-the-go) connecting control method applied to intelligent terminal and connecting control device
CN104657313A (en) Detecting system and method for universal serial bus device
CN205844970U (en) A kind of display terminal with USB Type C interface and display system
CN104125342A (en) Communication use method with separated mobile communication terminal and user identity smart card
CN101977179A (en) Dual-network dual-system computer communication method
CN104765705A (en) Method and device for reading data stored by turned-off mobile terminal and mobile terminal
CN102572988A (en) Subscriber identity module switching method, device and communication equipment
CN104270740A (en) Slot-sharing T card and SIM card detection method
US20180097315A1 (en) Power adapter, terminal device, charging system, and charging method
CN202058194U (en) Mobile terminal subscriber identify module (SIM) card packaging structure thereof
CN107306458A (en) The work SIM card collocation method and communication terminal of a kind of communication terminal
US10282335B2 (en) Multifunctional portable data card and data transmission method
CN206294300U (en) A kind of set CARPLAY communications and the device of USB transmission
CN104317756A (en) Multifunctional portable data card and data transmitting method
CN105472599A (en) Method for accessing SIM cards and double-card mobile terminal
CN105071489A (en) Charging method and apparatus of terminal having data exchange function
CN103746845A (en) Node hot plugging method and device and main engine
CN101883176A (en) Expansion card processing method, device and mobile terminal
CN103218336B (en) SD/MMC card and IIC from the opertaing device of machine, its control method and control system
CN201984507U (en) Anti-hot-plug intelligent card contacts

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